Home
last modified time | relevance | path

Searched defs:i2c_num (Results 1 – 10 of 10) sorted by relevance

/hal_espressif-3.6.0/components/driver/
Di2c.c140 int i2c_num; /*!< I2C port number */ member
213 static void i2c_hw_disable(i2c_port_t i2c_num) in i2c_hw_disable()
223 static void i2c_hw_enable(i2c_port_t i2c_num) in i2c_hw_enable()
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()
400 esp_err_t i2c_driver_delete(i2c_port_t i2c_num) in i2c_driver_delete()
457 esp_err_t i2c_reset_tx_fifo(i2c_port_t i2c_num) in i2c_reset_tx_fifo()
466 esp_err_t i2c_reset_rx_fifo(i2c_port_t i2c_num) in i2c_reset_rx_fifo()
478 int i2c_num = p_i2c->i2c_num; in i2c_isr_handler_default() local
535 esp_err_t i2c_set_data_mode(i2c_port_t i2c_num, i2c_trans_mode_t tx_trans_mode, i2c_trans_mode_t rx… in i2c_set_data_mode()
547 esp_err_t i2c_get_data_mode(i2c_port_t i2c_num, i2c_trans_mode_t *tx_trans_mode, i2c_trans_mode_t *… in i2c_get_data_mode()
[all …]
/hal_espressif-3.6.0/examples/peripherals/i2c/i2c_self_test/main/
Di2c_example_main.c63 static esp_err_t __attribute__((unused)) i2c_master_read_slave(i2c_port_t i2c_num, uint8_t *data_rd… in i2c_master_read_slave()
93 static esp_err_t __attribute__((unused)) i2c_master_write_slave(i2c_port_t i2c_num, uint8_t *data_w… in i2c_master_write_slave()
118 static esp_err_t i2c_master_sensor_test(i2c_port_t i2c_num, uint8_t *data_h, uint8_t *data_l) in i2c_master_sensor_test()
/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/include/
Di2c_cxx.hpp129 const i2c_port_t i2c_num; member in idf::I2CBus
463 TReturn I2CTransfer<TReturn>::do_transfer(i2c_port_t i2c_num, uint8_t i2c_addr) in do_transfer()
/hal_espressif-3.6.0/components/driver/test/
Dtest_i2c.c83 static esp_err_t i2c_master_write_slave(i2c_port_t i2c_num, uint8_t *data_wr, size_t size) in i2c_master_write_slave()
625 const int i2c_num = 0; variable
699 const int i2c_num = 1; variable
/hal_espressif-3.6.0/components/hal/
Di2c_hal.c192 void i2c_hal_slave_init(i2c_hal_context_t *hal, int i2c_num) in i2c_hal_slave_init()
214 void i2c_hal_master_init(i2c_hal_context_t *hal, int i2c_num) in i2c_hal_master_init()
/hal_espressif-3.6.0/components/hal/esp32s2/include/hal/
Di2c_ll.h84 #define I2C_LL_GET_HW(i2c_num) (((i2c_num) == 0) ? &I2C0 : &I2C1) argument
86 #define I2C_LL_GET_FIFO_ADDR(i2c_num) (I2C_DATA_APB_REG(i2c_num)) argument
/hal_espressif-3.6.0/components/hal/esp32h2/include/hal/
Di2c_ll.h86 #define I2C_LL_GET_HW(i2c_num) (&I2C0) argument
88 #define I2C_LL_GET_FIFO_ADDR(i2c_num) (I2C_DATA_APB_REG(i2c_num)) argument
/hal_espressif-3.6.0/components/hal/esp32s3/include/hal/
Di2c_ll.h83 #define I2C_LL_GET_HW(i2c_num) (((i2c_num) == 0) ? &I2C0 : &I2C1) argument
85 #define I2C_LL_GET_FIFO_ADDR(i2c_num) (I2C_DATA_APB_REG(i2c_num)) argument
/hal_espressif-3.6.0/components/hal/esp32c3/include/hal/
Di2c_ll.h90 #define I2C_LL_GET_HW(i2c_num) (&I2C0) argument
92 #define I2C_LL_GET_FIFO_ADDR(i2c_num) (I2C_DATA_APB_REG(i2c_num)) argument
/hal_espressif-3.6.0/components/hal/esp32/include/hal/
Di2c_ll.h85 #define I2C_LL_GET_HW(i2c_num) (((i2c_num) == 0) ? &I2C0 : &I2C1) argument
87 #define I2C_LL_GET_FIFO_ADDR(i2c_num) (I2C_DATA_APB_REG(i2c_num)) argument