Struct stm32_metapac::otg::regs::Gintmsk
#[repr(transparent)]pub struct Gintmsk(pub u32);
Expand description
Interrupt mask register
Tuple Fields§
§0: u32
Implementations§
§impl Gintmsk
impl Gintmsk
pub fn set_otgint(&mut self, val: bool)
pub fn set_otgint(&mut self, val: bool)
OTG interrupt mask
pub fn set_rxflvlm(&mut self, val: bool)
pub fn set_rxflvlm(&mut self, val: bool)
Receive FIFO non-empty mask
pub fn set_nptxfem(&mut self, val: bool)
pub fn set_nptxfem(&mut self, val: bool)
Non-periodic TxFIFO empty mask
pub fn set_ginakeffm(&mut self, val: bool)
pub fn set_ginakeffm(&mut self, val: bool)
Global non-periodic IN NAK effective mask
pub fn set_gonakeffm(&mut self, val: bool)
pub fn set_gonakeffm(&mut self, val: bool)
Global OUT NAK effective mask
pub fn set_esuspm(&mut self, val: bool)
pub fn set_esuspm(&mut self, val: bool)
Early suspend mask
pub fn set_usbsuspm(&mut self, val: bool)
pub fn set_usbsuspm(&mut self, val: bool)
USB suspend mask
pub fn set_usbrst(&mut self, val: bool)
pub fn set_usbrst(&mut self, val: bool)
USB reset mask
pub fn set_enumdnem(&mut self, val: bool)
pub fn set_enumdnem(&mut self, val: bool)
Enumeration done mask
pub fn set_isoodrpm(&mut self, val: bool)
pub fn set_isoodrpm(&mut self, val: bool)
Isochronous OUT packet dropped interrupt mask
pub fn set_epmism(&mut self, val: bool)
pub fn set_epmism(&mut self, val: bool)
Endpoint mismatch interrupt mask
pub fn set_iepint(&mut self, val: bool)
pub fn set_iepint(&mut self, val: bool)
IN endpoints interrupt mask
pub fn set_oepint(&mut self, val: bool)
pub fn set_oepint(&mut self, val: bool)
OUT endpoints interrupt mask
pub fn set_iisoixfrm(&mut self, val: bool)
pub fn set_iisoixfrm(&mut self, val: bool)
Incomplete isochronous IN transfer mask
pub const fn ipxfrm_iisooxfrm(&self) -> bool
pub const fn ipxfrm_iisooxfrm(&self) -> bool
Incomplete periodic transfer mask (host mode) / Incomplete isochronous OUT transfer mask (device mode)
pub fn set_ipxfrm_iisooxfrm(&mut self, val: bool)
pub fn set_ipxfrm_iisooxfrm(&mut self, val: bool)
Incomplete periodic transfer mask (host mode) / Incomplete isochronous OUT transfer mask (device mode)
pub fn set_fsuspm(&mut self, val: bool)
pub fn set_fsuspm(&mut self, val: bool)
Data fetch suspended mask
pub fn set_ptxfem(&mut self, val: bool)
pub fn set_ptxfem(&mut self, val: bool)
Periodic TxFIFO empty mask
pub fn set_lpmintm(&mut self, val: bool)
pub fn set_lpmintm(&mut self, val: bool)
LPM interrupt mask
pub fn set_cidschgm(&mut self, val: bool)
pub fn set_cidschgm(&mut self, val: bool)
Connector ID status change mask
pub fn set_discint(&mut self, val: bool)
pub fn set_discint(&mut self, val: bool)
Disconnect detected interrupt mask
Trait Implementations§
impl Copy for Gintmsk
impl Eq for Gintmsk
impl StructuralPartialEq for Gintmsk
Auto Trait Implementations§
impl Freeze for Gintmsk
impl RefUnwindSafe for Gintmsk
impl Send for Gintmsk
impl Sync for Gintmsk
impl Unpin for Gintmsk
impl UnwindSafe for Gintmsk
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
)