Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/tpm/
Dfsl_tpm.c480 uint32_t pwmFreq_Hz, in TPM_SetupPwm() argument
490 if ((0U == pwmFreq_Hz) || (0U == srcClock_Hz) || (0U == numOfChnls) || (tpmClock < pwmFreq_Hz)) in TPM_SetupPwm()
502 mod = (tpmClock / pwmFreq_Hz) - 1U; in TPM_SetupPwm()
517 mod = tpmClock / (pwmFreq_Hz * 2u); in TPM_SetupPwm()
Dfsl_tpm.h448 uint32_t pwmFreq_Hz,
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/sctimer/
Dfsl_sctimer.c268 uint32_t pwmFreq_Hz, in SCTIMER_SetupPwm() argument
274 assert(0U != pwmFreq_Hz); in SCTIMER_SetupPwm()
299 period = (sctClock / pwmFreq_Hz) - 1U; in SCTIMER_SetupPwm()
303 period = sctClock / (pwmFreq_Hz * 2U); in SCTIMER_SetupPwm()
Dfsl_sctimer.h386 uint32_t pwmFreq_Hz,
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/ctimer/
Dfsl_ctimer.c194 uint32_t pwmFreq_Hz, in CTIMER_SetupPwm() argument
198 assert(pwmFreq_Hz > 0U); in CTIMER_SetupPwm()
231 period = (timerClock / pwmFreq_Hz) - 1U; in CTIMER_SetupPwm()
Dfsl_ctimer.h272 uint32_t pwmFreq_Hz,
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/pwm/
Dfsl_pwm.c292 uint32_t pwmFreq_Hz, in PWM_SetupPwm() argument
296 assert(pwmFreq_Hz); in PWM_SetupPwm()
316 pulseCnt = (uint16_t)(pwmClock / pwmFreq_Hz); in PWM_SetupPwm()
509 uint32_t pwmFreq_Hz, in PWM_SetupPwmPhaseShift() argument
514 assert(pwmFreq_Hz != 0U); in PWM_SetupPwmPhaseShift()
527 pulseCnt = (uint16_t)(pwmClock / pwmFreq_Hz); in PWM_SetupPwmPhaseShift()
Dfsl_pwm.h500 uint32_t pwmFreq_Hz,
520 uint32_t pwmFreq_Hz,
/hal_nxp-3.5.0/mcux/mcux-sdk/components/pwm/
Dfsl_adapter_pwm.h57 uint32_t pwmFreq_Hz; /*!< PWM frequency */ member
Dfsl_adapter_pwm_ctimer.c95 … setupConfig->pwmFreq_Hz, halPwmState->pwmClock_Hz, false)) in HAL_PwmSetupPwm()
Dfsl_adapter_pwm_ftm.c102 (ftm_pwm_mode_t)setupConfig->mode, setupConfig->pwmFreq_Hz, in HAL_PwmSetupPwm()
Dfsl_adapter_pwm_tpm.c100 … (tpm_pwm_mode_t)setupConfig->mode, setupConfig->pwmFreq_Hz, in HAL_PwmSetupPwm()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/ftm/
Dfsl_ftm.c427 uint32_t pwmFreq_Hz, in FTM_SetupPwm() argument
437 if ((0U == pwmFreq_Hz) || (0U == srcClock_Hz) || (0U == numOfChnls)) in FTM_SetupPwm()
445 mod = ftmClock / (pwmFreq_Hz * 2U); in FTM_SetupPwm()
450 mod = (ftmClock / pwmFreq_Hz) - 1U; in FTM_SetupPwm()
Dfsl_ftm.h487 uint32_t pwmFreq_Hz,
/hal_nxp-3.5.0/mcux/mcux-sdk/components/led/
Dfsl_component_led.c450 setupConfig.pwmFreq_Hz = 1000U; in LED_Init()