[][src]Struct stm32l4xx_hal::stm32::usb::ep2r::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut W[src]

Writes raw bits to the register

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

Bits 0:3 - Endpoint address

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

Bits 4:5 - Status bits, for transmission transfers

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

Bit 6 - Data Toggle, for transmission transfers

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

Bit 7 - Correct Transfer for transmission

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

Bit 8 - Endpoint kind

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

Bits 9:10 - Endpoint type

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

Bit 11 - Setup transaction completed

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

Bits 12:13 - Status bits, for reception transfers

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

Bit 14 - Data Toggle, for reception transfers

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

Bit 15 - Correct transfer for reception

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

impl<T> Same for T

type Output = T

Should always be Self