Searched refs:ledState (Results 1 – 1 of 1) sorted by relevance
123 led_state_t *ledState; member146 static led_status_t LED_SetStatus(led_state_t *ledState, led_color_t color, uint32_t threshold) in LED_SetStatus() argument157 ledState->expiryPeriodCount = s_ledList.periodCount + threshold; in LED_SetStatus()160 ledRgbPin = (led_pin_config_t *)(const void *)&ledState->pinsConfig->ledRgb; in LED_SetStatus()162 ledRgbPin = (led_pin_t *)ledState->pins; in LED_SetStatus()166 if (kLED_TypeRgb == ledState->pinsConfig->type) in LED_SetStatus()184 … (void)HAL_PwmUpdateDutycycle(ledState->pwmHandle[i], (uint8_t)ledRgbPin[i].dimming.channel, in LED_SetStatus()191 (void)HAL_GpioSetOutput(ledState->gpioHandle[i], (colorSet != 0U) ? in LED_SetStatus()195 (void)HAL_GpioSetOutput(ledState->gpioHandle[i], (colorSet != 0U) ? in LED_SetStatus()207 led_state_t *ledState = (led_state_t *)s_ledList.ledState; in LED_TimerEvent() local[all …]