Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/adc/
Dadc_npcx.c64 uint8_t chnsel; member
460 static void adc_npcx_set_repetitive(const struct device *dev, int chnsel, in adc_npcx_set_repetitive() argument
481 t_data->repetitive_channels |= BIT(chnsel); in adc_npcx_set_repetitive()
491 t_data->repetitive_channels &= ~BIT(chnsel); in adc_npcx_set_repetitive()
536 t_ctrl->chnsel = (uint8_t)param->val; in adc_npcx_threshold_ctrl_set_param()
588 if (t_ctrl->chnsel >= config->channel_count || in adc_npcx_threshold_ctrl_setup()
597 NPCX_THRCTL_CHNSEL, t_ctrl->chnsel); in adc_npcx_threshold_ctrl_setup()
630 if (t_ctrl->chnsel >= config->channel_count || in adc_npcx_threshold_enable_irq()
655 adc_npcx_set_repetitive(dev, t_data->control[th_sel].chnsel, true); in adc_npcx_threshold_enable_irq()
698 adc_npcx_set_repetitive(dev, t_data->control[th_sel].chnsel, false); in adc_npcx_threshold_disable_irq()
/Zephyr-Core-3.7.0/drivers/sensor/nuvoton/nuvoton_adc_cmp_npcx/
Dadc_cmp_npcx.c36 uint8_t chnsel; member
74 param.val = (uint32_t)config->chnsel; in adc_cmp_npcx_init()
258 .chnsel = DT_INST_IO_CHANNELS_INPUT(inst), \