[][src]Struct stm32f429::otg_fs_device::diepctl1::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 Self[src]

Writes raw bits to the register

pub fn epena(&mut self) -> _EPENAW[src]

Bit 31 - EPENA

pub fn epdis(&mut self) -> _EPDISW[src]

Bit 30 - EPDIS

pub fn soddfrm_sd1pid(&mut self) -> _SODDFRM_SD1PIDW[src]

Bit 29 - SODDFRM/SD1PID

pub fn sd0pid_sevnfrm(&mut self) -> _SD0PID_SEVNFRMW[src]

Bit 28 - SD0PID/SEVNFRM

pub fn snak(&mut self) -> _SNAKW[src]

Bit 27 - SNAK

pub fn cnak(&mut self) -> _CNAKW[src]

Bit 26 - CNAK

pub fn txfnum(&mut self) -> _TXFNUMW[src]

Bits 22:25 - TXFNUM

pub fn stall(&mut self) -> _STALLW[src]

Bit 21 - Stall

pub fn eptyp(&mut self) -> _EPTYPW[src]

Bits 18:19 - EPTYP

pub fn usbaep(&mut self) -> _USBAEPW[src]

Bit 15 - USBAEP

pub fn mpsiz(&mut self) -> _MPSIZW[src]

Bits 0:10 - MPSIZ

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 = !

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

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

🔬 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]