Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/pwm/
Dpwm_mcux_ftm.c27 #define PAIR_1ST_CH(pair) (pair * 2U) macro
28 #define PAIR_2ND_CH(pair) (PAIR_1ST_CH(pair) + 1)
243 FTM_ClearStatusFlags(config->base, BIT(PAIR_1ST_CH(pair)) | in mcux_ftm_enable_capture()
249 FTM_EnableInterrupts(config->base, BIT(PAIR_1ST_CH(pair)) | in mcux_ftm_enable_capture()
271 FTM_DisableInterrupts(config->base, BIT(PAIR_1ST_CH(pair)) | in mcux_ftm_disable_capture()
292 FTM_DisableInterrupts(config->base, BIT(PAIR_1ST_CH(pair))); in mcux_ftm_capture_first_edge()
319 first_cnv = config->base->CONTROLS[PAIR_1ST_CH(pair)].CnV; in mcux_ftm_capture_second_edge()
324 FTM_ClearStatusFlags(config->base, BIT(PAIR_1ST_CH(pair)) | BIT(PAIR_2ND_CH(pair))); in mcux_ftm_capture_second_edge()
377 FTM_EnableInterrupts(config->base, BIT(PAIR_1ST_CH(pair))); in mcux_ftm_capture_second_edge()