Struct stm32_metapac::otg::regs::Gotgint
#[repr(transparent)]pub struct Gotgint(pub u32);
Expand description
Interrupt register
Tuple Fields§
§0: u32
Implementations§
§impl Gotgint
impl Gotgint
pub fn set_srsschg(&mut self, val: bool)
pub fn set_srsschg(&mut self, val: bool)
Session request success status change
pub fn set_hnsschg(&mut self, val: bool)
pub fn set_hnsschg(&mut self, val: bool)
Host negotiation success status change
pub fn set_hngdet(&mut self, val: bool)
pub fn set_hngdet(&mut self, val: bool)
Host negotiation detected
pub fn set_adtochg(&mut self, val: bool)
pub fn set_adtochg(&mut self, val: bool)
A-device timeout change
pub fn set_dbcdne(&mut self, val: bool)
pub fn set_dbcdne(&mut self, val: bool)
Debounce done
pub fn set_idchng(&mut self, val: bool)
pub fn set_idchng(&mut self, val: bool)
ID input pin changed
Trait Implementations§
impl Copy for Gotgint
impl Eq for Gotgint
impl StructuralPartialEq for Gotgint
Auto Trait Implementations§
impl Freeze for Gotgint
impl RefUnwindSafe for Gotgint
impl Send for Gotgint
impl Sync for Gotgint
impl Unpin for Gotgint
impl UnwindSafe for Gotgint
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)