Friedrich-Alexander-Universität UnivisSuche FAU-Logo
Techn. Fakultšt Willkommen am Department Informatik FAU-Logo
Logo I4
Lehrstuhl für Informatik 4
GSPiC
 
  Vorlesung
    - UnivIS-Infos
    - Inhalt
    - Folien
 
  Übungen
    - UnivIS-Infos
    - Inhalt
    - Ergänzendes Material
    - Aufgaben
    - libspicboard-Doku
    - FSI-Forum für Fragen
 
  Prüfung
 
  Evaluation
 
  Intern
Department Informatik  >  Informatik 4  >  Lehre  >  SS 2010  >  GSPiC  >  Übungen  >  Doku  >  libspicboard: led.h File Reference

SPiCboard library (libspicboard, revision 3032) API documentation

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

led.h File Reference

Interface to the board's 8 LEDs. More...

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

Functions

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


Detailed Description

Interface to the board's 8 LEDs.

Version:
$Rev: 2855 $
  Impressum   Datenschutz Stand: 2010-07-02 13:45   MS