#[repr(transparent)]pub struct Trigger(pub u32);
Expand description
no description available.
Tuple Fields§
§0: u32
Implementations§
Source§impl Trigger
impl Trigger
Sourcepub const fn interrupt(&self) -> u32
pub const fn interrupt(&self) -> u32
The interrupt trigger type of interrupt sources. Every interrupt source occupies 1 bit. 0: Level-triggered interrupt 1: Edge-triggered interrupt.
Sourcepub fn set_interrupt(&mut self, val: u32)
pub fn set_interrupt(&mut self, val: u32)
The interrupt trigger type of interrupt sources. Every interrupt source occupies 1 bit. 0: Level-triggered interrupt 1: Edge-triggered interrupt.
Trait Implementations§
impl Copy for Trigger
impl Eq for Trigger
impl StructuralPartialEq for Trigger
Auto Trait Implementations§
impl Freeze for Trigger
impl RefUnwindSafe for Trigger
impl Send for Trigger
impl Sync for Trigger
impl Unpin for Trigger
impl UnwindSafe for Trigger
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