#[repr(transparent)]pub struct Sienr(pub u32);Expand description
Pin interrupt level or rising edge interrupt set register
Tuple Fields§
§0: u32Implementations§
Source§impl Sienr
impl Sienr
Sourcepub const fn setenrl(&self) -> u8
pub const fn setenrl(&self) -> u8
Ones written to this address set bits in the IENR, thus enabling interrupts. Bit n sets bit n in the IENR register. 0 = No operation. 1 = Enable rising edge or level interrupt.
Sourcepub const fn set_setenrl(&mut self, val: u8)
pub const fn set_setenrl(&mut self, val: u8)
Ones written to this address set bits in the IENR, thus enabling interrupts. Bit n sets bit n in the IENR register. 0 = No operation. 1 = Enable rising edge or level interrupt.
Trait Implementations§
impl Copy for Sienr
impl Eq for Sienr
impl StructuralPartialEq for Sienr
Auto Trait Implementations§
impl Freeze for Sienr
impl RefUnwindSafe for Sienr
impl Send for Sienr
impl Sync for Sienr
impl Unpin for Sienr
impl UnwindSafe for Sienr
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