Searched refs:slv_tx_buf_len (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-3.6.0/components/driver/include/driver/ |
D | i2c.h | 110 …l(i2c_port_t i2c_num, i2c_mode_t mode, size_t slv_rx_buf_len, size_t slv_tx_buf_len, int intr_allo…
|
/hal_espressif-3.6.0/components/driver/ |
D | i2c.c | 240 …c_driver_install(i2c_port_t i2c_num, i2c_mode_t mode, size_t slv_rx_buf_len, size_t slv_tx_buf_len, in i2c_driver_install() argument 244 ESP_RETURN_ON_FALSE(mode == I2C_MODE_MASTER || ( slv_rx_buf_len > 100 || slv_tx_buf_len > 100 ), in i2c_driver_install() 285 if (slv_tx_buf_len > 0) { in i2c_driver_install() 286 p_i2c->tx_ring_buf = xRingbufferCreate(slv_tx_buf_len, RINGBUF_TYPE_BYTEBUF); in i2c_driver_install() 291 p_i2c->tx_buf_length = slv_tx_buf_len; in i2c_driver_install()
|