[][src]Struct stm32f1xx_hal::pac::otg_fs_device::doepctl2::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 epena(&mut self) -> _EPENAW[src]

Bit 31 - EPENA

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

Bit 30 - EPDIS

pub fn soddfrm(&mut self) -> _SODDFRMW[src]

Bit 29 - SODDFRM

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 stall(&mut self) -> _STALLW[src]

Bit 21 - Stall

pub fn snpm(&mut self) -> _SNPMW[src]

Bit 20 - SNPM

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