Searched refs:DEVICE_ADDRESS (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/drivers/i2c/i2c_bme688/src/ |
D | main.c | 14 #define DEVICE_ADDRESS (uint8_t) DT_REG_ADDR(SENSOR_NODE) macro 26 err = i2c_reg_read_byte(i2c_device, DEVICE_ADDRESS, register_address, &response); in read_sensor_register() 41 err = i2c_burst_read(i2c_device, DEVICE_ADDRESS, starting_register_address, data_buffer, in burst_read_sensor_registers() 54 err = i2c_reg_write_byte(i2c_device, DEVICE_ADDRESS, register_address, value); in write_sensor_register() 207 TC_PRINT("Device address 0x%x\n", DEVICE_ADDRESS); in ZTEST() 214 DEVICE_ADDRESS); in ZTEST() 223 TC_PRINT("Device address 0x%x\n", DEVICE_ADDRESS); in ZTEST() 225 err = i2c_read(i2c_device, &test_data, 1, DEVICE_ADDRESS + 1); in ZTEST() 228 err = i2c_reg_read_byte(i2c_device, DEVICE_ADDRESS, CHIP_ID_REGISTER_ADDRESS, &test_data); in ZTEST() 238 TC_PRINT("Device address 0x%x\n", DEVICE_ADDRESS); in ZTEST() [all …]
|