[−][src]Struct stm32g0::stm32g0x0::ucpd1::sr::R
Value read from the register
Methods
impl R
[src]
pub fn bits(&self) -> u32
[src]
Value of the register as raw bits
pub fn txis(&self) -> TXISR
[src]
Bit 0 - TXIS
pub fn txmsgdisc(&self) -> TXMSGDISCR
[src]
Bit 1 - TXMSGDISC
pub fn txmsgsent(&self) -> TXMSGSENTR
[src]
Bit 2 - TXMSGSENT
pub fn txmsgabt(&self) -> TXMSGABTR
[src]
Bit 3 - TXMSGABT
pub fn hrstdisc(&self) -> HRSTDISCR
[src]
Bit 4 - HRSTDISC
pub fn hrstsent(&self) -> HRSTSENTR
[src]
Bit 5 - HRSTSENT
pub fn txund(&self) -> TXUNDR
[src]
Bit 6 - TXUND
pub fn rxne(&self) -> RXNER
[src]
Bit 8 - RXNE
pub fn rxorddet(&self) -> RXORDDETR
[src]
Bit 9 - RXORDDET
pub fn rxhrstdet(&self) -> RXHRSTDETR
[src]
Bit 10 - RXHRSTDET
pub fn rxovr(&self) -> RXOVRR
[src]
Bit 11 - RXOVR
pub fn rxmsgend(&self) -> RXMSGENDR
[src]
Bit 12 - RXMSGEND
pub fn rxerr(&self) -> RXERRR
[src]
Bit 13 - RXERR
pub fn typecevt1(&self) -> TYPECEVT1R
[src]
Bit 14 - TYPECEVT1
pub fn typecevt2(&self) -> TYPECEVT2R
[src]
Bit 15 - TYPECEVT2
pub fn typec_vstate_cc1(&self) -> TYPEC_VSTATE_CC1R
[src]
Bits 16:17 - TYPEC_VSTATE_CC1
pub fn typec_vstate_cc2(&self) -> TYPEC_VSTATE_CC2R
[src]
Bits 18:19 - TYPEC_VSTATE_CC2
pub fn frsevt(&self) -> FRSEVTR
[src]
Bit 20 - FRSEVT
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self