- Main Page
- Related Pages
- Data Structures
- Files

- File List
- Globals

# board/atevk1104/include/board/led.h

Go to the documentation of this file.

    00001
    00043 #ifndef BOARD_LEDS_H_INCLUDED
    00044 #define BOARD_LEDS_H_INCLUDED
    00045
    00046 #include <chip/portmux.h>
    00047
    00049 enum board_led_id {
    00050         BOARD_LED0_ID   = 67,
    00051         BOARD_LED1_ID   = 101,
    00052         BOARD_LED2_ID   = 105,
    00053         BOARD_LED3_ID   = 102,
    00054 };
    00055
    00059 static inline void led_activate(enum board_led_id id)
    00060 {
    00061         gpio_set_value(id, false);
    00062 }
    00063
    00067 static inline void led_deactivate(enum board_led_id id)
    00068 {
    00069         gpio_set_value(id, true);
    00070 }
    00071
    00072 #endif /* BOARD_LEDS_H_INCLUDED */