pub struct W(_);
Expand description
Register SR
writer
Implementations
sourceimpl W
impl W
sourcepub fn irs(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, bool, BitM, 0>
pub fn irs(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, bool, BitM, 0>
Bit 0 - Interrupt rising edge status The flag is set by hardware and reset by software. Note: If this bit is written by software to 1 it will be set.
sourcepub fn ils(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, bool, BitM, 1>
pub fn ils(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, bool, BitM, 1>
Bit 1 - Interrupt high-level status The flag is set by hardware and reset by software.
sourcepub fn ifs(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, bool, BitM, 2>
pub fn ifs(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, bool, BitM, 2>
Bit 2 - Interrupt falling edge status The flag is set by hardware and reset by software. Note: If this bit is written by software to 1 it will be set.
sourcepub fn iren(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, bool, BitM, 3>
pub fn iren(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, bool, BitM, 3>
Bit 3 - Interrupt rising edge detection enable bit
sourcepub fn ilen(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, bool, BitM, 4>
pub fn ilen(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, bool, BitM, 4>
Bit 4 - Interrupt high-level detection enable bit
Methods from Deref<Target = W<SR_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