Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/adc/
Dadc_npcx.c94 uint8_t active_thresholds; member
224 t_data->active_thresholds) { in adc_npcx_isr()
243 if (!(IS_ENABLED(CONFIG_ADC_CMP_NPCX) && t_data->active_thresholds)) { in adc_npcx_isr()
581 if (t_data->active_thresholds & BIT(th_sel)) { in adc_npcx_threshold_ctrl_setup()
639 t_data->active_thresholds |= BIT(th_sel); in adc_npcx_threshold_enable_irq()
680 if (!(t_data->active_thresholds & BIT(th_sel))) { in adc_npcx_threshold_disable_irq()
696 t_data->active_thresholds &= ~BIT(th_sel); in adc_npcx_threshold_disable_irq()