Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/examples/peripherals/i2c/i2c_self_test/main/
Di2c_example_main.c45 #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/
Dcmd_i2ctools.c18 #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/
Dtest_i2c.c63 #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()