[][src]Struct stm32f1xx_hal::pac::otg_fs_global::fs_gotgctl::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 srqscs(&self) -> SRQSCSR[src]

Bit 0 - Session request success

pub fn srq(&self) -> SRQR[src]

Bit 1 - Session request

pub fn hngscs(&self) -> HNGSCSR[src]

Bit 8 - Host negotiation success

pub fn hnprq(&self) -> HNPRQR[src]

Bit 9 - HNP request

pub fn hshnpen(&self) -> HSHNPENR[src]

Bit 10 - Host set HNP enable

pub fn dhnpen(&self) -> DHNPENR[src]

Bit 11 - Device HNP enabled

pub fn cidsts(&self) -> CIDSTSR[src]

Bit 16 - Connector ID status

pub fn dbct(&self) -> DBCTR[src]

Bit 17 - Long/short debounce time

pub fn asvld(&self) -> ASVLDR[src]

Bit 18 - A-session valid

pub fn bsvld(&self) -> BSVLDR[src]

Bit 19 - B-session valid

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