zephyr/drivers/sensor/bme680
Jan Kuliga 2ddd221120 bme680: Rework setting the spi_mem_page accordingly to the datasheet
According to the BME680 datasheet, only the spi_mem_page bit can be
changed in its 8-bit register. Therefore we shouldn't just write 0s
to the remaining bits, but update the register content in read-modify-write
fashion instead.
Rework the bme680_set_mem_page(), bme680_init() and register-access
macros.

Signed-off-by: Jan Kuliga <jtkuliga@gmail.com>
2022-08-18 12:44:18 +02:00
..
CMakeLists.txt
Kconfig
bme680.c bme680: Rework setting the spi_mem_page accordingly to the datasheet 2022-08-18 12:44:18 +02:00
bme680.h bme680: Rework setting the spi_mem_page accordingly to the datasheet 2022-08-18 12:44:18 +02:00
bme680_i2c.c
bme680_spi.c bme680: Rework setting the spi_mem_page accordingly to the datasheet 2022-08-18 12:44:18 +02:00