#[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) -> bool
pub const fn linestateen(&self) -> bool
Line State Change Interrupt Enable. Raw bit values: false (0) = DisLinestInt: Disable.; true (1) = EnLinestInt: Enable.
Sourcepub const fn set_linestateen(&mut self, val: bool)
pub const fn set_linestateen(&mut self, val: bool)
Line State Change Interrupt Enable. Raw bit values: false (0) = DisLinestInt: Disable.; true (1) = EnLinestInt: Enable.
Sourcepub const fn onemsecen(&self) -> bool
pub const fn onemsecen(&self) -> bool
1-Millisecond Interrupt Enable. Raw bit values: false (0) = DisTimerInt: Disable.; true (1) = EnTimerInt: Enable.
Sourcepub const fn set_onemsecen(&mut self, val: bool)
pub const fn set_onemsecen(&mut self, val: bool)
1-Millisecond Interrupt Enable. Raw bit values: false (0) = DisTimerInt: Disable.; true (1) = EnTimerInt: 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