pub struct W(_);
Expand description
Register CR
writer
Implementations
sourceimpl W
impl W
sourcepub fn fmode(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Unsafe, 2, 28>
pub fn fmode(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Unsafe, 2, 28>
Bits 28:29 - Functional mode
sourcepub fn pmm(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 23>
pub fn pmm(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 23>
Bit 23 - Polling match mode
sourcepub fn apms(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 22>
pub fn apms(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 22>
Bit 22 - Automatic poll mode stop
sourcepub fn toie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 20>
pub fn toie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 20>
Bit 20 - TimeOut interrupt enable
sourcepub fn smie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 19>
pub fn smie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 19>
Bit 19 - Status match interrupt enable
sourcepub fn ftie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 18>
pub fn ftie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 18>
Bit 18 - FIFO threshold interrupt enable
sourcepub fn tcie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 17>
pub fn tcie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 17>
Bit 17 - Transfer complete interrupt enable
sourcepub fn teie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 16>
pub fn teie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 16>
Bit 16 - Transfer error interrupt enable
sourcepub fn fthres(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Unsafe, 5, 8>
pub fn fthres(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Unsafe, 5, 8>
Bits 8:12 - IFO threshold level
sourcepub fn fsel(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 7>
pub fn fsel(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 7>
Bit 7 - FLASH memory selection
Methods from Deref<Target = W<CR_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