Struct stm32f1::stm32f103::usb::epr::STAT_TX_W[][src]

pub struct STAT_TX_W<'a> { /* fields omitted */ }

Write proxy for field STAT_TX

Implementations

impl<'a> STAT_TX_W<'a>[src]

pub fn variant(self, variant: STAT_TX_A) -> &'a mut W[src]

Writes variant to the field

pub fn disabled(self) -> &'a mut W[src]

all transmission requests addressed to this endpoint are ignored

pub fn stall(self) -> &'a mut W[src]

the endpoint is stalled and all transmission requests result in a STALL handshake

pub fn nak(self) -> &'a mut W[src]

the endpoint is naked and all transmission requests result in a NAK handshake

pub fn valid(self) -> &'a mut W[src]

this endpoint is enabled for transmission

pub fn bits(self, value: u8) -> &'a mut W[src]

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for STAT_TX_W<'a>[src]

impl<'a> !Sync for STAT_TX_W<'a>[src]

impl<'a> Unpin for STAT_TX_W<'a>[src]

Blanket Implementations

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

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

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

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

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

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