[][src]Struct stm32g0::stm32g0x0::ucpd1::cr::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 txmode(&self) -> TXMODER[src]

Bits 0:1 - TXMODE

pub fn txsend(&self) -> TXSENDR[src]

Bit 2 - TXSEND

pub fn txhrst(&self) -> TXHRSTR[src]

Bit 3 - TXHRST

pub fn rxmode(&self) -> RXMODER[src]

Bit 4 - RXMODE

pub fn phyrxen(&self) -> PHYRXENR[src]

Bit 5 - PHYRXEN

pub fn phyccsel(&self) -> PHYCCSELR[src]

Bit 6 - PHYCCSEL

pub fn anasubmode(&self) -> ANASUBMODER[src]

Bits 7:8 - ANASUBMODE

pub fn anamode(&self) -> ANAMODER[src]

Bit 9 - ANAMODE

pub fn ccenable(&self) -> CCENABLER[src]

Bits 10:11 - CCENABLE

pub fn dbatten(&self) -> DBATTENR[src]

Bit 15 - DBATTEN

pub fn frsrxen(&self) -> FRSRXENR[src]

Bit 16 - FRSRXEN

pub fn frstx(&self) -> FRSTXR[src]

Bit 17 - FRSTX

pub fn rdch(&self) -> RDCHR[src]

Bit 18 - RDCH

pub fn cc1tcdis(&self) -> CC1TCDISR[src]

Bit 20 - CC1TCDIS

pub fn cc2tcdis(&self) -> CC2TCDISR[src]

Bit 21 - CC2TCDIS

Auto Trait Implementations

impl Send for R

impl Sync 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