Home
last modified time | relevance | path

Searched refs:i2c_port_t (Results 1 – 12 of 12) sorted by relevance

/hal_espressif-3.6.0/components/driver/include/driver/
Di2c.h110 esp_err_t i2c_driver_install(i2c_port_t i2c_num, i2c_mode_t mode, size_t slv_rx_buf_len, size_t slv…
124 esp_err_t i2c_driver_delete(i2c_port_t i2c_num);
136 esp_err_t i2c_param_config(i2c_port_t i2c_num, const i2c_config_t *i2c_conf);
147 esp_err_t i2c_reset_tx_fifo(i2c_port_t i2c_num);
158 esp_err_t i2c_reset_rx_fifo(i2c_port_t i2c_num);
174 esp_err_t i2c_isr_register(i2c_port_t i2c_num, void (*fn)(void *), void *arg, int intr_alloc_flags,…
201 esp_err_t i2c_set_pin(i2c_port_t i2c_num, int sda_io_num, int scl_io_num,
222 esp_err_t i2c_master_write_to_device(i2c_port_t i2c_num, uint8_t device_address,
244 esp_err_t i2c_master_read_from_device(i2c_port_t i2c_num, uint8_t device_address,
270 esp_err_t i2c_master_write_read_device(i2c_port_t i2c_num, uint8_t device_address,
[all …]
/hal_espressif-3.6.0/components/driver/
Di2c.c210 static void IRAM_ATTR i2c_master_cmd_begin_static(i2c_port_t i2c_num);
211 static esp_err_t IRAM_ATTR i2c_hw_fsm_reset(i2c_port_t i2c_num);
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()
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/cxx/experimental/experimental_cpp_component/include/
Di2c_cxx.hpp77 TReturn do_transfer(i2c_port_t i2c_num, uint8_t i2c_addr);
119 I2CBus(i2c_port_t i2c_number);
129 const i2c_port_t i2c_num;
157 I2CMaster(i2c_port_t i2c_number,
276 I2CSlave(i2c_port_t i2c_number,
463 TReturn I2CTransfer<TReturn>::do_transfer(i2c_port_t i2c_num, uint8_t i2c_addr) in do_transfer()
/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/
Di2c_cxx.cpp29 I2CBus::I2CBus(i2c_port_t i2c_number) : i2c_num(i2c_number) { } in I2CBus()
33 I2CMaster::I2CMaster(i2c_port_t i2c_number, in I2CMaster()
84 I2CSlave::I2CSlave(i2c_port_t i2c_number, in I2CSlave()
/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/components/hal/include/hal/
Di2c_hal.h131 void i2c_hal_master_init(i2c_hal_context_t *hal, i2c_port_t i2c_num);
141 void i2c_hal_slave_init(i2c_hal_context_t *hal, i2c_port_t i2c_num);
Di2c_types.h28 typedef int i2c_port_t; typedef
/hal_espressif-3.6.0/tools/test_apps/peripherals/i2c_wifi/main/
Di2c_wifi_main.c104 i2c_port_t i2c_master_port = I2C_MASTER_NUM_PORT; in i2c_master_init()
174 i2c_port_t i2c_slave_port = I2C_SLAVE_NUM_PORT; in i2c_slave_init()
/hal_espressif-3.6.0/examples/peripherals/i2c/i2c_tools/main/
Dcmd_i2ctools.c38 static i2c_port_t i2c_port = I2C_NUM_0;
40 static esp_err_t i2c_get_port(int port, i2c_port_t *i2c_port) in i2c_get_port()
/hal_espressif-3.6.0/docs/zh_CN/api-reference/peripherals/
Di2c.rst206 - 端口号,从 :cpp:type:`i2c_port_t` 中二选一
/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()
/hal_espressif-3.6.0/docs/en/api-reference/peripherals/
Di2c.rst206 - Port number, one of the two port numbers from :cpp:type:`i2c_port_t`