[]Struct stm32f407g_disc::stm32::otg_hs_host::otg_hs_hprt::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W

pub fn reset_value() -> W

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut W

Writes raw bits to the register

pub fn pcdet(&mut self) -> _PCDETW

Bit 1 - Port connect detected

pub fn pena(&mut self) -> _PENAW

Bit 2 - Port enable

pub fn penchng(&mut self) -> _PENCHNGW

Bit 3 - Port enable/disable change

pub fn pocchng(&mut self) -> _POCCHNGW

Bit 5 - Port overcurrent change

pub fn pres(&mut self) -> _PRESW

Bit 6 - Port resume

pub fn psusp(&mut self) -> _PSUSPW

Bit 7 - Port suspend

pub fn prst(&mut self) -> _PRSTW

Bit 8 - Port reset

pub fn ppwr(&mut self) -> _PPWRW

Bit 12 - Port power

pub fn ptctl(&mut self) -> _PTCTLW

Bits 13:16 - Port test control

Auto Trait Implementations

impl Send for W

impl Sync for W

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]