[][src]Struct stm32f1xx_hal::pac::otg_fs_host::fs_hprt::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 pcsts(&self) -> PCSTSR[src]

Bit 0 - Port connect status

pub fn pcdet(&self) -> PCDETR[src]

Bit 1 - Port connect detected

pub fn pena(&self) -> PENAR[src]

Bit 2 - Port enable

pub fn penchng(&self) -> PENCHNGR[src]

Bit 3 - Port enable/disable change

pub fn poca(&self) -> POCAR[src]

Bit 4 - Port overcurrent active

pub fn pocchng(&self) -> POCCHNGR[src]

Bit 5 - Port overcurrent change

pub fn pres(&self) -> PRESR[src]

Bit 6 - Port resume

pub fn psusp(&self) -> PSUSPR[src]

Bit 7 - Port suspend

pub fn prst(&self) -> PRSTR[src]

Bit 8 - Port reset

pub fn plsts(&self) -> PLSTSR[src]

Bits 10:11 - Port line status

pub fn ppwr(&self) -> PPWRR[src]

Bit 12 - Port power

pub fn ptctl(&self) -> PTCTLR[src]

Bits 13:16 - Port test control

pub fn pspd(&self) -> PSPDR[src]

Bits 17:18 - Port speed

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