Home
last modified time | relevance | path

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

/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/tpm/
Dfsl_tpm.c329 …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 …]
Dfsl_tpm.h112 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/
Dfsl_adapter_pwm_ctimer.c94 (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()
Dfsl_adapter_pwm_ftm.c95 .dutyCyclePercent = setupConfig->dutyCyclePercent, in HAL_PwmSetupPwm()
121 uint8_t dutyCyclePercent) in HAL_PwmUpdateDutycycle() argument
130 dutyCyclePercent); in HAL_PwmUpdateDutycycle()
Dfsl_adapter_pwm_tpm.c93 .dutyCyclePercent = setupConfig->dutyCyclePercent, in HAL_PwmSetupPwm()
119 uint8_t dutyCyclePercent) in HAL_PwmUpdateDutycycle() argument
128 dutyCyclePercent); in HAL_PwmUpdateDutycycle()
Dfsl_adapter_pwm.h58 uint8_t dutyCyclePercent; /*!< PWM duty cycle percent */ member
156 uint8_t dutyCyclePercent);
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/ctimer/
Dfsl_ctimer.c193 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()
Dfsl_ctimer.h271 uint8_t dutyCyclePercent,
303 uint8_t dutyCyclePercent);
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/sctimer/
Dfsl_sctimer.c308 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()
Dfsl_sctimer.h88 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/
Dfsl_qtmr.c170 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()
Dfsl_qtmr.h253 uint8_t dutyCyclePercent,
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/ftm/
Dfsl_ftm.c479 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()
Dfsl_ftm.h77 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/
Dfsl_pwm.c72 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()
Dfsl_pwm.h362 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/
Dfsl_qtmr.c160 …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()
Dfsl_qtmr.h217 …TMR_Type *base, uint32_t pwmFreqHz, uint8_t dutyCyclePercent, bool outputPolarity, uint32_t srcClo…
/hal_nxp-3.7.0/mcux/mcux-sdk/components/led/
Dfsl_component_led.c440 setupConfig.dutyCyclePercent = 0; in LED_Init()
/hal_nxp-3.7.0/mcux/mcux-sdk/boards/evkmimx8ulp/
Dboard.c1809 .dutyCyclePercent = FULL_DUTY_CYCLE, in BOARD_EnableMipiDsiBacklight()