R

pub struct R { /* private fields */ }
Expand description

Value read from the register

Implementations§

Source§

impl R

Source

pub fn bits(&self) -> u32

Value of the register as raw bits

Source

pub fn mmism(&self) -> MMISMR

Bit 1 - Mode mismatch interrupt mask

Source

pub fn otgint(&self) -> OTGINTR

Bit 2 - OTG interrupt mask

Source

pub fn sofm(&self) -> SOFMR

Bit 3 - Start of frame mask

Source

pub fn rxflvlm(&self) -> RXFLVLMR

Bit 4 - Receive FIFO non-empty mask

Source

pub fn nptxfem(&self) -> NPTXFEMR

Bit 5 - Non-periodic TxFIFO empty mask

Source

pub fn ginakeffm(&self) -> GINAKEFFMR

Bit 6 - Global non-periodic IN NAK effective mask

Source

pub fn gonakeffm(&self) -> GONAKEFFMR

Bit 7 - Global OUT NAK effective mask

Source

pub fn esuspm(&self) -> ESUSPMR

Bit 10 - Early suspend mask

Source

pub fn usbsuspm(&self) -> USBSUSPMR

Bit 11 - USB suspend mask

Source

pub fn usbrst(&self) -> USBRSTR

Bit 12 - USB reset mask

Source

pub fn enumdnem(&self) -> ENUMDNEMR

Bit 13 - Enumeration done mask

Source

pub fn isoodrpm(&self) -> ISOODRPMR

Bit 14 - Isochronous OUT packet dropped interrupt mask

Source

pub fn eopfm(&self) -> EOPFMR

Bit 15 - End of periodic frame interrupt mask

Source

pub fn iepint(&self) -> IEPINTR

Bit 18 - IN endpoints interrupt mask

Source

pub fn oepint(&self) -> OEPINTR

Bit 19 - OUT endpoints interrupt mask

Source

pub fn iisoixfrm(&self) -> IISOIXFRMR

Bit 20 - Incomplete isochronous IN transfer mask

Source

pub fn ipxfrm_iisooxfrm(&self) -> IPXFRM_IISOOXFRMR

Bit 21 - Incomplete periodic transfer mask(Host mode)/Incomplete isochronous OUT transfer mask(Device mode)

Source

pub fn prtim(&self) -> PRTIMR

Bit 24 - Host port interrupt mask

Source

pub fn hcim(&self) -> HCIMR

Bit 25 - Host channels interrupt mask

Source

pub fn ptxfem(&self) -> PTXFEMR

Bit 26 - Periodic TxFIFO empty mask

Source

pub fn cidschgm(&self) -> CIDSCHGMR

Bit 28 - Connector ID status change mask

Source

pub fn discint(&self) -> DISCINTR

Bit 29 - Disconnect detected interrupt mask

Source

pub fn srqim(&self) -> SRQIMR

Bit 30 - Session request/new session detected interrupt mask

Source

pub fn wuim(&self) -> WUIMR

Bit 31 - Resume/remote wakeup detected interrupt mask

Source

pub fn rstdetm(&self) -> RSTDETMR

Bit 23 - Reset detected interrupt mask

Source

pub fn lpmin(&self) -> LPMINR

Bit 27 - LPM interrupt mask

Auto Trait Implementations§

§

impl Freeze for R

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

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> 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> Same for T

Source§

type Output = T

Should always be Self
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.