[]Struct nucleo_f042k6::stm32::usb::cntr::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R

pub fn bits(&self) -> u32

Value of the register as raw bits

pub fn fres(&self) -> FRESR

Bit 0 - Force USB Reset

pub fn pdwn(&self) -> PDWNR

Bit 1 - Power down

pub fn lpmode(&self) -> LPMODER

Bit 2 - Low-power mode

pub fn fsusp(&self) -> FSUSPR

Bit 3 - Force suspend

pub fn resume(&self) -> RESUMER

Bit 4 - Resume request

pub fn l1resume(&self) -> L1RESUMER

Bit 5 - LPM L1 Resume request

pub fn l1reqm(&self) -> L1REQMR

Bit 7 - LPM L1 state request interrupt mask

pub fn esofm(&self) -> ESOFMR

Bit 8 - Expected start of frame interrupt mask

pub fn sofm(&self) -> SOFMR

Bit 9 - Start of frame interrupt mask

pub fn resetm(&self) -> RESETMR

Bit 10 - USB reset interrupt mask

pub fn suspm(&self) -> SUSPMR

Bit 11 - Suspend mode interrupt mask

pub fn wkupm(&self) -> WKUPMR

Bit 12 - Wakeup interrupt mask

pub fn errm(&self) -> ERRMR

Bit 13 - Error interrupt mask

pub fn pmaovrm(&self) -> PMAOVRMR

Bit 14 - Packet memory area over / underrun interrupt mask

pub fn ctrm(&self) -> CTRMR

Bit 15 - Correct transfer interrupt mask

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

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