feat(i2c_slave): Add API to perform slave tx buffer reset

Closes https://github.com/espressif/esp-idf/issues/16241
This commit is contained in:
Chen Chen
2025-09-22 15:13:50 +08:00
parent 51d5e8fd08
commit 8b8b5df141
6 changed files with 259 additions and 1 deletions

View File

@@ -1168,7 +1168,7 @@ static inline void i2c_ll_master_disable_rx_it(i2c_dev_t *hw)
*/
static inline void i2c_ll_slave_enable_tx_it(i2c_dev_t *hw)
{
hw->int_ena.val |= 0x2;
hw->int_ena.val |= I2C_LL_SLAVE_TX_INT;
}
/**