Control on-board LEDs

Access macros to control the on-board LEDs.

This header contains a set of macros for controlling the on-board LEDs of a board. The LEDs are enumerated, starting from LED0 to LED7. As most platforms have a different number of LEDs, the existing ones are mapped onto the lowest LED numbers, while the higher LED numbers will simply be empty defines. This ensures, that the LED macros are portable to any platform with any number of LEDs.

Providing access macros to 8 LEDs is a random decision, as currently 8 is the maximum number of on-board LEDs found on any board in RIOT (stm32f3discovery).

LED0_ON

defined empty

LED0_OFF

defined empty

LED0_TOGGLE

defined empty

LED1_ON

defined empty

LED1_OFF

defined empty

LED1_TOGGLE

defined empty

LED2_ON

defined empty

LED2_OFF

defined empty

LED2_TOGGLE

defined empty

LED3_ON

defined empty

LED3_OFF

defined empty

LED3_TOGGLE

defined empty

LED4_ON

defined empty

LED4_OFF

defined empty

LED4_TOGGLE

defined empty

LED5_ON

defined empty

LED5_OFF

defined empty

LED5_TOGGLE

defined empty

LED6_ON

defined empty

LED6_OFF

defined empty

LED6_TOGGLE

defined empty

LED7_ON

defined empty

LED7_OFF

defined empty

LED7_TOGGLE

defined empty

LED_ON( x)

Turn on led x.

1
LED ## x ##_ON
LED_OFF( x)

Turn off led x.

1
LED ## x ## _OFF
LED_TOGGLE( x)

Toggle led x.

1
LED ## x ##_TOGGLE