/hal_espressif-3.6.0/examples/peripherals/i2c/i2c_tools/main/ |
D | cmd_i2ctools.c | 127 i2c_master_write_byte(cmd, (address << 1) | WRITE_BIT, ACK_CHECK_EN); in do_i2cdetect_cmd() 192 i2c_master_write_byte(cmd, chip_addr << 1 | WRITE_BIT, ACK_CHECK_EN); in do_i2cget_cmd() 193 i2c_master_write_byte(cmd, data_addr, ACK_CHECK_EN); in do_i2cget_cmd() 196 i2c_master_write_byte(cmd, chip_addr << 1 | READ_BIT, ACK_CHECK_EN); in do_i2cget_cmd() 269 i2c_master_write_byte(cmd, chip_addr << 1 | WRITE_BIT, ACK_CHECK_EN); in do_i2cset_cmd() 271 i2c_master_write_byte(cmd, data_addr, ACK_CHECK_EN); in do_i2cset_cmd() 274 i2c_master_write_byte(cmd, i2cset_args.data->ival[i], ACK_CHECK_EN); in do_i2cset_cmd() 345 i2c_master_write_byte(cmd, chip_addr << 1 | WRITE_BIT, ACK_CHECK_EN); in do_i2cdump_cmd() 346 i2c_master_write_byte(cmd, data_addr, ACK_CHECK_EN); in do_i2cdump_cmd() 348 i2c_master_write_byte(cmd, chip_addr << 1 | READ_BIT, ACK_CHECK_EN); in do_i2cdump_cmd()
|
/hal_espressif-3.6.0/examples/peripherals/i2c/i2c_self_test/main/ |
D | i2c_example_main.c | 70 i2c_master_write_byte(cmd, (ESP_SLAVE_ADDR << 1) | READ_BIT, ACK_CHECK_EN); in i2c_master_read_slave() 97 i2c_master_write_byte(cmd, (ESP_SLAVE_ADDR << 1) | WRITE_BIT, ACK_CHECK_EN); in i2c_master_write_slave() 123 i2c_master_write_byte(cmd, BH1750_SENSOR_ADDR << 1 | WRITE_BIT, ACK_CHECK_EN); in i2c_master_sensor_test() 124 i2c_master_write_byte(cmd, BH1750_CMD_START, ACK_CHECK_EN); in i2c_master_sensor_test() 134 i2c_master_write_byte(cmd, BH1750_SENSOR_ADDR << 1 | READ_BIT, ACK_CHECK_EN); in i2c_master_sensor_test()
|
/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/ |
D | i2c_cxx.cpp | 127 I2C_CHECK_THROW(i2c_master_write_byte(handle, i2c_addr << 1 | I2C_MASTER_WRITE, true)); in queue_cmd() 139 I2C_CHECK_THROW(i2c_master_write_byte(handle, i2c_addr << 1 | I2C_MASTER_READ, true)); in queue_cmd() 153 I2C_CHECK_THROW(i2c_master_write_byte(handle, i2c_addr << 1 | I2C_MASTER_READ, true)); in queue_cmd() 164 I2C_CHECK_THROW(i2c_master_write_byte(handle, i2c_addr << 1 | I2C_MASTER_WRITE, true)); in queue_cmd()
|
/hal_espressif-3.6.0/docs/zh_CN/api-reference/peripherals/ |
D | i2c.rst | 241 b) **从机地址** - :cpp:func:`i2c_master_write_byte`。提供单字节地址作为调用此函数的实参。 245 … 函数 :cpp:func:`i2c_master_write_byte` 和 :cpp:func:`i2c_master_write` 都有额外的实参,规定主机是否应确认其有无接受到 ACK 位。 276 i2c_master_write_byte(cmd, (ESP_SLAVE_ADDR << 1) | I2C_MASTER_WRITE, ACK_EN); 282 i2c_master_write_byte(cmd, (ESP_SLAVE_ADDR << 1) | I2C_MASTER_READ, ACK_EN);
|
/hal_espressif-3.6.0/components/esp_lcd/src/ |
D | esp_lcd_panel_io_i2c.c | 87 …ESP_GOTO_ON_ERROR(i2c_master_write_byte(cmd_link, (i2c_panel_io->dev_addr << 1) | I2C_MASTER_WRITE… in panel_io_i2c_tx_buffer() 88 …ESP_GOTO_ON_ERROR(i2c_master_write_byte(cmd_link, is_param ? i2c_panel_io->control_phase_cmd : i2c… in panel_io_i2c_tx_buffer()
|
/hal_espressif-3.6.0/components/driver/test/ |
D | test_i2c.c | 87 TEST_ESP_OK(i2c_master_write_byte(cmd, ( ESP_SLAVE_ADDR << 1 ) | WRITE_BIT, ACK_CHECK_EN)); in i2c_master_write_slave() 363 i2c_master_write_byte(cmd, ( ESP_SLAVE_ADDR << 1 ) | READ_BIT, ACK_CHECK_EN); in master_read_slave_test() 424 i2c_master_write_byte(cmd, ( ESP_SLAVE_ADDR << 1 ) | READ_BIT, ACK_CHECK_EN); in i2c_master_write_read_test()
|
/hal_espressif-3.6.0/components/driver/ |
D | i2c.c | 914 err = i2c_master_write_byte(handle, device_address << 1 | I2C_MASTER_WRITE, true); in i2c_master_write_to_device() 948 err = i2c_master_write_byte(handle, device_address << 1 | I2C_MASTER_READ, true); in i2c_master_read_from_device() 983 err = i2c_master_write_byte(handle, device_address << 1 | I2C_MASTER_WRITE, true); in i2c_master_write_read_device() 998 err = i2c_master_write_byte(handle, device_address << 1 | I2C_MASTER_READ, true); in i2c_master_write_read_device() 1174 return i2c_master_write_byte(cmd_handle, *data, ack_en); in i2c_master_write() 1189 esp_err_t i2c_master_write_byte(i2c_cmd_handle_t cmd_handle, uint8_t data, bool ack_en) in i2c_master_write_byte() function
|
/hal_espressif-3.6.0/components/driver/include/driver/ |
D | i2c.h | 353 esp_err_t i2c_master_write_byte(i2c_cmd_handle_t cmd_handle, uint8_t data, bool ack_en);
|
/hal_espressif-3.6.0/tools/test_apps/peripherals/i2c_wifi/main/ |
D | i2c_wifi_main.c | 128 i2c_master_write_byte(cmd, (I2C_SLAVE_ADDR << 1) | I2C_MASTER_WRITE, I2C_ACK_CHECK_DIS); in i2c_master_write_to_slave()
|
/hal_espressif-3.6.0/docs/en/api-reference/peripherals/ |
D | i2c.rst | 241 …b) **Slave address** - :cpp:func:`i2c_master_write_byte`. The single byte address is provided as a… 245 …Both functions :cpp:func:`i2c_master_write_byte` and :cpp:func:`i2c_master_write` have an addition… 276 i2c_master_write_byte(cmd, (ESP_SLAVE_ADDR << 1) | I2C_MASTER_WRITE, ACK_EN); 282 i2c_master_write_byte(cmd, (ESP_SLAVE_ADDR << 1) | I2C_MASTER_READ, ACK_EN);
|
/hal_espressif-3.6.0/docs/_static/diagrams/ |
D | i2c-command-link-master-write-blockdiag.diag | 52 a7 [label="i2c_master_write_byte(cmd, Address, ACK)", numbered = 3];
|
D | i2c-command-link-master-read-blockdiag.diag | 53 a7 [label="i2c_master_write_byte(cmd, Address, ACK)", numbered = 3];
|