pub struct W(_);
Expand description

Register GINTMSK writer

Implementations§

source§

impl W

source

pub fn modemismsk(&mut self) -> MODEMISMSK_W<'_, 1>

Bit 1 - Mode Mismatch Interrupt Mask (host and device)

source

pub fn otgintmsk(&mut self) -> OTGINTMSK_W<'_, 2>

Bit 2 - OTG Interrupt Mask (host and device)

source

pub fn sofmsk(&mut self) -> SOFMSK_W<'_, 3>

Bit 3 - Start of Frame Mask (host and device)

source

pub fn rxflvlmsk(&mut self) -> RXFLVLMSK_W<'_, 4>

Bit 4 - Receive FIFO Non-Empty Mask (host and device)

source

pub fn nptxfempmsk(&mut self) -> NPTXFEMPMSK_W<'_, 5>

Bit 5 - Non-Periodic TxFIFO Empty Mask (host only)

source

pub fn ginnakeffmsk(&mut self) -> GINNAKEFFMSK_W<'_, 6>

Bit 6 - Global Non-periodic IN NAK Effective Mask (device only)

source

pub fn goutnakeffmsk(&mut self) -> GOUTNAKEFFMSK_W<'_, 7>

Bit 7 - Global OUT NAK Effective Mask (device only)

source

pub fn erlysuspmsk(&mut self) -> ERLYSUSPMSK_W<'_, 10>

Bit 10 - Early Suspend Mask (device only)

source

pub fn usbsuspmsk(&mut self) -> USBSUSPMSK_W<'_, 11>

Bit 11 - USB Suspend Mask (device only)

source

pub fn usbrstmsk(&mut self) -> USBRSTMSK_W<'_, 12>

Bit 12 - USB Reset Mask (device only)

source

pub fn enumdonemsk(&mut self) -> ENUMDONEMSK_W<'_, 13>

Bit 13 - Enumeration Done Mask (device only)

source

pub fn isooutdropmsk(&mut self) -> ISOOUTDROPMSK_W<'_, 14>

Bit 14 - Isochronous OUT Packet Dropped Interrupt Mask (device only)

source

pub fn eopfmsk(&mut self) -> EOPFMSK_W<'_, 15>

Bit 15 - End of Periodic Frame Interrupt Mask (device only)

source

pub fn epmismsk(&mut self) -> EPMISMSK_W<'_, 17>

Bit 17 - Endpoint Mismatch Interrupt Mask (device only)

source

pub fn iepintmsk(&mut self) -> IEPINTMSK_W<'_, 18>

Bit 18 - IN Endpoints Interrupt Mask (device only)

source

pub fn oepintmsk(&mut self) -> OEPINTMSK_W<'_, 19>

Bit 19 - OUT Endpoints Interrupt Mask (device only)

source

pub fn incompisoinmsk(&mut self) -> INCOMPISOINMSK_W<'_, 20>

Bit 20 - Incomplete Isochronous IN Transfer Mask (device only)

source

pub fn incomplpmsk(&mut self) -> INCOMPLPMSK_W<'_, 21>

Bit 21 - Incomplete Periodic Transfer Mask (host only)

source

pub fn fetsuspmsk(&mut self) -> FETSUSPMSK_W<'_, 22>

Bit 22 - Data Fetch Suspended Mask (device only)

source

pub fn resetdetmsk(&mut self) -> RESETDETMSK_W<'_, 23>

Bit 23 - Reset detected Interrupt Mask (device only)

source

pub fn prtintmsk(&mut self) -> PRTINTMSK_W<'_, 24>

Bit 24 - Host Port Interrupt Mask (host only)

source

pub fn hchintmsk(&mut self) -> HCHINTMSK_W<'_, 25>

Bit 25 - Host Channels Interrupt Mask (host only)

source

pub fn ptxfempmsk(&mut self) -> PTXFEMPMSK_W<'_, 26>

Bit 26 - Periodic TxFIFO Empty Mask (host only)

source

pub fn conidstschngmsk(&mut self) -> CONIDSTSCHNGMSK_W<'_, 28>

Bit 28 - Connector ID Status Change Mask (host and device)

source

pub fn disconnintmsk(&mut self) -> DISCONNINTMSK_W<'_, 29>

Bit 29 - Disconnect Detected Interrupt Mask (host and device)

source

pub fn sessreqintmsk(&mut self) -> SESSREQINTMSK_W<'_, 30>

Bit 30 - Session Request/New Session Detected Interrupt Mask (host and device)

source

pub fn wkupintmsk(&mut self) -> WKUPINTMSK_W<'_, 31>

Bit 31 - Resume/Remote Wakeup Detected Interrupt Mask (host and device)

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Methods from Deref<Target = W<GINTMSK_SPEC>>§

source

pub unsafe fn bits(&mut self, bits: REG::Ux) -> &mut Self

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations§

source§

impl Deref for W

§

type Target = W<GINTMSK_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for W

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl From<W<GINTMSK_SPEC>> for W

source§

fn from(writer: W<GINTMSK_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for W

§

impl Send for W

§

impl Sync for W

§

impl Unpin for W

§

impl UnwindSafe for W

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

const: unstable · 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 Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.