Skip to content

Commit

Permalink
Merge branch 'docs/ulp_riscv_i2c_sub_reg_addr' into 'master'
Browse files Browse the repository at this point in the history
ulp-riscv-i2c: Updated API documentation about sub register address usage

Closes IDFGH-9023

See merge request espressif/esp-idf!21838
  • Loading branch information
sudeep-mohanty committed Jan 5, 2023
2 parents 063a26b + 07a506b commit 2df00a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/ulp/ulp_riscv/include/ulp_riscv_i2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2df00a4

Please sign in to comment.