I2C: enable all unit test for i2c on esp32c3

This commit is contained in:
Cao Sen Miao
2021-02-23 15:52:04 +08:00
parent d21ca33e40
commit c3da21a93f
5 changed files with 73 additions and 13 deletions

View File

@@ -905,6 +905,7 @@ static inline void i2c_ll_slave_init(i2c_dev_t *hw)
ctrl_reg.sda_force_out = 1;
ctrl_reg.scl_force_out = 1;
hw->ctr.val = ctrl_reg.val;
hw->ctr.slv_tx_auto_start_en = 1;
hw->fifo_conf.fifo_addr_cfg_en = 0;
}