Struct esp32s3::rtc_i2c::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 31 fields
pub scl_low: SCL_LOW,
pub ctrl: CTRL,
pub status: STATUS,
pub to: TO,
pub slave_addr: SLAVE_ADDR,
pub scl_high: SCL_HIGH,
pub sda_duty: SDA_DUTY,
pub scl_start_period: SCL_START_PERIOD,
pub scl_stop_period: SCL_STOP_PERIOD,
pub int_clr: INT_CLR,
pub int_raw: INT_RAW,
pub int_st: INT_ST,
pub int_ena: INT_ENA,
pub data: DATA,
pub cmd0: CMD0,
pub cmd1: CMD1,
pub cmd2: CMD2,
pub cmd3: CMD3,
pub cmd4: CMD4,
pub cmd5: CMD5,
pub cmd6: CMD6,
pub cmd7: CMD7,
pub cmd8: CMD8,
pub cmd9: CMD9,
pub cmd10: CMD10,
pub cmd11: CMD11,
pub cmd12: CMD12,
pub cmd13: CMD13,
pub cmd14: CMD14,
pub cmd15: CMD15,
pub date: DATE,
/* private fields */
}
Expand description
Register block
Fields§
§scl_low: SCL_LOW
0x00 - configure low scl period
ctrl: CTRL
0x04 - configure i2c ctrl
status: STATUS
0x08 - get i2c status
to: TO
0x0c - configure time out
slave_addr: SLAVE_ADDR
0x10 - configure slave id
scl_high: SCL_HIGH
0x14 - configure high scl period
sda_duty: SDA_DUTY
0x18 - configure sda duty
scl_start_period: SCL_START_PERIOD
0x1c - configure scl start period
scl_stop_period: SCL_STOP_PERIOD
0x20 - configure scl stop period
int_clr: INT_CLR
0x24 - interrupt clear register
int_raw: INT_RAW
0x28 - interrupt raw register
int_st: INT_ST
0x2c - interrupt state register
int_ena: INT_ENA
0x30 - interrupt enable register
data: DATA
0x34 - get i2c data status
cmd0: CMD0
0x38 - i2c commond0 register
cmd1: CMD1
0x3c - i2c commond1 register
cmd2: CMD2
0x40 - i2c commond2 register
cmd3: CMD3
0x44 - i2c commond3 register
cmd4: CMD4
0x48 - i2c commond4 register
cmd5: CMD5
0x4c - i2c commond5_register
cmd6: CMD6
0x50 - i2c commond6 register
cmd7: CMD7
0x54 - i2c commond7 register
cmd8: CMD8
0x58 - i2c commond8 register
cmd9: CMD9
0x5c - i2c commond9 register
cmd10: CMD10
0x60 - i2c commond10 register
cmd11: CMD11
0x64 - i2c commond11 register
cmd12: CMD12
0x68 - i2c commond12 register
cmd13: CMD13
0x6c - i2c commond13 register
cmd14: CMD14
0x70 - i2c commond14 register
cmd15: CMD15
0x74 - i2c commond15 register
date: DATE
0xfc - version register