Lines Matching +full:reset +full:- +full:val
4 * SPDX-License-Identifier: Apache-2.0
22 return i2c_write_dt(&config->bus_cfg.i2c, &cmd, 1); in ms5607_i2c_raw_cmd()
37 uint16_t *val) in ms5607_i2c_read_prom() argument
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()
58 static int ms5607_i2c_read_adc(const struct ms5607_config *config, uint32_t *val) in ms5607_i2c_read_adc() argument
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()
76 if (!device_is_ready(config->bus_cfg.i2c.bus)) { in ms5607_i2c_check()
78 return -ENODEV; in ms5607_i2c_check()
86 .reset = ms5607_i2c_reset,