pub struct W(_);
Expand description
Register IER
writer
Implementations
sourceimpl W
impl W
sourcepub fn rxbfie(&mut self) -> BitWriterRaw<'_, u32, IER_SPEC, bool, BitM, 0>
pub fn rxbfie(&mut self) -> BitWriterRaw<'_, u32, IER_SPEC, bool, BitM, 0>
Bit 0 - Receive buffer full interrupt enable
sourcepub fn txbeie(&mut self) -> BitWriterRaw<'_, u32, IER_SPEC, bool, BitM, 1>
pub fn txbeie(&mut self) -> BitWriterRaw<'_, u32, IER_SPEC, bool, BitM, 1>
Bit 1 - Transmit buffer empty interrupt enable
sourcepub fn rxberie(&mut self) -> BitWriterRaw<'_, u32, IER_SPEC, bool, BitM, 2>
pub fn rxberie(&mut self) -> BitWriterRaw<'_, u32, IER_SPEC, bool, BitM, 2>
Bit 2 - Receive CRC error interrupt enable
sourcepub fn rxovrie(&mut self) -> BitWriterRaw<'_, u32, IER_SPEC, bool, BitM, 3>
pub fn rxovrie(&mut self) -> BitWriterRaw<'_, u32, IER_SPEC, bool, BitM, 3>
Bit 3 - Receive overrun error interrupt enable
sourcepub fn txunrie(&mut self) -> BitWriterRaw<'_, u32, IER_SPEC, bool, BitM, 4>
pub fn txunrie(&mut self) -> BitWriterRaw<'_, u32, IER_SPEC, bool, BitM, 4>
Bit 4 - Transmit underrun error interrupt enable
sourcepub fn rie(&mut self) -> BitWriterRaw<'_, u32, IER_SPEC, bool, BitM, 5>
pub fn rie(&mut self) -> BitWriterRaw<'_, u32, IER_SPEC, bool, BitM, 5>
Bit 5 - Receive interrupt enable
sourcepub fn tie(&mut self) -> BitWriterRaw<'_, u32, IER_SPEC, bool, BitM, 6>
pub fn tie(&mut self) -> BitWriterRaw<'_, u32, IER_SPEC, bool, BitM, 6>
Bit 6 - Transmit interrupt enable
sourcepub fn tcie(&mut self) -> BitWriterRaw<'_, u32, IER_SPEC, bool, BitM, 7>
pub fn tcie(&mut self) -> BitWriterRaw<'_, u32, IER_SPEC, bool, BitM, 7>
Bit 7 - Transmit complete interrupt enable
sourcepub fn srie(&mut self) -> BitWriterRaw<'_, u32, IER_SPEC, bool, BitM, 8>
pub fn srie(&mut self) -> BitWriterRaw<'_, u32, IER_SPEC, bool, BitM, 8>
Bit 8 - Slave resume interrupt enable
Methods from Deref<Target = W<IER_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