Searched refs:periodCount (Results 1 – 4 of 4) sorted by relevance
77 volatile uint32_t periodCount; member154 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;
162 uint32_t periodCount, highCount, lowCount; in QTMR_SetupPwm() local172 periodCount = (srcClock_Hz / pwmFreqHz); in QTMR_SetupPwm()173 highCount = (periodCount * dutyCyclePercent) / 100U; in QTMR_SetupPwm()174 lowCount = periodCount - highCount; in QTMR_SetupPwm()
174 uint32_t periodCount, highCount, lowCount; in QTMR_SetupPwm() local184 periodCount = srcClock_Hz / pwmFreqHz; in QTMR_SetupPwm()185 highCount = periodCount * dutyCyclePercent / 100U; in QTMR_SetupPwm()186 lowCount = periodCount - highCount; in QTMR_SetupPwm()
124 volatile uint32_t periodCount; member157 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()