mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ulp-riscv-i2c: Updated API documentation about sub register address usage
The RTC I2C peripheral always expects a I2C slave sub register address to be programmed. If it is not programmed then a sub register address available in SENS_SAR_I2C_CTRL_REG[18:11] is used for I2C read/write. This commit updates the documentation of the API ulp_riscv_i2c_master_set_slave_reg_addr() to clarify the same.
This commit is contained in:
parent
3e2f414214
commit
07a506bb02
@ -61,6 +61,10 @@ void ulp_riscv_i2c_master_set_slave_addr(uint8_t slave_addr);
|
||||
/**
|
||||
* @brief Set the I2C slave device sub register address
|
||||
*
|
||||
* @note The RTC I2C peripheral always expects a slave sub register address to be programmed. If it is not, the I2C
|
||||
* peripheral uses the SENS_SAR_I2C_CTRL_REG[18:11] as the sub register address for the subsequent read or write
|
||||
* operation.
|
||||
*
|
||||
* @param slave_reg_addr I2C slave sub register address
|
||||
*/
|
||||
void ulp_riscv_i2c_master_set_slave_reg_addr(uint8_t slave_reg_addr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user