Struct stm32h7xx_hal::stm32::i2c1::RegisterBlock[][src]

#[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 timingr: Reg<u32, _TIMINGR>,
    pub timeoutr: Reg<u32, _TIMEOUTR>,
    pub isr: Reg<u32, _ISR>,
    pub icr: Reg<u32, _ICR>,
    pub pecr: Reg<u32, _PECR>,
    pub rxdr: Reg<u32, _RXDR>,
    pub txdr: Reg<u32, _TXDR>,
}

Register block

Fields

cr1: Reg<u32, _CR1>

0x00 - Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

cr2: Reg<u32, _CR2>

0x04 - Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

oar1: Reg<u32, _OAR1>

0x08 - Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

oar2: Reg<u32, _OAR2>

0x0c - Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

timingr: Reg<u32, _TIMINGR>

0x10 - Access: No wait states

timeoutr: Reg<u32, _TIMEOUTR>

0x14 - Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

isr: Reg<u32, _ISR>

0x18 - Access: No wait states

icr: Reg<u32, _ICR>

0x1c - Access: No wait states

pecr: Reg<u32, _PECR>

0x20 - Access: No wait states

rxdr: Reg<u32, _RXDR>

0x24 - Access: No wait states

txdr: Reg<u32, _TXDR>

0x28 - Access: No wait states

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.