Module rtc_i2c

Source
Expand description

Low-power I2C (Inter-Integrated Circuit) Controller

Modules§

cmd
RTC I2C Command %s
ctrl
Transmission setting
data
RTC I2C read data
date
Version control register
int_clr
Clear RTC I2C interrupt
int_ena
Enable RTC I2C interrupt
int_raw
RTC I2C raw interrupt
int_st
RTC I2C interrupt status
scl_high
Configure the high level width of SCL
scl_low
Configure the low level width of SCL
scl_start_period
Configure the delay between the SDA and SCL negative edge for a start condition
scl_stop_period
Configure the delay between SDA and SCL positive edge for a stop condition
sda_duty
Configure the SDA hold time after a negative SCL edge
slave_addr
Configure slave address
status
RTC I2C status
to
Configure RTC I2C timeout

Structs§

RegisterBlock
Register block

Type Aliases§

CMD
CMD (rw) register accessor: RTC I2C Command %s
CTRL
CTRL (rw) register accessor: Transmission setting
DATA
DATA (rw) register accessor: RTC I2C read data
DATE
DATE (rw) register accessor: Version control register
INT_CLR
INT_CLR (w) register accessor: Clear RTC I2C interrupt
INT_ENA
INT_ENA (rw) register accessor: Enable RTC I2C interrupt
INT_RAW
INT_RAW (r) register accessor: RTC I2C raw interrupt
INT_ST
INT_ST (r) register accessor: RTC I2C interrupt status
SCL_HIGH
SCL_HIGH (rw) register accessor: Configure the high level width of SCL
SCL_LOW
SCL_LOW (rw) register accessor: Configure the low level width of SCL
SCL_START_PERIOD
SCL_START_PERIOD (rw) register accessor: Configure the delay between the SDA and SCL negative edge for a start condition
SCL_STOP_PERIOD
SCL_STOP_PERIOD (rw) register accessor: Configure the delay between SDA and SCL positive edge for a stop condition
SDA_DUTY
SDA_DUTY (rw) register accessor: Configure the SDA hold time after a negative SCL edge
SLAVE_ADDR
SLAVE_ADDR (rw) register accessor: Configure slave address
STATUS
STATUS (r) register accessor: RTC I2C status
TO
TO (rw) register accessor: Configure RTC I2C timeout