[][src]Struct stm32f1xx_hal::pac::otg_fs_global::fs_gusbcfg::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn tocal(&self) -> TOCALR[src]

Bits 0:2 - FS timeout calibration

pub fn srpcap(&self) -> SRPCAPR[src]

Bit 8 - SRP-capable

pub fn hnpcap(&self) -> HNPCAPR[src]

Bit 9 - HNP-capable

pub fn trdt(&self) -> TRDTR[src]

Bits 10:13 - USB turnaround time

pub fn fhmod(&self) -> FHMODR[src]

Bit 29 - Force host mode

pub fn fdmod(&self) -> FDMODR[src]

Bit 30 - Force device mode

pub fn ctxpkt(&self) -> CTXPKTR[src]

Bit 31 - Corrupt Tx packet

Auto Trait Implementations

impl Send for R

impl Sync for R

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