# /space/home/slher/rel/Beken/v6_4_5/macsw/plf/refip/src/driver/led/led.h File Reference

Demo LEDs driver APIs. More...

Go to the source code of this file.

## Enumerations
enum | led_name { LED_RED, LED_GREEN, LED_MAX }
| List of available leds. More...
## Functions
void | led_enable ()
| Enable the control of the LEDs.
void | led_disable ()
| Disable the control of the LEDs.
void | led_set (enum led_name led, int state)
| Set the state of a LED.
void | led_toggle (enum led_name led)
| Toggle the state of a LED.
void | led_blink (enum led_name led_idx, int period_ms)
| Set the state of the green LED.

## Detailed Description

Demo LEDs driver APIs.

Copyright (C) RivieraWaves 2011-2019

Definition in file led.h.