[−][src]Struct stm32g0::stm32g0x0::ucpd1::cr::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 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
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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