Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/drivers/adc/
Dadc_npcx_threshold.h52 uint32_t *thrval);
/Zephyr-latest/drivers/adc/
Dadc_npcx.c73 uint16_t thrval; member
548 t_ctrl->thrval = (uint16_t)param->val; in adc_npcx_threshold_ctrl_set_param()
589 t_ctrl->thrval >= api->ref_internal || in adc_npcx_threshold_ctrl_setup()
590 t_ctrl->thrval == 0 || t_ctrl->work == 0) { in adc_npcx_threshold_ctrl_setup()
606 t_ctrl->thrval); in adc_npcx_threshold_ctrl_setup()
631 t_ctrl->thrval >= api->ref_internal || in adc_npcx_threshold_enable_irq()
632 t_ctrl->thrval == 0 || t_ctrl->work == 0) { in adc_npcx_threshold_enable_irq()
729 uint32_t *thrval) in adc_npcx_threshold_mv_to_thrval() argument
741 *thrval = (val_mv << ADC_NPCX_THRVAL_RESOLUTION) / in adc_npcx_threshold_mv_to_thrval()