Struct stm32_metapac::otg::regs::Gintsts
#[repr(transparent)]pub struct Gintsts(pub u32);
Expand description
Core interrupt register
Tuple Fields§
§0: u32
Implementations§
§impl Gintsts
impl Gintsts
pub fn set_otgint(&mut self, val: bool)
pub fn set_otgint(&mut self, val: bool)
OTG interrupt
pub fn set_rxflvl(&mut self, val: bool)
pub fn set_rxflvl(&mut self, val: bool)
RxFIFO non-empty
pub fn set_nptxfe(&mut self, val: bool)
pub fn set_nptxfe(&mut self, val: bool)
Non-periodic TxFIFO empty
pub fn set_ginakeff(&mut self, val: bool)
pub fn set_ginakeff(&mut self, val: bool)
Global IN non-periodic NAK effective
pub const fn goutnakeff(&self) -> bool
pub const fn goutnakeff(&self) -> bool
Global OUT NAK effective
pub fn set_goutnakeff(&mut self, val: bool)
pub fn set_goutnakeff(&mut self, val: bool)
Global OUT NAK effective
pub fn set_usbsusp(&mut self, val: bool)
pub fn set_usbsusp(&mut self, val: bool)
USB suspend
pub fn set_usbrst(&mut self, val: bool)
pub fn set_usbrst(&mut self, val: bool)
USB reset
pub fn set_enumdne(&mut self, val: bool)
pub fn set_enumdne(&mut self, val: bool)
Enumeration done
pub fn set_isoodrp(&mut self, val: bool)
pub fn set_isoodrp(&mut self, val: bool)
Isochronous OUT packet dropped interrupt
pub fn set_iepint(&mut self, val: bool)
pub fn set_iepint(&mut self, val: bool)
IN endpoint interrupt
pub fn set_oepint(&mut self, val: bool)
pub fn set_oepint(&mut self, val: bool)
OUT endpoint interrupt
pub fn set_iisoixfr(&mut self, val: bool)
pub fn set_iisoixfr(&mut self, val: bool)
Incomplete isochronous IN transfer
pub const fn ipxfr_incompisoout(&self) -> bool
pub const fn ipxfr_incompisoout(&self) -> bool
Incomplete periodic transfer (host mode) / Incomplete isochronous OUT transfer (device mode)
pub fn set_ipxfr_incompisoout(&mut self, val: bool)
pub fn set_ipxfr_incompisoout(&mut self, val: bool)
Incomplete periodic transfer (host mode) / Incomplete isochronous OUT transfer (device mode)
pub fn set_datafsusp(&mut self, val: bool)
pub fn set_datafsusp(&mut self, val: bool)
Data fetch suspended
pub fn set_resetdet(&mut self, val: bool)
pub fn set_resetdet(&mut self, val: bool)
Reset detected
pub fn set_hprtint(&mut self, val: bool)
pub fn set_hprtint(&mut self, val: bool)
Host port interrupt
pub fn set_cidschg(&mut self, val: bool)
pub fn set_cidschg(&mut self, val: bool)
Connector ID status change
pub fn set_discint(&mut self, val: bool)
pub fn set_discint(&mut self, val: bool)
Disconnect detected interrupt
pub fn set_srqint(&mut self, val: bool)
pub fn set_srqint(&mut self, val: bool)
Session request/new session detected interrupt
pub fn set_wkupint(&mut self, val: bool)
pub fn set_wkupint(&mut self, val: bool)
Resume/remote wakeup detected interrupt
Trait Implementations§
impl Copy for Gintsts
impl Eq for Gintsts
impl StructuralPartialEq for Gintsts
Auto Trait Implementations§
impl Freeze for Gintsts
impl RefUnwindSafe for Gintsts
impl Send for Gintsts
impl Sync for Gintsts
impl Unpin for Gintsts
impl UnwindSafe for Gintsts
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
)