Searched refs:READ_BIT (Results 1 – 3 of 3) sorted by relevance
/hal_espressif-3.6.0/examples/peripherals/i2c/i2c_self_test/main/ |
D | i2c_example_main.c | 45 #define READ_BIT I2C_MASTER_READ /*!< I2C master read */ macro 70 i2c_master_write_byte(cmd, (ESP_SLAVE_ADDR << 1) | READ_BIT, ACK_CHECK_EN); in i2c_master_read_slave() 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/peripherals/i2c/i2c_tools/main/ |
D | cmd_i2ctools.c | 18 #define READ_BIT I2C_MASTER_READ /*!< I2C master read */ macro 196 i2c_master_write_byte(cmd, chip_addr << 1 | READ_BIT, ACK_CHECK_EN); in do_i2cget_cmd() 348 i2c_master_write_byte(cmd, chip_addr << 1 | READ_BIT, ACK_CHECK_EN); in do_i2cdump_cmd()
|
/hal_espressif-3.6.0/components/driver/test/ |
D | test_i2c.c | 63 #define READ_BIT I2C_MASTER_READ /*!< I2C master read */ macro 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()
|