[][src]Struct stm32f3::stm32f303::usb::ep2r::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn ea(&self) -> EAR[src]

Bits 0:3 - Endpoint address

pub fn stat_tx(&self) -> STAT_TXR[src]

Bits 4:5 - Status bits, for transmission transfers

pub fn dtog_tx(&self) -> DTOG_TXR[src]

Bit 6 - Data Toggle, for transmission transfers

pub fn ctr_tx(&self) -> CTR_TXR[src]

Bit 7 - Correct Transfer for transmission

pub fn ep_kind(&self) -> EP_KINDR[src]

Bit 8 - Endpoint kind

pub fn ep_type(&self) -> EP_TYPER[src]

Bits 9:10 - Endpoint type

pub fn setup(&self) -> SETUPR[src]

Bit 11 - Setup transaction completed

pub fn stat_rx(&self) -> STAT_RXR[src]

Bits 12:13 - Status bits, for reception transfers

pub fn dtog_rx(&self) -> DTOG_RXR[src]

Bit 14 - Data Toggle, for reception transfers

pub fn ctr_rx(&self) -> CTR_RXR[src]

Bit 15 - Correct transfer for reception

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