Friedrich-Alexander-Universität Erlangen-Nürnberg  /   Technische Fakultät  /   Department Informatik

SPiCboard library (libspicboard, revision 14925) API documentation

Found a bug or something ambiguous? Mail us to get it fixed!

led.h File Reference
#include <stdint.h>

Go to the source code of this file.

Enumerations

enum  LED {
  RED0 =0, YELLOW0 =1, GREEN0 =2, BLUE0 =3,
  RED1 =4, YELLOW1 =5, GREEN1 =6, BLUE1 =7
}
 LED identifiers. More...
 

Functions

int8_t sb_led_on (LED led)
 Activates a specific LED. More...
 
int8_t sb_led_off (LED led)
 Deactivates a specific LED. More...
 
int8_t sb_led_toggle (LED led)
 Toggles a specific LED. More...
 
int8_t sb_led_showLevel (uint8_t level, uint8_t max)
 Uses the LED array as a level indicator. More...
 
void sb_led_setAll (uint8_t setting)
 Sets all LEDs according to a bitfield. More...
 

Detailed Description

Version
$Rev: 7715 $