[][src]Struct bl602_pac::i2c::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub i2c_config: Reg<I2C_CONFIG_SPEC>,
    pub i2c_int_sts: Reg<I2C_INT_STS_SPEC>,
    pub i2c_sub_addr: Reg<I2C_SUB_ADDR_SPEC>,
    pub i2c_bus_busy: Reg<I2C_BUS_BUSY_SPEC>,
    pub i2c_prd_start: Reg<I2C_PRD_START_SPEC>,
    pub i2c_prd_stop: Reg<I2C_PRD_STOP_SPEC>,
    pub i2c_prd_data: Reg<I2C_PRD_DATA_SPEC>,
    pub i2c_fifo_config_0: Reg<I2C_FIFO_CONFIG_0_SPEC>,
    pub i2c_fifo_config_1: Reg<I2C_FIFO_CONFIG_1_SPEC>,
    pub i2c_fifo_wdata: Reg<I2C_FIFO_WDATA_SPEC>,
    pub i2c_fifo_rdata: Reg<I2C_FIFO_RDATA_SPEC>,
    // some fields omitted
}

Register block

Fields

i2c_config: Reg<I2C_CONFIG_SPEC>

0x00 - i2c_config.

i2c_int_sts: Reg<I2C_INT_STS_SPEC>

0x04 - i2c_int_sts.

i2c_sub_addr: Reg<I2C_SUB_ADDR_SPEC>

0x08 - i2c_sub_addr.

i2c_bus_busy: Reg<I2C_BUS_BUSY_SPEC>

0x0c - i2c_bus_busy.

i2c_prd_start: Reg<I2C_PRD_START_SPEC>

0x10 - i2c_prd_start.

i2c_prd_stop: Reg<I2C_PRD_STOP_SPEC>

0x14 - i2c_prd_stop.

i2c_prd_data: Reg<I2C_PRD_DATA_SPEC>

0x18 - i2c_prd_data.

i2c_fifo_config_0: Reg<I2C_FIFO_CONFIG_0_SPEC>

0x80 - i2c_fifo_config_0.

i2c_fifo_config_1: Reg<I2C_FIFO_CONFIG_1_SPEC>

0x84 - i2c_fifo_config_1.

i2c_fifo_wdata: Reg<I2C_FIFO_WDATA_SPEC>

0x88 - i2c_fifo_wdata.

i2c_fifo_rdata: Reg<I2C_FIFO_RDATA_SPEC>

0x8c - i2c_fifo_rdata.

Auto Trait Implementations

impl Send for RegisterBlock

impl !Sync for RegisterBlock

impl Unpin for RegisterBlock

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.