Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/sensor/microchip/tcn75a/
Dtcn75a.c21 uint8_t adc_conf[2] = {TCN75A_CONFIG_REG, 0x0}; in tcn75a_sample_fetch() local
29 adc_conf[1] = TCN75A_CONFIG_ONEDOWN; in tcn75a_sample_fetch()
30 ret = i2c_write_dt(&config->i2c_spec, adc_conf, 2); in tcn75a_sample_fetch()
79 uint8_t adc_conf[2] = {TCN75A_CONFIG_REG, 0x0}; in tcn75a_init() local
87 adc_conf[1] |= TCN75A_CONFIG_RES(config->resolution); in tcn75a_init()
90 if (adc_conf[1] != 0) { in tcn75a_init()
95 adc_conf[1] |= TCN75A_CONFIG_SHUTDOWN; in tcn75a_init()
115 return i2c_write_dt(&config->i2c_spec, adc_conf, 2); in tcn75a_init()
/Zephyr-Core-3.7.0/drivers/adc/
Dadc_ad559x.c37 uint8_t adc_conf; member
58 data->adc_conf |= BIT(channel_cfg->channel_id); in adc_ad559x_channel_setup()
60 return mfd_ad559x_write_reg(config->mfd_dev, AD559X_REG_ADC_CONFIG, data->adc_conf); in adc_ad559x_channel_setup()