Searched refs:THRCTL (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/adc/ |
D | adc_npcx.c | 174 THRCTL(config->base, th_sel) |= BIT(NPCX_THRCTL_THEN); in adc_npcx_enable_threshold_detect() 181 THRCTL(config->base, th_sel) &= ~BIT(NPCX_THRCTL_THEN); in adc_npcx_enable_threshold_detect() 596 SET_FIELD(THRCTL(config->base, th_sel), in adc_npcx_threshold_ctrl_setup() 600 THRCTL(config->base, th_sel) |= BIT(NPCX_THRCTL_L_H); in adc_npcx_threshold_ctrl_setup() 602 THRCTL(config->base, th_sel) &= ~BIT(NPCX_THRCTL_L_H); in adc_npcx_threshold_ctrl_setup() 605 SET_FIELD(THRCTL(config->base, th_sel), NPCX_THRCTL_THRVAL, in adc_npcx_threshold_ctrl_setup()
|
/Zephyr-latest/soc/nuvoton/npcx/common/reg/ |
D | reg_def.h | 519 #define THRCTL(base, ctrl) \ macro
|