Home
last modified time | relevance | path

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

/hal_nxp-3.6.0/mcux/mcux-sdk/components/led/
Dfsl_component_led.c135 static led_list_t s_ledList; variable
157 ledState->expiryPeriodCount = s_ledList.periodCount + threshold; in LED_SetStatus()
207 led_state_t *ledState = (led_state_t *)s_ledList.ledState; in LED_TimerEvent()
215 s_ledList.periodCount += LED_TIMER_INTERVAL; in LED_TimerEvent()
219 if (s_ledList.periodCount >= ledState->expiryPeriodCount) in LED_TimerEvent()
374 if (NULL == s_ledList.ledState) in LED_Init()
379 tmState = TM_Open((timer_handle_t)s_ledList.timerHandle); in LED_Init()
382 tmState = TM_InstallCallback(s_ledList.timerHandle, LED_TimerEvent, &s_ledList); in LED_Init()
385 … tmState = TM_Start(s_ledList.timerHandle, (uint8_t)kTimerModeIntervalTimer, LED_TIMER_INTERVAL); in LED_Init()
389 s_ledList.ledState = ledState; in LED_Init()
[all …]