Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/meas/ms5607/
Dms5607_i2c.c39 uint8_t valb[2]; in ms5607_i2c_read_prom() local
42 err = i2c_burst_read_dt(&config->bus_cfg.i2c, cmd, valb, sizeof(valb)); in ms5607_i2c_read_prom()
47 *val = sys_get_be16(valb); in ms5607_i2c_read_prom()
61 uint8_t valb[3]; in ms5607_i2c_read_adc() local
63 err = i2c_burst_read_dt(&config->bus_cfg.i2c, MS5607_CMD_CONV_READ_ADC, valb, sizeof(valb)); in ms5607_i2c_read_adc()
68 *val = (valb[0] << 16) + (valb[1] << 8) + valb[2]; in ms5607_i2c_read_adc()