Struct esp32::rtc_i2c::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 15 fields
pub scl_low_period: SCL_LOW_PERIOD,
pub ctrl: CTRL,
pub debug_status: DEBUG_STATUS,
pub timeout: TIMEOUT,
pub slave_addr: SLAVE_ADDR,
pub data: DATA,
pub int_raw: INT_RAW,
pub int_clr: INT_CLR,
pub int_en: INT_EN,
pub int_st: INT_ST,
pub sda_duty: SDA_DUTY,
pub scl_high_period: SCL_HIGH_PERIOD,
pub scl_start_period: SCL_START_PERIOD,
pub scl_stop_period: SCL_STOP_PERIOD,
pub cmd: CMD,
/* private fields */
}
Expand description
Register block
Fields§
§scl_low_period: SCL_LOW_PERIOD
0x00 -
ctrl: CTRL
0x04 -
debug_status: DEBUG_STATUS
0x08 -
timeout: TIMEOUT
0x0c -
slave_addr: SLAVE_ADDR
0x10 -
data: DATA
0x1c -
int_raw: INT_RAW
0x20 -
int_clr: INT_CLR
0x24 -
int_en: INT_EN
0x28 -
int_st: INT_ST
0x2c -
sda_duty: SDA_DUTY
0x30 -
scl_high_period: SCL_HIGH_PERIOD
0x38 -
scl_start_period: SCL_START_PERIOD
0x40 -
scl_stop_period: SCL_STOP_PERIOD
0x44 -
cmd: CMD
0x48 -