Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/examples/peripherals/i2c/i2c_tools/main/
Dcmd_i2ctools.c19 #define ACK_CHECK_EN 0x1 /*!< I2C master will check ack from slave*/ macro
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()
[all …]
/hal_espressif-3.6.0/examples/peripherals/i2c/i2c_self_test/main/
Di2c_example_main.c46 #define ACK_CHECK_EN 0x1 /*!< I2C master will check ack from slave*/ macro
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()
98 i2c_master_write(cmd, data_wr, size, 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/components/driver/test/
Dtest_i2c.c64 #define ACK_CHECK_EN 0x1 /*!< I2C master will check ack from slave*/ macro
87 TEST_ESP_OK(i2c_master_write_byte(cmd, ( ESP_SLAVE_ADDR << 1 ) | WRITE_BIT, ACK_CHECK_EN)); in i2c_master_write_slave()
88 TEST_ESP_OK(i2c_master_write(cmd, data_wr, size, 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()