Searched refs:matchChannel (Results 1 – 2 of 2) sorted by relevance
/trusted-firmware-m-3.4.0/platform/ext/target/nxp/common/Native_Driver/drivers/ |
D | fsl_ctimer.c | 192 ctimer_match_t matchChannel, in CTIMER_SetupPwm() argument 205 if (matchChannel == pwmPeriodChannel) in CTIMER_SetupPwm() 211 base->PWMC |= (1UL << (uint32_t)matchChannel); in CTIMER_SetupPwm() 217 << ((uint32_t)matchChannel * 3U)); in CTIMER_SetupPwm() 222 …g |= (((uint32_t)CTIMER_MCR_MR0I_MASK) << (CTIMER_MCR_MR0I_SHIFT + ((uint32_t)matchChannel * 3U))); in CTIMER_SetupPwm() 247 base->MR[matchChannel] = pulsePeriod; in CTIMER_SetupPwm() 249 CTIMER_ClearStatusFlags(base, ((uint32_t)CTIMER_IR_MR0INT_MASK) << (uint32_t)matchChannel); in CTIMER_SetupPwm() 282 ctimer_match_t matchChannel, in CTIMER_SetupPwmPeriod() argument 295 if (matchChannel == pwmPeriodChannel) in CTIMER_SetupPwmPeriod() 301 base->PWMC |= (1UL << (uint32_t)matchChannel); in CTIMER_SetupPwmPeriod() [all …]
|
D | fsl_ctimer.h | 244 ctimer_match_t matchChannel, 270 ctimer_match_t matchChannel, 283 static inline void CTIMER_UpdatePwmPulsePeriod(CTIMER_Type *base, ctimer_match_t matchChannel, uint… in CTIMER_UpdatePwmPulsePeriod() argument 286 base->MR[matchChannel] = pulsePeriod; in CTIMER_UpdatePwmPulsePeriod() 302 ctimer_match_t matchChannel, 316 void CTIMER_SetupMatch(CTIMER_Type *base, ctimer_match_t matchChannel, const ctimer_match_config_t … 331 uint32_t CTIMER_GetOutputMatchStatus(CTIMER_Type *base, uint32_t matchChannel);
|