pub struct W(_);
Expand description
Register ECR
writer
Implementations
sourceimpl W
impl W
sourcepub fn cel(
&mut self
) -> FieldWriterRaw<'_, u32, ECR_SPEC, u8, u8, Unsafe, 8, 16>
pub fn cel(
&mut self
) -> FieldWriterRaw<'_, u32, ECR_SPEC, u8, u8, Unsafe, 8, 16>
Bits 16:23 - AN Error Logging
sourcepub fn rp(&mut self) -> BitWriterRaw<'_, u32, ECR_SPEC, bool, BitM, 15>
pub fn rp(&mut self) -> BitWriterRaw<'_, u32, ECR_SPEC, bool, BitM, 15>
Bit 15 - Receive Error Passive
sourcepub fn rec(&mut self) -> FieldWriterRaw<'_, u32, ECR_SPEC, u8, u8, Unsafe, 7, 8>
pub fn rec(&mut self) -> FieldWriterRaw<'_, u32, ECR_SPEC, u8, u8, Unsafe, 7, 8>
Bits 8:14 - Receive Error Counter
Methods from Deref<Target = W<ECR_SPEC>>
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more