Defines
IO Utility - LEDs and Keys
IoUtil Functions

Controlling the LEDs.
More...

## Defines
#define | KEY_GET() (0)
#define | KEY_INIT()
#define | LED_CLR(ln) do{}while(0)
#define | LED_GET_VALUE() 0
#define | LED_INIT() do{}while(0)
#define | LED_MAX_VALUE ((1<<LED_NUMBER)-1)
#define | LED_NUMBER (0)
#define | LED_SET(ln) do{}while(0)
#define | LED_SET_VALUE(x) do{}while(0)
#define | LED_TOGGLE(ln) do{}while(0)
#define | LED_VAL(msk, val) do{}while(0)

## Detailed Description

Controlling the LEDs.

## Define Documentation

#define KEY_GET | ( |  | ) | (0)

Reading of the KEY port directly and return the value LSB aligbed.

#define KEY_INIT | ( |  | ) |

Initialisation of the KEY port

#define LED_CLR | ( |  | ln | ) | do{}while(0)

Switch the LED with the number ln OFF.

#define LED_GET_VALUE | ( |  | ) | 0

Read back the current numeric value from the LED port.

#define LED_INIT | ( |  | ) | do{}while(0)

Initialisation of the LED port.

#define LED_MAX_VALUE ((1<<LED_NUMBER)-1)

Maximum value, that can be displayed on the LEDs

#define LED_NUMBER (0)

Number of LEDs for this board

#define LED_SET | ( |  | ln | ) | do{}while(0)

Switch the LED with the number ln ON.

#define LED_SET_VALUE | ( |  | x | ) | do{}while(0)

Display a numeric value on the LED port. The value x is masked out according LED_MASK, so that depending on the number of LEDs of the board the maximum displayed value is LED_MAX_VALUE.

#define LED_TOGGLE | ( |  | ln | ) | do{}while(0)

Toggle the LED with the number n.

#define LED_VAL | ( |  | msk,
|  |  | val
| ) |  | do{}while(0)

.....