[][src]Struct stm32f3::stm32f3x8::usb::cntr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

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

Writes raw bits to the register

pub fn fres(&mut self) -> _FRESW[src]

Bit 0 - Force USB Reset

pub fn pdwn(&mut self) -> _PDWNW[src]

Bit 1 - Power down

pub fn lpmode(&mut self) -> _LPMODEW[src]

Bit 2 - Low-power mode

pub fn fsusp(&mut self) -> _FSUSPW[src]

Bit 3 - Force suspend

pub fn resume(&mut self) -> _RESUMEW[src]

Bit 4 - Resume request

pub fn esofm(&mut self) -> _ESOFMW[src]

Bit 8 - Expected start of frame interrupt mask

pub fn sofm(&mut self) -> _SOFMW[src]

Bit 9 - Start of frame interrupt mask

pub fn resetm(&mut self) -> _RESETMW[src]

Bit 10 - USB reset interrupt mask

pub fn suspm(&mut self) -> _SUSPMW[src]

Bit 11 - Suspend mode interrupt mask

pub fn wkupm(&mut self) -> _WKUPMW[src]

Bit 12 - Wakeup interrupt mask

pub fn errm(&mut self) -> _ERRMW[src]

Bit 13 - Error interrupt mask

pub fn pmaovrm(&mut self) -> _PMAOVRMW[src]

Bit 14 - Packet memory area over / underrun interrupt mask

pub fn ctrm(&mut self) -> _CTRMW[src]

Bit 15 - Correct transfer interrupt mask

Auto Trait Implementations

impl Unpin for W

impl Sync for W

impl Send for W

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self