From 28ca2d72b879c2bdb2cf7d50d02136f293eb0b88 Mon Sep 17 00:00:00 2001 From: boarchuz <46267286+boarchuz@users.noreply.github.com> Date: Fri, 14 Jun 2019 06:03:56 +1000 Subject: [PATCH] ulp: Correct misleading corrections of i2c comments Merges https://github.com/espressif/esp-idf/pull/3580 --- components/ulp/include/esp32/ulp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ulp/include/esp32/ulp.h b/components/ulp/include/esp32/ulp.h index d273565557..b045ccc3d9 100644 --- a/components/ulp/include/esp32/ulp.h +++ b/components/ulp/include/esp32/ulp.h @@ -1016,7 +1016,7 @@ static inline uint32_t SOC_REG_TO_ULP_PERIPH_SEL(uint32_t reg) { * * Slave address (in 7-bit format) has to be set in advance into SENS_I2C_SLAVE_ADDRx register field, where x == slave_sel. * For read operations, 8 bits of read result is stored into R0 register. - * For write operations, bits outside of val[high_bit:low_bit] are masked. + * For write operations, val will be written to sub_addr at [high_bit:low_bit]. Bits outside of this range are masked. */ #define I_I2C_RW(sub_addr, val, low_bit, high_bit, slave_sel, rw_bit) { .i2c = {\ .i2c_addr = sub_addr, \