nrf-pac

Crates

git

Versions

nrf54lm20a-flpr

Flavors

nrf_pac::usbhscore::regs

Struct Gintmsk

Source
#[repr(transparent)]
pub struct Gintmsk(pub u32);
Expand description

Interrupt Mask Register

Tuple Fields§

§0: u32

Implementations§

Source§

impl Gintmsk

Source

pub const fn modemismsk(&self) -> Modemismsk

Mode: Host and Device. Mode Mismatch Interrupt Mask (ModeMisMsk)

Source

pub const fn set_modemismsk(&mut self, val: Modemismsk)

Mode: Host and Device. Mode Mismatch Interrupt Mask (ModeMisMsk)

Source

pub const fn otgintmsk(&self) -> Otgintmsk

Mode: Host and Device. OTG Interrupt Mask (OTGIntMsk)

Source

pub const fn set_otgintmsk(&mut self, val: Otgintmsk)

Mode: Host and Device. OTG Interrupt Mask (OTGIntMsk)

Source

pub const fn sofmsk(&self) -> Sofmsk

Mode: Host and Device. Start of (micro)Frame Mask (SofMsk)

Source

pub const fn set_sofmsk(&mut self, val: Sofmsk)

Mode: Host and Device. Start of (micro)Frame Mask (SofMsk)

Source

pub const fn rxflvlmsk(&self) -> Rxflvlmsk

Mode: Host and Device. Receive FIFO Non-Empty Mask (RxFLvlMsk)

Source

pub const fn set_rxflvlmsk(&mut self, val: Rxflvlmsk)

Mode: Host and Device. Receive FIFO Non-Empty Mask (RxFLvlMsk)

Source

pub const fn nptxfempmsk(&self) -> Nptxfempmsk

Mode: Host and Device. Non-periodic TxFIFO Empty Mask (NPTxFEmpMsk)

Source

pub const fn set_nptxfempmsk(&mut self, val: Nptxfempmsk)

Mode: Host and Device. Non-periodic TxFIFO Empty Mask (NPTxFEmpMsk)

Source

pub const fn ginnakeffmsk(&self) -> Ginnakeffmsk

Mode: Device only,. Global Non-periodic IN NAK Effective Mask (GINNakEffMsk)

Source

pub const fn set_ginnakeffmsk(&mut self, val: Ginnakeffmsk)

Mode: Device only,. Global Non-periodic IN NAK Effective Mask (GINNakEffMsk)

Source

pub const fn goutnakeffmsk(&self) -> Goutnakeffmsk

Mode: Device only. Global OUT NAK Effective Mask (GOUTNakEffMsk)

Source

pub const fn set_goutnakeffmsk(&mut self, val: Goutnakeffmsk)

Mode: Device only. Global OUT NAK Effective Mask (GOUTNakEffMsk)

Source

pub const fn erlysuspmsk(&self) -> Erlysuspmsk

Mode: Device only. Early Suspend Mask (ErlySuspMsk)

Source

pub const fn set_erlysuspmsk(&mut self, val: Erlysuspmsk)

Mode: Device only. Early Suspend Mask (ErlySuspMsk)

Source

pub const fn usbsuspmsk(&self) -> Usbsuspmsk

Mode: Device only. USB Suspend Mask (USBSuspMsk)

Source

pub const fn set_usbsuspmsk(&mut self, val: Usbsuspmsk)

Mode: Device only. USB Suspend Mask (USBSuspMsk)

Source

pub const fn usbrstmsk(&self) -> Usbrstmsk

Mode: Device only. USB Reset Mask (USBRstMsk)

Source

pub const fn set_usbrstmsk(&mut self, val: Usbrstmsk)

Mode: Device only. USB Reset Mask (USBRstMsk)

Source

pub const fn enumdonemsk(&self) -> Enumdonemsk

Mode: Device only. Enumeration Done Mask (EnumDoneMsk)

Source

pub const fn set_enumdonemsk(&mut self, val: Enumdonemsk)

Mode: Device only. Enumeration Done Mask (EnumDoneMsk)

Source

pub const fn isooutdropmsk(&self) -> Isooutdropmsk

Mode: Device only. Isochronous OUT Packet Dropped Interrupt Mask (ISOOutDropMsk)

Source

pub const fn set_isooutdropmsk(&mut self, val: Isooutdropmsk)

Mode: Device only. Isochronous OUT Packet Dropped Interrupt Mask (ISOOutDropMsk)

Source

pub const fn eopfmsk(&self) -> Eopfmsk

Mode: Device only. End of Periodic Frame Interrupt Mask (EOPFMsk)

Source

pub const fn set_eopfmsk(&mut self, val: Eopfmsk)

Mode: Device only. End of Periodic Frame Interrupt Mask (EOPFMsk)

Source

pub const fn rstrdoneintmsk(&self) -> Rstrdoneintmsk

Mode: Host and Device. Restore Done Interrupt Mask (RstrDoneIntMsk)

Source

pub const fn set_rstrdoneintmsk(&mut self, val: Rstrdoneintmsk)

Mode: Host and Device. Restore Done Interrupt Mask (RstrDoneIntMsk)

Source

pub const fn epmismsk(&self) -> Epmismsk

Mode: Device only. Endpoint Mismatch Interrupt Mask (EPMisMsk)

Source

pub const fn set_epmismsk(&mut self, val: Epmismsk)

Mode: Device only. Endpoint Mismatch Interrupt Mask (EPMisMsk)

Source

pub const fn iepintmsk(&self) -> Iepintmsk

Mode: Device only. IN Endpoints Interrupt Mask (IEPIntMsk)

Source

pub const fn set_iepintmsk(&mut self, val: Iepintmsk)

Mode: Device only. IN Endpoints Interrupt Mask (IEPIntMsk)

Source

pub const fn oepintmsk(&self) -> Oepintmsk

Mode: Device only. OUT Endpoints Interrupt Mask (OEPIntMsk)

Source

pub const fn set_oepintmsk(&mut self, val: Oepintmsk)

Mode: Device only. OUT Endpoints Interrupt Mask (OEPIntMsk)

Source

pub const fn incomplpmsk(&self) -> Incomplpmsk

Incomplete Periodic Transfer Mask (incomplPMsk)

Source

pub const fn set_incomplpmsk(&mut self, val: Incomplpmsk)

Incomplete Periodic Transfer Mask (incomplPMsk)

Source

pub const fn fetsuspmsk(&self) -> Fetsuspmsk

Mode: Device only. Data Fetch Suspended Mask (FetSuspMsk)

Source

pub const fn set_fetsuspmsk(&mut self, val: Fetsuspmsk)

Mode: Device only. Data Fetch Suspended Mask (FetSuspMsk)

Source

pub const fn resetdetmsk(&self) -> GintmskResetdetmsk

Mode: Device only. Reset detected Interrupt Mask (ResetDetMsk)

Source

pub const fn set_resetdetmsk(&mut self, val: GintmskResetdetmsk)

Mode: Device only. Reset detected Interrupt Mask (ResetDetMsk)

Source

pub const fn prtintmsk(&self) -> Prtintmsk

Mode: Host only. Host Port Interrupt Mask (PrtIntMsk)

Source

pub const fn set_prtintmsk(&mut self, val: Prtintmsk)

Mode: Host only. Host Port Interrupt Mask (PrtIntMsk)

Source

pub const fn hchintmsk(&self) -> Hchintmsk

Mode: Host only. Host Channels Interrupt Mask (HChIntMsk)

Source

pub const fn set_hchintmsk(&mut self, val: Hchintmsk)

Mode: Host only. Host Channels Interrupt Mask (HChIntMsk)

Source

pub const fn lpmintmsk(&self) -> Lpmintmsk

Mode: Host and Device. LPM Transaction Received Interrupt (LPM_Int)

Source

pub const fn set_lpmintmsk(&mut self, val: Lpmintmsk)

Mode: Host and Device. LPM Transaction Received Interrupt (LPM_Int)

Source

pub const fn conidstschngmsk(&self) -> Conidstschngmsk

Mode: Host and Device. Connector ID Status Change Mask (ConIDStsChngMsk)

Source

pub const fn set_conidstschngmsk(&mut self, val: Conidstschngmsk)

Mode: Host and Device. Connector ID Status Change Mask (ConIDStsChngMsk)

Source

pub const fn disconnintmsk(&self) -> Disconnintmsk

Mode: Host and Device. Disconnect Detected Interrupt Mask (DisconnIntMsk)

Source

pub const fn set_disconnintmsk(&mut self, val: Disconnintmsk)

Mode: Host and Device. Disconnect Detected Interrupt Mask (DisconnIntMsk)

Source

pub const fn sessreqintmsk(&self) -> Sessreqintmsk

Mode: Host and Device. Session Request/New Session Detected Interrupt Mask (SessReqIntMsk)

Source

pub const fn set_sessreqintmsk(&mut self, val: Sessreqintmsk)

Mode: Host and Device. Session Request/New Session Detected Interrupt Mask (SessReqIntMsk)

Source

pub const fn wkupintmsk(&self) -> Wkupintmsk

Mode: Host and Device. Resume/Remote Wakeup Detected Interrupt Mask (WkUpIntMsk)

Source

pub const fn set_wkupintmsk(&mut self, val: Wkupintmsk)

Mode: Host and Device. Resume/Remote Wakeup Detected Interrupt Mask (WkUpIntMsk)

Trait Implementations§

Source§

impl Clone for Gintmsk

Source§

fn clone(&self) -> Gintmsk

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Gintmsk

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Gintmsk

Source§

fn default() -> Gintmsk

Returns the “default value” for a type. Read more
Source§

impl PartialEq for Gintmsk

Source§

fn eq(&self, other: &Gintmsk) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Gintmsk

Source§

impl Eq for Gintmsk

Source§

impl StructuralPartialEq for Gintmsk

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.