#[repr(transparent)]pub struct Ir(pub u32);Expand description
Interrupt Register. The IR can be written to clear interrupts. The IR can be read to identify which of eight possible interrupt sources are pending.
Tuple Fields§
§0: u32Implementations§
Source§impl Ir
impl Ir
Sourcepub const fn set_mr0int(&mut self, val: bool)
pub const fn set_mr0int(&mut self, val: bool)
Interrupt flag for match channel 0.
Sourcepub const fn set_mr1int(&mut self, val: bool)
pub const fn set_mr1int(&mut self, val: bool)
Interrupt flag for match channel 1.
Sourcepub const fn set_mr2int(&mut self, val: bool)
pub const fn set_mr2int(&mut self, val: bool)
Interrupt flag for match channel 2.
Sourcepub const fn set_mr3int(&mut self, val: bool)
pub const fn set_mr3int(&mut self, val: bool)
Interrupt flag for match channel 3.
Sourcepub const fn set_cr0int(&mut self, val: bool)
pub const fn set_cr0int(&mut self, val: bool)
Interrupt flag for capture channel 0 event.
Sourcepub const fn set_cr1int(&mut self, val: bool)
pub const fn set_cr1int(&mut self, val: bool)
Interrupt flag for capture channel 1 event.
Sourcepub const fn set_cr2int(&mut self, val: bool)
pub const fn set_cr2int(&mut self, val: bool)
Interrupt flag for capture channel 2 event.
Sourcepub const fn set_cr3int(&mut self, val: bool)
pub const fn set_cr3int(&mut self, val: bool)
Interrupt flag for capture channel 3 event.
Trait Implementations§
impl Copy for Ir
impl Eq for Ir
impl StructuralPartialEq for Ir
Auto Trait Implementations§
impl Freeze for Ir
impl RefUnwindSafe for Ir
impl Send for Ir
impl Sync for Ir
impl Unpin for Ir
impl UnwindSafe for Ir
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