Defines

IO Utility - LEDs and Keys
[IO Library]

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.

Definition at line 217 of file ioutil.h.

#define KEY_INIT (  ) 

Initialisation of the KEY port

Definition at line 214 of file ioutil.h.

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

Switch the LED with the number ln OFF.

Definition at line 171 of file ioutil.h.

#define LED_GET_VALUE (  )     0

Read back the current numeric value from the LED port.

Definition at line 147 of file ioutil.h.

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

Initialisation of the LED port.

Definition at line 116 of file ioutil.h.

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

Maximum value, that can be displayed on the LEDs

Definition at line 201 of file ioutil.h.

#define LED_NUMBER   (0)

Number of LEDs for this board

Definition at line 111 of file ioutil.h.

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

Switch the LED with the number ln ON.

Definition at line 159 of file ioutil.h.

#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.

Definition at line 131 of file ioutil.h.

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

Toggle the LED with the number n.

Definition at line 195 of file ioutil.h.

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

.....

Definition at line 182 of file ioutil.h.


This documentation for µracoli was generated on Wed Feb 2 2011 by  doxygen 1.7.1