#[repr(transparent)]pub struct Otgicr(pub u8);Expand description
OTG Interrupt Control
Tuple Fields§
§0: u8Implementations§
Source§impl Otgicr
impl Otgicr
Sourcepub const fn linestateen(&self) -> Linestateen
pub const fn linestateen(&self) -> Linestateen
Line State Change Interrupt Enable
Sourcepub const fn set_linestateen(&mut self, val: Linestateen)
pub const fn set_linestateen(&mut self, val: Linestateen)
Line State Change Interrupt Enable
Sourcepub const fn set_onemsecen(&mut self, val: Onemsecen)
pub const fn set_onemsecen(&mut self, val: Onemsecen)
1-Millisecond Interrupt Enable
Trait Implementations§
impl Copy for Otgicr
impl Eq for Otgicr
impl StructuralPartialEq for Otgicr
Auto Trait Implementations§
impl Freeze for Otgicr
impl RefUnwindSafe for Otgicr
impl Send for Otgicr
impl Sync for Otgicr
impl Unpin for Otgicr
impl UnwindSafe for Otgicr
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