Home
last modified time | relevance | path

Searched refs:I2C_NUM_MAX (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-3.6.0/components/driver/
Di2c.c184 static i2c_context_t i2c_context[I2C_NUM_MAX] = {
186 #if I2C_NUM_MAX > 1
208 static i2c_obj_t *p_i2c_obj[I2C_NUM_MAX] = {0};
243 ESP_RETURN_ON_FALSE(i2c_num < I2C_NUM_MAX, ESP_ERR_INVALID_ARG, I2C_TAG, I2C_NUM_ERROR_STR); in i2c_driver_install()
402 ESP_RETURN_ON_FALSE(i2c_num < I2C_NUM_MAX, ESP_ERR_INVALID_ARG, I2C_TAG, I2C_NUM_ERROR_STR); in i2c_driver_delete()
459 ESP_RETURN_ON_FALSE(i2c_num < I2C_NUM_MAX, ESP_ERR_INVALID_ARG, I2C_TAG, I2C_NUM_ERROR_STR); in i2c_reset_tx_fifo()
468 ESP_RETURN_ON_FALSE(i2c_num < I2C_NUM_MAX, ESP_ERR_INVALID_ARG, I2C_TAG, I2C_NUM_ERROR_STR); in i2c_reset_rx_fifo()
537 ESP_RETURN_ON_FALSE(i2c_num < I2C_NUM_MAX, ESP_ERR_INVALID_ARG, I2C_TAG, I2C_NUM_ERROR_STR); in i2c_set_data_mode()
549 ESP_RETURN_ON_FALSE(i2c_num < I2C_NUM_MAX, ESP_ERR_INVALID_ARG, I2C_TAG, I2C_NUM_ERROR_STR); in i2c_get_data_mode()
656 ESP_RETURN_ON_FALSE(i2c_num < I2C_NUM_MAX, ESP_ERR_INVALID_ARG, I2C_TAG, I2C_NUM_ERROR_STR); in i2c_param_config()
[all …]
/hal_espressif-3.6.0/components/driver/include/driver/
Di2c.h28 #define I2C_NUM_MAX (SOC_I2C_NUM) /*!< I2C port max */ macro
/hal_espressif-3.6.0/examples/peripherals/i2c/i2c_tools/main/
Dcmd_i2ctools.c42 if (port >= I2C_NUM_MAX) { in i2c_get_port()