#[repr(transparent)]pub struct Ir(pub u32);Expand description
GPT Interrupt Register.
Tuple Fields§
§0: u32Implementations§
Source§impl Ir
impl Ir
Sourcepub const fn set_of1ie(&mut self, val: bool)
pub const fn set_of1ie(&mut self, val: bool)
Output Compare Flag for Channel 1 Interrupt Enable.
Sourcepub const fn set_of2ie(&mut self, val: bool)
pub const fn set_of2ie(&mut self, val: bool)
Output Compare Flag for Channel 2 Interrupt Enable.
Sourcepub const fn set_of3ie(&mut self, val: bool)
pub const fn set_of3ie(&mut self, val: bool)
Output Compare Flag for Channel 3 Interrupt Enable.
Sourcepub const fn set_if1ie(&mut self, val: bool)
pub const fn set_if1ie(&mut self, val: bool)
Input Capture Flag for Channel 1 Interrupt Enable.
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