Home
last modified time | relevance | path

Searched refs:period (Results 1 – 8 of 8) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/ctimer/
Dfsl_ctimer.c201 uint32_t period, pulsePeriod = 0; in CTIMER_SetupPwm() local
231 period = (timerClock / pwmFreq_Hz) - 1U; in CTIMER_SetupPwm()
236 pulsePeriod = period + 1U; in CTIMER_SetupPwm()
240 pulsePeriod = (period * (100U - (uint32_t)dutyCyclePercent)) / 100U; in CTIMER_SetupPwm()
244 base->MR[pwmPeriodChannel] = period; in CTIMER_SetupPwm()
352 uint32_t pulsePeriod = 0, period; in CTIMER_UpdatePwmDutycycle() local
355 period = base->MR[pwmPeriodChannel]; in CTIMER_UpdatePwmDutycycle()
360 pulsePeriod = period + 1U; in CTIMER_UpdatePwmDutycycle()
364 pulsePeriod = (period * (100U - (uint32_t)dutyCyclePercent)) / 100U; in CTIMER_UpdatePwmDutycycle()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/sctimer/
Dfsl_sctimer.c283 uint32_t period, pulsePeriod = 0; in SCTIMER_SetupPwm() local
299 period = (sctClock / pwmFreq_Hz) - 1U; in SCTIMER_SetupPwm()
303 period = sctClock / (pwmFreq_Hz * 2U); in SCTIMER_SetupPwm()
309 pulsePeriod = period + 2U; in SCTIMER_SetupPwm()
313 pulsePeriod = (uint32_t)(((uint64_t)period * pwmParams->dutyCyclePercent) / 100U); in SCTIMER_SetupPwm()
318 …SCTIMER_CreateAndScheduleEvent(base, kSCTIMER_MatchEventOnly, period, 0, kSCTIMER_Counter_U, &peri… in SCTIMER_SetupPwm()
411 uint32_t pulsePeriod = 0, period; in SCTIMER_UpdatePwmDutycycle() local
420 period = base->MATCH[periodMatchReg]; in SCTIMER_UpdatePwmDutycycle()
428 pulsePeriod = period + 2U; in SCTIMER_UpdatePwmDutycycle()
442 pulsePeriod = (uint32_t)(((uint64_t)period * dutyCyclePercent) / 100U); in SCTIMER_UpdatePwmDutycycle()
/hal_nxp-3.5.0/mcux/mcux-sdk/
DCODE_OF_CONDUCT.md91 those enforcing the Code of Conduct, for a specified period of time. This
102 communication with the community for a specified period of time. No public or
104 with those enforcing the Code of Conduct, is allowed during this period.
/hal_nxp-3.5.0/mcux/mcux-sdk/components/led/
Dfsl_component_led.h202 uint16_t period; /*!< Flash period, unit is ms */ member
Dfsl_component_led.c600 ledState->flashPeriod = ledFlash->period; in LED_Flash()
635 ledFlash.period = LED_BLIP_INTERVAL; in LED_Blip()
/hal_nxp-3.5.0/s32/drivers/s32k3/Icu/include/
DEmios_Icu_Ip.h554 eMios_Icu_ValueType period);
/hal_nxp-3.5.0/s32/drivers/s32k3/Icu/src/
DEmios_Icu_Ip_Irq.c269 eMios_Icu_ValueType period,
435 eMios_Icu_ValueType period, in Emios_Icu_Ip_SignalMeasurementStore() argument
440 …ios_Icu_Ip_ChState[eMios_Icu_Ip_IndexInChState[instance][hwChannel]].eMios_Icu_Ip_aPeriod = period; in Emios_Icu_Ip_SignalMeasurementStore()
DEmios_Icu_Ip.c1579 eMios_Icu_ValueType period) in Emios_Icu_Ip_SetPWandPeriod() argument
1582 …_ChState[eMios_Icu_Ip_IndexInChState[instance][hwChannel]].eMios_Icu_Ip_aPeriod = period; in Emios_Icu_Ip_SetPWandPeriod()