#[repr(transparent)]pub struct Int(pub u32);
Expand description
Enable or disable interrupt
Tuple Fields§
§0: u32
Implementations§
Source§impl Int
impl Int
Sourcepub const fn triggered16(&self) -> bool
pub const fn triggered16(&self) -> bool
Enable or disable interrupt for event TRIGGERED[16]
Sourcepub fn set_triggered16(&mut self, val: bool)
pub fn set_triggered16(&mut self, val: bool)
Enable or disable interrupt for event TRIGGERED[16]
Sourcepub const fn triggered17(&self) -> bool
pub const fn triggered17(&self) -> bool
Enable or disable interrupt for event TRIGGERED[17]
Sourcepub fn set_triggered17(&mut self, val: bool)
pub fn set_triggered17(&mut self, val: bool)
Enable or disable interrupt for event TRIGGERED[17]
Sourcepub const fn triggered18(&self) -> bool
pub const fn triggered18(&self) -> bool
Enable or disable interrupt for event TRIGGERED[18]
Sourcepub fn set_triggered18(&mut self, val: bool)
pub fn set_triggered18(&mut self, val: bool)
Enable or disable interrupt for event TRIGGERED[18]
Sourcepub const fn triggered19(&self) -> bool
pub const fn triggered19(&self) -> bool
Enable or disable interrupt for event TRIGGERED[19]
Sourcepub fn set_triggered19(&mut self, val: bool)
pub fn set_triggered19(&mut self, val: bool)
Enable or disable interrupt for event TRIGGERED[19]
Sourcepub const fn triggered20(&self) -> bool
pub const fn triggered20(&self) -> bool
Enable or disable interrupt for event TRIGGERED[20]
Sourcepub fn set_triggered20(&mut self, val: bool)
pub fn set_triggered20(&mut self, val: bool)
Enable or disable interrupt for event TRIGGERED[20]
Sourcepub const fn triggered21(&self) -> bool
pub const fn triggered21(&self) -> bool
Enable or disable interrupt for event TRIGGERED[21]
Sourcepub fn set_triggered21(&mut self, val: bool)
pub fn set_triggered21(&mut self, val: bool)
Enable or disable interrupt for event TRIGGERED[21]
Sourcepub const fn triggered22(&self) -> bool
pub const fn triggered22(&self) -> bool
Enable or disable interrupt for event TRIGGERED[22]
Sourcepub fn set_triggered22(&mut self, val: bool)
pub fn set_triggered22(&mut self, val: bool)
Enable or disable interrupt for event TRIGGERED[22]
Trait Implementations§
impl Copy for Int
impl Eq for Int
impl StructuralPartialEq for Int
Auto Trait Implementations§
impl Freeze for Int
impl RefUnwindSafe for Int
impl Send for Int
impl Sync for Int
impl Unpin for Int
impl UnwindSafe for Int
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)