Home
last modified time | relevance | path

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

/hal_nxp-3.6.0/mcux/mcux-sdk/components/led/
Dfsl_component_led.c149 led_pin_config_t *ledRgbPin; in LED_SetStatus() local
151 led_pin_t *ledRgbPin; 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()
168 if ((uint16_t)kLED_TypeRgb == ledRgbPin->config.type) in LED_SetStatus()
179 if (0U != ledRgbPin[i].dimmingEnable) in LED_SetStatus()
181 if (0U != ledRgbPin[i].config.dimmingEnable) in LED_SetStatus()
184 … (void)HAL_PwmUpdateDutycycle(ledState->pwmHandle[i], (uint8_t)ledRgbPin[i].dimming.channel, in LED_SetStatus()
192 … (1U - (uint8_t)ledRgbPin[i].gpio.level) : in LED_SetStatus()
193 (uint8_t)ledRgbPin[i].gpio.level); in LED_SetStatus()
[all …]