[]Struct nucleo_f042k6::usb::istr::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R

pub fn bits(&self) -> u32

Value of the register as raw bits

pub fn ep_id(&self) -> EP_IDR

Bits 0:3 - Endpoint Identifier

pub fn dir(&self) -> DIRR

Bit 4 - Direction of transaction

pub fn l1req(&self) -> L1REQR

Bit 7 - LPM L1 state request

pub fn esof(&self) -> ESOFR

Bit 8 - Expected start frame

pub fn sof(&self) -> SOFR

Bit 9 - start of frame

pub fn reset(&self) -> RESETR

Bit 10 - reset request

pub fn susp(&self) -> SUSPR

Bit 11 - Suspend mode request

pub fn wkup(&self) -> WKUPR

Bit 12 - Wakeup

pub fn err(&self) -> ERRR

Bit 13 - Error

pub fn pmaovr(&self) -> PMAOVRR

Bit 14 - Packet memory area over / underrun

pub fn ctr(&self) -> CTRR

Bit 15 - Correct transfer

Auto Trait Implementations

impl Unpin for R

impl Sync for R

impl Send for R

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self