Friedrich-Alexander-Universität UnivisSuche FAU-Logo
Techn. Fakultät Willkommen am Department Informatik FAU-Logo
Logo I4
Lehrstuhl für Informatik 4
SPiC
 
  Vorlesung
    - UnivIS-Infos
    - Inhalt
    - Folien
 
  Übungen
    - Inhalt
    - Folien
    - Aufgaben
    - UnivIS-Infos
    - SPiCboard
    - libspicboard-Doku
    - FAQ
    - FSI-Forum für Fragen
 
  Prüfung
 
  Evaluation
 
  protected area Intern
Department Informatik  >  Informatik 4  >  Lehre  >  SS 2016  >  SPiC  >  Übungen  >  libspicboard-Doku  >  button.h File Reference

SPiCboard library (libspicboard, revision 12428) API documentation

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

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

Go to the source code of this file.

Typedefs

typedef void(* buttoncallback_t )(BUTTON, BUTTONEVENT)
 Type for button event callback functions. More...
 

Enumerations

enum  BUTTON { BUTTON0 = 4, BUTTON1 = 8 }
 Identifiers for all available buttons. More...
 
enum  BUTTONEVENT { BTNPRESSED = 1, BTNRELEASED = 2 }
 Events for buttons. More...
 

Functions

int8_t sb_button_registerListener (BUTTON btn, BUTTONEVENT eve, buttoncallback_t callback)
 Register a callback function for a button event. More...
 
int8_t sb_button_unregisterListener (BUTTON btn, BUTTONEVENT eve, buttoncallback_t callback)
 Unregister a callback function for a button event. More...
 
BUTTONEVENT sb_button_getState (BUTTON btn)
 Query the current state of a button. More...
 

Detailed Description

Version
$Rev: 7715 $
  Impressum   Datenschutz Stand: 2016-04-26 17:58   MS