[−][src]Struct stm32l4x6::otg_fs_host::fs_hprt::R
Value read from the register
Methods
impl R
[src]
impl R
pub fn bits(&self) -> u32
[src]
pub fn bits(&self) -> u32
Value of the register as raw bits
pub fn pcsts(&self) -> PCSTSR
[src]
pub fn pcsts(&self) -> PCSTSR
Bit 0 - Port connect status
pub fn pcdet(&self) -> PCDETR
[src]
pub fn pcdet(&self) -> PCDETR
Bit 1 - Port connect detected
pub fn pena(&self) -> PENAR
[src]
pub fn pena(&self) -> PENAR
Bit 2 - Port enable
pub fn penchng(&self) -> PENCHNGR
[src]
pub fn penchng(&self) -> PENCHNGR
Bit 3 - Port enable/disable change
pub fn poca(&self) -> POCAR
[src]
pub fn poca(&self) -> POCAR
Bit 4 - Port overcurrent active
pub fn pocchng(&self) -> POCCHNGR
[src]
pub fn pocchng(&self) -> POCCHNGR
Bit 5 - Port overcurrent change
pub fn pres(&self) -> PRESR
[src]
pub fn pres(&self) -> PRESR
Bit 6 - Port resume
pub fn psusp(&self) -> PSUSPR
[src]
pub fn psusp(&self) -> PSUSPR
Bit 7 - Port suspend
pub fn prst(&self) -> PRSTR
[src]
pub fn prst(&self) -> PRSTR
Bit 8 - Port reset
pub fn plsts(&self) -> PLSTSR
[src]
pub fn plsts(&self) -> PLSTSR
Bits 10:11 - Port line status
pub fn ppwr(&self) -> PPWRR
[src]
pub fn ppwr(&self) -> PPWRR
Bit 12 - Port power
pub fn ptctl(&self) -> PTCTLR
[src]
pub fn ptctl(&self) -> PTCTLR
Bits 13:16 - Port test control
pub fn pspd(&self) -> PSPDR
[src]
pub fn pspd(&self) -> PSPDR
Bits 17:18 - Port speed
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
🔬 This is a nightly-only experimental API. (
try_from
)Performs the conversion.
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
🔬 This is a nightly-only experimental API. (
try_from
)Performs the conversion.
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more