[][src]Struct stm32g0::stm32g0x0::ucpd1::RegisterBlock

#[repr(C)]
pub struct RegisterBlock { pub cfg1: CFG1, pub cfg2: CFG2, pub cfg3: CFG3, pub cr: CR, pub imr: IMR, pub sr: SR, pub icr: ICR, pub tx_ordset: TX_ORDSET, pub tx_paysz: TX_PAYSZ, pub txdr: TXDR, pub rx_ordset: RX_ORDSET, pub rx_paysz: RX_PAYSZ, pub rxdr: RXDR, pub rx_ordext1: RX_ORDEXT1, pub rx_ordext2: RX_ORDEXT2, pub ipver: IPVER, pub ipid: IPID, pub mid: MID, // some fields omitted }

Register block

Fields

cfg1: CFG1

0x00 - UCPD configuration register

cfg2: CFG2

0x04 - UCPD configuration register 2

cfg3: CFG3

0x08 - UCPD configuration register 3

cr: CR

0x0c - UCPD control register

imr: IMR

0x10 - UCPD Interrupt Mask Register

sr: SR

0x14 - UCPD Status Register

icr: ICR

0x18 - UCPD Interrupt Clear Register

tx_ordset: TX_ORDSET

0x1c - UCPD Tx Ordered Set Type Register

tx_paysz: TX_PAYSZ

0x20 - UCPD Tx Paysize Register

txdr: TXDR

0x24 - UCPD Tx Data Register

rx_ordset: RX_ORDSET

0x28 - UCPD Rx Ordered Set Register

rx_paysz: RX_PAYSZ

0x2c - UCPD Rx Paysize Register

rxdr: RXDR

0x30 - UCPD Receive Data Register

rx_ordext1: RX_ORDEXT1

0x34 - UCPD Rx Ordered Set Extension Register

rx_ordext2: RX_ORDEXT2

0x38 - UCPD Rx Ordered Set Extension Register

ipver: IPVER

0x3f4 - UCPD IP ID register

ipid: IPID

0x3f8 - UCPD IP ID register

mid: MID

0x3fc - UCPD IP ID register

Auto Trait Implementations

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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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