Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/examples/peripherals/i2c/i2c_tools/main/
Dcmd_i2ctools.c127 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/
Di2c_example_main.c70 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/
Di2c_cxx.cpp127 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/
Di2c.rst241 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/
Desp_lcd_panel_io_i2c.c87 …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/
Dtest_i2c.c87 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/
Di2c.c914 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/
Di2c.h353 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/
Di2c_wifi_main.c128 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/
Di2c.rst241 …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/
Di2c-command-link-master-write-blockdiag.diag52 a7 [label="i2c_master_write_byte(cmd, Address, ACK)", numbered = 3];
Di2c-command-link-master-read-blockdiag.diag53 a7 [label="i2c_master_write_byte(cmd, Address, ACK)", numbered = 3];