Home
last modified time | relevance | path

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

/hal_nxp-3.6.0/mcux/mcux-sdk/components/led/
Dfsl_component_led.h119 typedef uint32_t led_color_t; typedef
122 #define LED_MAKE_COLOR(r, g, b) ((led_color_t)((((led_color_t)b) << 16) | (((led_color_t)g) << 8) |…
319 led_status_t LED_SetColor(led_handle_t ledHandle, led_color_t ledRgbColor);
Dfsl_component_led.c97 led_color_t settingColor;
98 led_color_t currentColor;
99 led_color_t nextColor;
146 static led_status_t LED_SetStatus(led_state_t *ledState, led_color_t color, uint32_t threshold) in LED_SetStatus()
154 led_color_t colorSet; in LED_SetStatus()
209 led_color_t color; in LED_TimerEvent()
232 … if (((led_color_t)kLED_Black == ledState->currentColor) || (100U == ledState->flashDuty)) in LED_TimerEvent()
247 if (((led_color_t)kLED_Black == ledState->currentColor)) in LED_TimerEvent()
257 … ledState->currentColor = (led_color_t)(0xFFUL << ((ledState->flashCount % 3U) * 8U)); in LED_TimerEvent()
268 color = (led_color_t)0xFF0000; in LED_TimerEvent()
[all …]