Home
last modified time | relevance | path

Searched refs:periodCount (Results 1 – 4 of 4) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/components/button/
Dfsl_component_button.c77 volatile uint32_t periodCount; member
154 buttonState->pushPeriodCount = s_buttonList.periodCount; in BUTTON_Event()
170 … if ((s_buttonList.periodCount - buttonState->pushPeriodCount) < BUTTON_SHORT_PRESS_THRESHOLD) in BUTTON_Event()
183 … if ((s_buttonList.periodCount - buttonState->pushPeriodCount) < BUTTON_SHORT_PRESS_THRESHOLD) in BUTTON_Event()
185 buttonState->pushPeriodCountLast = s_buttonList.periodCount; in BUTTON_Event()
189 … else if ((s_buttonList.periodCount - buttonState->pushPeriodCount) < BUTTON_LONG_PRESS_THRESHOLD) in BUTTON_Event()
269 s_buttonList.periodCount += BUTTON_TIMER_INTERVAL;
284 … if ((BUTTON_DOUBLE_CLICK_THRESHOLD + buttonState->pushPeriodCountLast) < s_buttonList.periodCount)
383 s_buttonList.periodCount = BUTTON_DOUBLE_CLICK_THRESHOLD + BUTTON_TIMER_INTERVAL;
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/qtmr_2/
Dfsl_qtmr.c162 uint32_t periodCount, highCount, lowCount; in QTMR_SetupPwm() local
172 periodCount = (srcClock_Hz / pwmFreqHz); in QTMR_SetupPwm()
173 highCount = (periodCount * dutyCyclePercent) / 100U; in QTMR_SetupPwm()
174 lowCount = periodCount - highCount; in QTMR_SetupPwm()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/qtmr_1/
Dfsl_qtmr.c174 uint32_t periodCount, highCount, lowCount; in QTMR_SetupPwm() local
184 periodCount = srcClock_Hz / pwmFreqHz; in QTMR_SetupPwm()
185 highCount = periodCount * dutyCyclePercent / 100U; in QTMR_SetupPwm()
186 lowCount = periodCount - highCount; in QTMR_SetupPwm()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/led/
Dfsl_component_led.c124 volatile uint32_t periodCount; member
157 ledState->expiryPeriodCount = s_ledList.periodCount + threshold; in LED_SetStatus()
215 s_ledList.periodCount += LED_TIMER_INTERVAL; in LED_TimerEvent()
219 if (s_ledList.periodCount >= ledState->expiryPeriodCount) in LED_TimerEvent()