[][src]Struct stm32wb_pac::i2c1::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub cr1: CR1,
    pub cr2: CR2,
    pub oar1: OAR1,
    pub oar2: OAR2,
    pub timingr: TIMINGR,
    pub timeoutr: TIMEOUTR,
    pub isr: ISR,
    pub icr: ICR,
    pub pecr: PECR,
    pub rxdr: RXDR,
    pub txdr: TXDR,
}

Register block

Fields

cr1: CR1

0x00 - Control register 1

cr2: CR2

0x04 - Control register 2

oar1: OAR1

0x08 - Own address register 1

oar2: OAR2

0x0c - Own address register 2

timingr: TIMINGR

0x10 - Timing register

timeoutr: TIMEOUTR

0x14 - Status register 1

isr: ISR

0x18 - Interrupt and Status register

icr: ICR

0x1c - Interrupt clear register

pecr: PECR

0x20 - PEC register

rxdr: RXDR

0x24 - Receive data register

txdr: TXDR

0x28 - Transmit data register

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> Same<T> for T

type Output = T

Should always be Self

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.