Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/adc/
Dadc_npcx.c53 const uint8_t threshold_count; member
97 control[DT_INST_PROP(0, threshold_count)];
248 for (uint8_t i = 0; i < config->threshold_count; i++) { in adc_npcx_isr()
253 ~GENMASK(config->threshold_count - 1, 0); in adc_npcx_isr()
525 if (!param || th_sel >= config->threshold_count) { in adc_npcx_threshold_ctrl_set_param()
575 if (th_sel >= config->threshold_count) { in adc_npcx_threshold_ctrl_setup()
624 if (th_sel >= config->threshold_count) { in adc_npcx_threshold_enable_irq()
642 thrcts = inst->THRCTS & ~GENMASK(config->threshold_count - 1, 0); in adc_npcx_threshold_enable_irq()
674 if (th_sel >= config->threshold_count) { in adc_npcx_threshold_disable_irq()
686 thrcts = inst->THRCTS & ~GENMASK(config->threshold_count - 1, 0); in adc_npcx_threshold_disable_irq()
[all …]
/Zephyr-latest/drivers/sensor/nuvoton/nuvoton_adc_cmp_npcx/
Dadc_cmp_npcx.c271 DT_PROP(DT_INST_IO_CHANNELS_CTLR(inst), threshold_count), \