Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/pwm/
Dpwm_mcux_ftm.c28 #define PAIR_2ND_CH(pair) (PAIR_1ST_CH(pair) + 1) macro
93 if (irqs & BIT(PAIR_2ND_CH(pair))) { in mcux_ftm_set_cycles()
167 if (FTM_GetEnabledInterrupts(config->base) & BIT(PAIR_2ND_CH(pair))) { in mcux_ftm_configure_capture()
238 if (FTM_GetEnabledInterrupts(config->base) & BIT(PAIR_2ND_CH(pair))) { in mcux_ftm_enable_capture()
244 BIT(PAIR_2ND_CH(pair))); in mcux_ftm_enable_capture()
250 BIT(PAIR_2ND_CH(pair))); in mcux_ftm_enable_capture()
272 BIT(PAIR_2ND_CH(pair))); in mcux_ftm_disable_capture()
320 second_cnv = config->base->CONTROLS[PAIR_2ND_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()
327 FTM_ClearStatusFlags(config->base, BIT(PAIR_2ND_CH(pair))); in mcux_ftm_capture_second_edge()
[all …]