[][src]Struct stm32g0::stm32g0x0::ucpd1::sr::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 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

impl Unpin for R

impl Sync for R

impl Send for R

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> 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> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self