pub struct W(/* private fields */);
Expand description
Register IMR
writer
Implementations§
source§impl W
impl W
sourcepub fn rxneie(&mut self) -> BitWriterRaw<'_, u32, IMR_SPEC, bool, BitM, 0>
pub fn rxneie(&mut self) -> BitWriterRaw<'_, u32, IMR_SPEC, bool, BitM, 0>
Bit 0 - RXNE interrupt enable
sourcepub fn csrneie(&mut self) -> BitWriterRaw<'_, u32, IMR_SPEC, bool, BitM, 1>
pub fn csrneie(&mut self) -> BitWriterRaw<'_, u32, IMR_SPEC, bool, BitM, 1>
Bit 1 - Control Buffer Ready Interrupt Enable
sourcepub fn perrie(&mut self) -> BitWriterRaw<'_, u32, IMR_SPEC, bool, BitM, 2>
pub fn perrie(&mut self) -> BitWriterRaw<'_, u32, IMR_SPEC, bool, BitM, 2>
Bit 2 - Parity error interrupt enable
sourcepub fn ovrie(&mut self) -> BitWriterRaw<'_, u32, IMR_SPEC, bool, BitM, 3>
pub fn ovrie(&mut self) -> BitWriterRaw<'_, u32, IMR_SPEC, bool, BitM, 3>
Bit 3 - Overrun error Interrupt Enable
sourcepub fn sblkie(&mut self) -> BitWriterRaw<'_, u32, IMR_SPEC, bool, BitM, 4>
pub fn sblkie(&mut self) -> BitWriterRaw<'_, u32, IMR_SPEC, bool, BitM, 4>
Bit 4 - Synchronization Block Detected Interrupt Enable
sourcepub fn syncdie(&mut self) -> BitWriterRaw<'_, u32, IMR_SPEC, bool, BitM, 5>
pub fn syncdie(&mut self) -> BitWriterRaw<'_, u32, IMR_SPEC, bool, BitM, 5>
Bit 5 - Synchronization Done
Methods from Deref<Target = W<IMR_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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more