[][src]Struct stm32g0::stm32g0x1::ucpd1::cr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W
[src]

pub fn reset_value() -> W
[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]

Writes raw bits to the register

pub fn txmode(&mut self) -> _TXMODEW
[src]

Bits 0:1 - TXMODE

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

Bit 2 - TXSEND

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

Bit 3 - TXHRST

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

Bit 4 - RXMODE

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

Bit 5 - PHYRXEN

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

Bit 6 - PHYCCSEL

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

Bits 7:8 - ANASUBMODE

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

Bit 9 - ANAMODE

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

Bits 10:11 - CCENABLE

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

Bit 15 - DBATTEN

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

Bit 16 - FRSRXEN

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

Bit 17 - FRSTX

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

Bit 18 - RDCH

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

Bit 20 - CC1TCDIS

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

Bit 21 - CC2TCDIS

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> From for T
[src]

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

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.

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]