Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/mcux-sdk/components/button/
Dfsl_component_button.c71 volatile uint32_t periodCount; member
148 buttonState->pushPeriodCount = s_buttonList.periodCount; in BUTTON_Event()
168 … if ((s_buttonList.periodCount - buttonState->pushPeriodCount) < BUTTON_SHORT_PRESS_THRESHOLD) in BUTTON_Event()
181 … if ((s_buttonList.periodCount - buttonState->pushPeriodCount) < BUTTON_SHORT_PRESS_THRESHOLD) in BUTTON_Event()
183 buttonState->pushPeriodCountLast = s_buttonList.periodCount; in BUTTON_Event()
187 … else if ((s_buttonList.periodCount - buttonState->pushPeriodCount) < BUTTON_LONG_PRESS_THRESHOLD) in BUTTON_Event()
267 s_buttonList.periodCount += BUTTON_TIMER_INTERVAL;
282 … if ((BUTTON_DOUBLE_CLICK_THRESHOLD + buttonState->pushPeriodCountLast) < s_buttonList.periodCount)
381 s_buttonList.periodCount = BUTTON_DOUBLE_CLICK_THRESHOLD + BUTTON_TIMER_INTERVAL;
/hal_nxp-latest/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-latest/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-latest/mcux/mcux-sdk/components/led/
Dfsl_component_led.c119 volatile uint32_t periodCount; member
152 ledState->expiryPeriodCount = s_ledList.periodCount + threshold; in LED_SetStatus()
210 s_ledList.periodCount += LED_TIMER_INTERVAL; in LED_TimerEvent()
214 if (s_ledList.periodCount >= ledState->expiryPeriodCount) in LED_TimerEvent()