[]Struct stm32f407g_disc::otg_hs_host::otg_hs_hprt::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 pcsts(&self) -> PCSTSR

Bit 0 - Port connect status

pub fn pcdet(&self) -> PCDETR

Bit 1 - Port connect detected

pub fn pena(&self) -> PENAR

Bit 2 - Port enable

pub fn penchng(&self) -> PENCHNGR

Bit 3 - Port enable/disable change

pub fn poca(&self) -> POCAR

Bit 4 - Port overcurrent active

pub fn pocchng(&self) -> POCCHNGR

Bit 5 - Port overcurrent change

pub fn pres(&self) -> PRESR

Bit 6 - Port resume

pub fn psusp(&self) -> PSUSPR

Bit 7 - Port suspend

pub fn prst(&self) -> PRSTR

Bit 8 - Port reset

pub fn plsts(&self) -> PLSTSR

Bits 10:11 - Port line status

pub fn ppwr(&self) -> PPWRR

Bit 12 - Port power

pub fn ptctl(&self) -> PTCTLR

Bits 13:16 - Port test control

pub fn pspd(&self) -> PSPDR

Bits 17:18 - Port speed

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From for T[src]

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, 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]