[][src]Struct ht32f1xxxx::ht32f12365_66::i2c0::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub i2c_cr: I2C_CR,
    pub i2c_ier: I2C_IER,
    pub i2c_addr: I2C_ADDR,
    pub i2c_sr: I2C_SR,
    pub i2c_shpgr: I2C_SHPGR,
    pub i2c_slpgr: I2C_SLPGR,
    pub i2c_dr: I2C_DR,
    pub i2c_tar: I2C_TAR,
    pub i2c_addmr: I2C_ADDMR,
    pub i2c_addsr: I2C_ADDSR,
    pub i2c_tout: I2C_TOUT,
}

Register block

Fields

i2c_cr: I2C_CR

0x00 - I2C_CR

i2c_ier: I2C_IER

0x04 - I2C_IER

i2c_addr: I2C_ADDR

0x08 - I2C_ADDR

i2c_sr: I2C_SR

0x0c - I2C_SR

i2c_shpgr: I2C_SHPGR

0x10 - I2C_SHPGR

i2c_slpgr: I2C_SLPGR

0x14 - I2C_SLPGR

i2c_dr: I2C_DR

0x18 - I2C_DR

i2c_tar: I2C_TAR

0x1c - I2C_TAR

i2c_addmr: I2C_ADDMR

0x20 - I2C_ADDMR

i2c_addsr: I2C_ADDSR

0x24 - I2C_ADDSR

i2c_tout: I2C_TOUT

0x28 - I2C_TOUT

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.