[][src]Struct stm32f1xx_hal::stm32::usb::istr::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 ep_id(&mut self) -> _EP_IDW[src]

Bits 0:3 - Endpoint Identifier

pub fn dir(&mut self) -> _DIRW[src]

Bit 4 - Direction of transaction

pub fn esof(&mut self) -> _ESOFW[src]

Bit 8 - Expected start frame

pub fn sof(&mut self) -> _SOFW[src]

Bit 9 - start of frame

pub fn reset(&mut self) -> _RESETW[src]

Bit 10 - reset request

pub fn susp(&mut self) -> _SUSPW[src]

Bit 11 - Suspend mode request

pub fn wkup(&mut self) -> _WKUPW[src]

Bit 12 - Wakeup

pub fn err(&mut self) -> _ERRW[src]

Bit 13 - Error

pub fn pmaovr(&mut self) -> _PMAOVRW[src]

Bit 14 - Packet memory area over / underrun

pub fn ctr(&mut self) -> _CTRW[src]

Bit 15 - Correct transfer

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto 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, 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