pub struct R(/* private fields */);
Expand description

Register GINTSTS reader

Implementations§

source§

impl R

source

pub fn cmod(&self) -> BitReaderRaw<bool>

Bit 0 - Current mode of operation

source

pub fn mmis(&self) -> BitReaderRaw<bool>

Bit 1 - Mode mismatch interrupt

source

pub fn otgint(&self) -> BitReaderRaw<bool>

Bit 2 - OTG interrupt

source

pub fn sof(&self) -> BitReaderRaw<bool>

Bit 3 - Start of frame

source

pub fn rxflvl(&self) -> BitReaderRaw<bool>

Bit 4 - RxFIFO nonempty

source

pub fn nptxfe(&self) -> BitReaderRaw<bool>

Bit 5 - Nonperiodic TxFIFO empty

source

pub fn ginakeff(&self) -> BitReaderRaw<bool>

Bit 6 - Global IN nonperiodic NAK effective

source

pub fn boutnakeff(&self) -> BitReaderRaw<bool>

Bit 7 - Global OUT NAK effective

source

pub fn esusp(&self) -> BitReaderRaw<bool>

Bit 10 - Early suspend

source

pub fn usbsusp(&self) -> BitReaderRaw<bool>

Bit 11 - USB suspend

source

pub fn usbrst(&self) -> BitReaderRaw<bool>

Bit 12 - USB reset

source

pub fn enumdne(&self) -> BitReaderRaw<bool>

Bit 13 - Enumeration done

source

pub fn isoodrp(&self) -> BitReaderRaw<bool>

Bit 14 - Isochronous OUT packet dropped interrupt

source

pub fn eopf(&self) -> BitReaderRaw<bool>

Bit 15 - End of periodic frame interrupt

source

pub fn iepint(&self) -> BitReaderRaw<bool>

Bit 18 - IN endpoint interrupt

source

pub fn oepint(&self) -> BitReaderRaw<bool>

Bit 19 - OUT endpoint interrupt

source

pub fn iisoixfr(&self) -> BitReaderRaw<bool>

Bit 20 - Incomplete isochronous IN transfer

source

pub fn pxfr_incompisoout(&self) -> BitReaderRaw<bool>

Bit 21 - Incomplete periodic transfer

source

pub fn datafsusp(&self) -> BitReaderRaw<bool>

Bit 22 - Data fetch suspended

source

pub fn hprtint(&self) -> BitReaderRaw<bool>

Bit 24 - Host port interrupt

source

pub fn hcint(&self) -> BitReaderRaw<bool>

Bit 25 - Host channels interrupt

source

pub fn ptxfe(&self) -> BitReaderRaw<bool>

Bit 26 - Periodic TxFIFO empty

source

pub fn cidschg(&self) -> BitReaderRaw<bool>

Bit 28 - Connector ID status change

source

pub fn discint(&self) -> BitReaderRaw<bool>

Bit 29 - Disconnect detected interrupt

source

pub fn srqint(&self) -> BitReaderRaw<bool>

Bit 30 - Session request/new session detected interrupt

source

pub fn wkupint(&self) -> BitReaderRaw<bool>

Bit 31 - Resume/remote wakeup detected interrupt

Methods from Deref<Target = R<GINTSTS_SPEC>>§

source

pub fn bits(&self) -> <REG as RegisterSpec>::Ux

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<GINTSTS_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &<R as Deref>::Target

Dereferences the value.
source§

impl From<R<GINTSTS_SPEC>> for R

source§

fn from(reader: R<GINTSTS_SPEC>) -> R

Converts to this type from the input type.

Auto Trait Implementations§

§

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, U> TryFrom<U> for T
where U: Into<T>,

§

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>,

§

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.