Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/bosch/bmp388/
Dbmp388.c230 struct bmp388_data *bmp3xx = dev->data; in bmp388_sample_fetch() local
265 bmp3xx->sample.press = sys_get_le24(&raw[0]); in bmp388_sample_fetch()
266 bmp3xx->sample.raw_temp = sys_get_le24(&raw[3]); in bmp388_sample_fetch()
267 bmp3xx->sample.comp_temp = 0; in bmp388_sample_fetch()
472 struct bmp388_data *bmp3xx = dev->data; in bmp388_init() local
494 if (val != bmp3xx->chip_id) { in bmp388_init()
506 if (bmp388_reg_field_update(dev, BMP388_REG_ODR, BMP388_ODR_MASK, bmp3xx->odr) < 0) { in bmp388_init()
512 val = (bmp3xx->osr_pressure << BMP388_OSR_PRESSURE_POS); in bmp388_init()
513 val |= (bmp3xx->osr_temp << BMP388_OSR_TEMP_POS); in bmp388_init()