Searched refs:BMA280_ACCEL_LSB_BITS (Results 1 – 2 of 2) sorted by relevance
100 #define BMA280_ACCEL_LSB_BITS 4 macro103 #define BMA280_ACCEL_LSB_BITS 6 macro107 (BIT_MASK(BMA280_ACCEL_LSB_BITS) << BMA280_ACCEL_LSB_SHIFT)
40 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()