/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/tpm/ |
D | fsl_tpm.c | 329 …if (((chnlParams.dutyCyclePercent == 100U) && (mod == counterMax)) || (chnlParams.dutyCyclePercent… in TPM_SetupSinglePwmChannel() 348 if (((chnlParams.firstEdgeDelayPercent + chnlParams.dutyCyclePercent) > 100U) || in TPM_SetupSinglePwmChannel() 349 ((chnlParams.firstEdgeDelayPercent > 0U) && (chnlParams.dutyCyclePercent == 0U)) || in TPM_SetupSinglePwmChannel() 362 if (chnlParams.dutyCyclePercent == 0U) in TPM_SetupSinglePwmChannel() 367 else if (chnlParams.dutyCyclePercent == 100U) in TPM_SetupSinglePwmChannel() 375 cnv = (mod * chnlParams.dutyCyclePercent) / 100U; in TPM_SetupSinglePwmChannel() 441 if (chnlParams.dutyCyclePercent == 100U) in TPM_SetupSinglePwmChannel() 447 cnv = (mod * chnlParams.dutyCyclePercent) / 100U; in TPM_SetupSinglePwmChannel() 594 uint8_t dutyCyclePercent) in TPM_UpdatePwmDutycycle() argument 610 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.7.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.7.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.7.0/mcux/mcux-sdk/drivers/sctimer/ |
D | fsl_sctimer.c | 308 if (pwmParams->dutyCyclePercent >= 100U) in SCTIMER_SetupPwm() 314 pulsePeriod = (uint32_t)(((uint64_t)period * pwmParams->dutyCyclePercent) / 100U); in SCTIMER_SetupPwm() 404 void SCTIMER_UpdatePwmDutycycle(SCT_Type *base, sctimer_out_t output, uint8_t dutyCyclePercent, uin… in SCTIMER_UpdatePwmDutycycle() argument 407 assert(dutyCyclePercent <= 100U); in SCTIMER_UpdatePwmDutycycle() 427 if (dutyCyclePercent >= 100U) in SCTIMER_UpdatePwmDutycycle() 443 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.7.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.7.0/mcux/mcux-sdk/drivers/ftm/ |
D | fsl_ftm.c | 479 if (chnlParams->dutyCyclePercent > 100U) in FTM_SetupPwm() 484 if (chnlParams->dutyCyclePercent == 100U) in FTM_SetupPwm() 491 cnv = (mod * chnlParams->dutyCyclePercent) / 100U; in FTM_SetupPwm() 534 if ((chnlParams->firstEdgeDelayPercent + chnlParams->dutyCyclePercent) > 100U) in FTM_SetupPwm() 603 uint8_t dutyCyclePercent) in FTM_UpdatePwmDutycycle() argument 616 if (dutyCyclePercent > 100U) in FTM_UpdatePwmDutycycle() 620 if (dutyCyclePercent == 100U) in FTM_UpdatePwmDutycycle() 627 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.7.0/mcux/mcux-sdk/drivers/pwm/ |
D | fsl_pwm.c | 72 static inline uint16_t dutyCycleToReloadValue(uint8_t dutyCyclePercent) in dutyCycleToReloadValue() argument 75 return ((65535U * dutyCyclePercent) + 50U) / 100U; in dutyCycleToReloadValue() 504 pwmHighPulse = (pulseCnt * chnlParams->dutyCyclePercent) / 100U; in PWM_SetupPwm() 566 s_pwmGetPwmDutyCycle[subModule][chnlParams->pwmChannel] = chnlParams->dutyCyclePercent; in PWM_SetupPwm() 684 uint8_t dutyCyclePercent) in PWM_UpdatePwmDutycycle() argument 686 assert(dutyCyclePercent <= 100U); in PWM_UpdatePwmDutycycle() 688 uint16_t reloadValue = dutyCycleToReloadValue(dutyCyclePercent); in PWM_UpdatePwmDutycycle()
|
D | fsl_pwm.h | 362 uint8_t dutyCyclePercent; /*!< PWM pulse width, value should be between 0 to 100 member 566 uint8_t dutyCyclePercent);
|
/hal_nxp-3.7.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.7.0/mcux/mcux-sdk/components/led/ |
D | fsl_component_led.c | 440 setupConfig.dutyCyclePercent = 0; in LED_Init()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/boards/evkmimx8ulp/ |
D | board.c | 1809 .dutyCyclePercent = FULL_DUTY_CYCLE, in BOARD_EnableMipiDsiBacklight()
|