/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/tpm/ |
D | fsl_tpm.c | 316 …if (((chnlParams.dutyCyclePercent == 100U) && (mod == counterMax)) || (chnlParams.dutyCyclePercent… in TPM_SetupSinglePwmChannel() 335 if (((chnlParams.firstEdgeDelayPercent + chnlParams.dutyCyclePercent) > 100U) || in TPM_SetupSinglePwmChannel() 336 ((chnlParams.firstEdgeDelayPercent > 0U) && (chnlParams.dutyCyclePercent == 0U)) || in TPM_SetupSinglePwmChannel() 349 if (chnlParams.dutyCyclePercent == 0U) in TPM_SetupSinglePwmChannel() 354 else if (chnlParams.dutyCyclePercent == 100U) in TPM_SetupSinglePwmChannel() 362 cnv = (mod * chnlParams.dutyCyclePercent) / 100U; in TPM_SetupSinglePwmChannel() 428 if (chnlParams.dutyCyclePercent == 100U) in TPM_SetupSinglePwmChannel() 434 cnv = (mod * chnlParams.dutyCyclePercent) / 100U; in TPM_SetupSinglePwmChannel() 581 uint8_t dutyCyclePercent) in TPM_UpdatePwmDutycycle() argument 597 if (((dutyCyclePercent == 100U) && (mod == counterMax)) || (dutyCyclePercent > 100U)) in TPM_UpdatePwmDutycycle() [all …]
|
D | fsl_tpm.h | 112 uint8_t dutyCyclePercent; /*!< PWM pulse width, value should be between 0 to 100 member 467 uint8_t dutyCyclePercent);
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/pwm/ |
D | fsl_adapter_pwm_ctimer.c | 94 (ctimer_match_t)channel, setupConfig->dutyCyclePercent, in HAL_PwmSetupPwm() 114 uint8_t dutyCyclePercent) in HAL_PwmUpdateDutycycle() argument 124 duty = dutyCyclePercent; in HAL_PwmUpdateDutycycle() 128 duty = (uint8_t)100 - dutyCyclePercent; in HAL_PwmUpdateDutycycle()
|
D | fsl_adapter_pwm_ftm.c | 95 .dutyCyclePercent = setupConfig->dutyCyclePercent, in HAL_PwmSetupPwm() 121 uint8_t dutyCyclePercent) in HAL_PwmUpdateDutycycle() argument 130 dutyCyclePercent); in HAL_PwmUpdateDutycycle()
|
D | fsl_adapter_pwm_tpm.c | 93 .dutyCyclePercent = setupConfig->dutyCyclePercent, in HAL_PwmSetupPwm() 119 uint8_t dutyCyclePercent) in HAL_PwmUpdateDutycycle() argument 128 dutyCyclePercent); in HAL_PwmUpdateDutycycle()
|
D | fsl_adapter_pwm.h | 58 uint8_t dutyCyclePercent; /*!< PWM duty cycle percent */ member 156 uint8_t dutyCyclePercent);
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/ctimer/ |
D | fsl_ctimer.c | 193 uint8_t dutyCyclePercent, in CTIMER_SetupPwm() argument 234 if (dutyCyclePercent == 0U) in CTIMER_SetupPwm() 240 pulsePeriod = (period * (100U - (uint32_t)dutyCyclePercent)) / 100U; in CTIMER_SetupPwm() 350 uint8_t dutyCyclePercent) in CTIMER_UpdatePwmDutycycle() argument 358 if (dutyCyclePercent == 0U) in CTIMER_UpdatePwmDutycycle() 364 pulsePeriod = (period * (100U - (uint32_t)dutyCyclePercent)) / 100U; in CTIMER_UpdatePwmDutycycle()
|
D | fsl_ctimer.h | 271 uint8_t dutyCyclePercent, 303 uint8_t dutyCyclePercent);
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/sctimer/ |
D | fsl_sctimer.c | 307 if (pwmParams->dutyCyclePercent >= 100U) in SCTIMER_SetupPwm() 313 pulsePeriod = (uint32_t)(((uint64_t)period * pwmParams->dutyCyclePercent) / 100U); in SCTIMER_SetupPwm() 403 void SCTIMER_UpdatePwmDutycycle(SCT_Type *base, sctimer_out_t output, uint8_t dutyCyclePercent, uin… in SCTIMER_UpdatePwmDutycycle() argument 406 assert(dutyCyclePercent <= 100U); in SCTIMER_UpdatePwmDutycycle() 426 if (dutyCyclePercent >= 100U) in SCTIMER_UpdatePwmDutycycle() 442 pulsePeriod = (uint32_t)(((uint64_t)period * dutyCyclePercent) / 100U); in SCTIMER_UpdatePwmDutycycle()
|
D | fsl_sctimer.h | 88 uint8_t dutyCyclePercent; /*!< PWM pulse width, value should be between 0 to 100 member 401 void SCTIMER_UpdatePwmDutycycle(SCT_Type *base, sctimer_out_t output, uint8_t dutyCyclePercent, uin…
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/qtmr_1/ |
D | fsl_qtmr.c | 170 uint8_t dutyCyclePercent, in QTMR_SetupPwm() argument 178 if (dutyCyclePercent <= 100U) in QTMR_SetupPwm() 185 highCount = periodCount * dutyCyclePercent / 100U; in QTMR_SetupPwm() 232 if (dutyCyclePercent == 100U) in QTMR_SetupPwm() 237 else if (dutyCyclePercent == 0U) in QTMR_SetupPwm() 251 s_qtmrGetPwmDutyCycle[channel] = dutyCyclePercent; in QTMR_SetupPwm()
|
D | fsl_qtmr.h | 253 uint8_t dutyCyclePercent,
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/ftm/ |
D | fsl_ftm.c | 473 if (chnlParams->dutyCyclePercent > 100U) in FTM_SetupPwm() 478 if (chnlParams->dutyCyclePercent == 100U) in FTM_SetupPwm() 485 cnv = (mod * chnlParams->dutyCyclePercent) / 100U; in FTM_SetupPwm() 528 if ((chnlParams->firstEdgeDelayPercent + chnlParams->dutyCyclePercent) > 100U) in FTM_SetupPwm() 597 uint8_t dutyCyclePercent) in FTM_UpdatePwmDutycycle() argument 610 if (dutyCyclePercent > 100U) in FTM_UpdatePwmDutycycle() 614 if (dutyCyclePercent == 100U) in FTM_UpdatePwmDutycycle() 621 cnv = (mod * dutyCyclePercent) / 100U; in FTM_UpdatePwmDutycycle()
|
D | fsl_ftm.h | 77 uint8_t dutyCyclePercent; /*!< PWM pulse width, value should be between 0 to 100 member 506 uint8_t dutyCyclePercent);
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/qtmr_2/ |
D | fsl_qtmr.c | 160 …TMR_Type *base, uint32_t pwmFreqHz, uint8_t dutyCyclePercent, bool outputPolarity, uint32_t srcClo… in QTMR_SetupPwm() argument 166 if (dutyCyclePercent <= 100U) in QTMR_SetupPwm() 173 highCount = (periodCount * dutyCyclePercent) / 100U; in QTMR_SetupPwm()
|
D | fsl_qtmr.h | 217 …TMR_Type *base, uint32_t pwmFreqHz, uint8_t dutyCyclePercent, bool outputPolarity, uint32_t srcClo…
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/pwm/ |
D | fsl_pwm.c | 59 static inline uint16_t dutyCycleToReloadValue(uint8_t dutyCyclePercent) in dutyCycleToReloadValue() argument 62 return ((65535U * dutyCyclePercent) + 50U) / 100U; in dutyCycleToReloadValue() 322 pwmHighPulse = (pulseCnt * chnlParams->dutyCyclePercent) / 100U; in PWM_SetupPwm() 483 s_pwmGetPwmDutyCycle[subModule][chnlParams->pwmChannel] = chnlParams->dutyCyclePercent; in PWM_SetupPwm() 601 uint8_t dutyCyclePercent) in PWM_UpdatePwmDutycycle() argument 603 assert(dutyCyclePercent <= 100U); in PWM_UpdatePwmDutycycle() 605 uint16_t reloadValue = dutyCycleToReloadValue(dutyCyclePercent); in PWM_UpdatePwmDutycycle()
|
D | fsl_pwm.h | 342 uint8_t dutyCyclePercent; /*!< PWM pulse width, value should be between 0 to 100 member 544 uint8_t dutyCyclePercent);
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/led/ |
D | fsl_component_led.c | 445 setupConfig.dutyCyclePercent = 0; in LED_Init()
|