Struct stm32f407g_disc::stm32::i2c1::RegisterBlock[]

#[repr(C)]
pub struct RegisterBlock { pub cr1: Reg<u32, _CR1>, pub cr2: Reg<u32, _CR2>, pub oar1: Reg<u32, _OAR1>, pub oar2: Reg<u32, _OAR2>, pub dr: Reg<u32, _DR>, pub sr1: Reg<u32, _SR1>, pub sr2: Reg<u32, _SR2>, pub ccr: Reg<u32, _CCR>, pub trise: Reg<u32, _TRISE>, }

Register block

Fields

cr1: Reg<u32, _CR1>

0x00 - Control register 1

cr2: Reg<u32, _CR2>

0x04 - Control register 2

oar1: Reg<u32, _OAR1>

0x08 - Own address register 1

oar2: Reg<u32, _OAR2>

0x0c - Own address register 2

dr: Reg<u32, _DR>

0x10 - Data register

sr1: Reg<u32, _SR1>

0x14 - Status register 1

sr2: Reg<u32, _SR2>

0x18 - Status register 2

ccr: Reg<u32, _CCR>

0x1c - Clock control register

trise: Reg<u32, _TRISE>

0x20 - TRISE 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.