Home
last modified time | relevance | path

Searched refs:BMA280_ACCEL_LSB_BITS (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/sensor/bosch/bma280/
Dbma280.h100 #define BMA280_ACCEL_LSB_BITS 4 macro
103 #define BMA280_ACCEL_LSB_BITS 6 macro
107 (BIT_MASK(BMA280_ACCEL_LSB_BITS) << BMA280_ACCEL_LSB_SHIFT)
Dbma280.c40 drv_data->x_sample = (((int8_t)buf[1]) << BMA280_ACCEL_LSB_BITS) | lsb; in bma280_sample_fetch()
43 drv_data->y_sample = (((int8_t)buf[3]) << BMA280_ACCEL_LSB_BITS) | lsb; in bma280_sample_fetch()
46 drv_data->z_sample = (((int8_t)buf[5]) << BMA280_ACCEL_LSB_BITS) | lsb; in bma280_sample_fetch()
66 (1 << (8 + BMA280_ACCEL_LSB_BITS)); in bma280_channel_accel_convert()