Searched refs:slv_rx_buf_len (Results 1 – 2 of 2) sorted by relevance
110 esp_err_t i2c_driver_install(i2c_port_t i2c_num, i2c_mode_t mode, size_t slv_rx_buf_len, size_t slv…
240 esp_err_t i2c_driver_install(i2c_port_t i2c_num, i2c_mode_t mode, size_t slv_rx_buf_len, size_t slv… in i2c_driver_install() argument244 ESP_RETURN_ON_FALSE(mode == I2C_MODE_MASTER || ( slv_rx_buf_len > 100 || slv_tx_buf_len > 100 ), in i2c_driver_install()274 if (slv_rx_buf_len > 0) { in i2c_driver_install()275 p_i2c->rx_ring_buf = xRingbufferCreate(slv_rx_buf_len, RINGBUF_TYPE_BYTEBUF); in i2c_driver_install()280 p_i2c->rx_buf_length = slv_rx_buf_len; in i2c_driver_install()