Lines Matching refs:ledFlash
589 led_status_t LED_Flash(led_handle_t ledHandle, led_flash_config_t *ledFlash) in LED_Flash() argument
594 assert(ledFlash); in LED_Flash()
595 assert(ledFlash->times); in LED_Flash()
596 assert(ledFlash->duty <= 100U); in LED_Flash()
600 ledState->flashPeriod = ledFlash->period; in LED_Flash()
601 ledState->flashDuty = ledFlash->duty; in LED_Flash()
604 ledState->flashCycle = ledFlash->times; in LED_Flash()
608 if (kLED_FlashOneColor == ledFlash->flashType) in LED_Flash()
631 led_flash_config_t ledFlash; in LED_Blip() local
633 ledFlash.duty = 50; in LED_Blip()
634 ledFlash.flashType = kLED_FlashOneColor; in LED_Blip()
635 ledFlash.period = LED_BLIP_INTERVAL; in LED_Blip()
636 ledFlash.times = 1; in LED_Blip()
637 return LED_Flash(ledHandle, &ledFlash); in LED_Blip()