Struct stm32g4::stm32g474::ucpd1::RegisterBlock[][src]

#[repr(C)]pub struct RegisterBlock {
    pub cfg1: CFG1,
    pub cfg2: CFG2,
    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,
    // some fields omitted
}

Register block

Fields

cfg1: CFG1

0x00 - UCPD configuration register 1

cfg2: CFG2

0x04 - UCPD configuration register 2

cr: CR

0x0c - UCPD configuration register 2

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 Rx Data Register

rx_ordext1: RX_ORDEXT1

0x34 - UCPD Rx Ordered Set Extension Register 1

rx_ordext2: RX_ORDEXT2

0x38 - UCPD Rx Ordered Set Extension Register 2

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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> 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.