Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/nordic/npm2100_vbat/
Dnpm2100_vbat.c53 #define ADC_CONFIG_AVG_MASK 0x38U macro
207 BIT(FIELD_GET(ADC_CONFIG_AVG_MASK, data->adc[idx].config)); in npm2100_vbat_sample_fetch()
283 .val1 = FIELD_GET(ADC_CONFIG_AVG_MASK, adc_cfg->config), .val2 = 0}; in npm2100_vbat_attr_get()
417 adc_cfg->config &= ~ADC_CONFIG_AVG_MASK; in npm2100_vbat_attr_set()
418 adc_cfg->config |= FIELD_PREP(ADC_CONFIG_AVG_MASK, oversample); in npm2100_vbat_attr_set()