Searched refs:WRITE_BIT (Results 1 – 3 of 3) sorted by relevance
/hal_espressif-3.6.0/examples/peripherals/i2c/i2c_tools/main/ |
D | cmd_i2ctools.c | 17 #define WRITE_BIT I2C_MASTER_WRITE /*!< I2C master write */ 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() 269 i2c_master_write_byte(cmd, chip_addr << 1 | WRITE_BIT, 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()
|
/hal_espressif-3.6.0/examples/peripherals/i2c/i2c_self_test/main/ |
D | i2c_example_main.c | 44 #define WRITE_BIT I2C_MASTER_WRITE /*!< I2C master write */ macro 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()
|
/hal_espressif-3.6.0/components/driver/test/ |
D | test_i2c.c | 62 #define WRITE_BIT I2C_MASTER_WRITE /*!< I2C master write */ macro 87 TEST_ESP_OK(i2c_master_write_byte(cmd, ( ESP_SLAVE_ADDR << 1 ) | WRITE_BIT, ACK_CHECK_EN)); in i2c_master_write_slave()
|