libspicboard-Doku
led.h File Reference
Include dependency graph for led.h:
Go to the source code of this file.
Enumerations | |
enum | LED { RED0 , YELLOW0 , GREEN0 , BLUE0 , RED1 , YELLOW1 , GREEN1 , BLUE1 } |
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_setMask (uint8_t mask) |
Sets all LEDs according to a bitfield. More... | |
Detailed Description
- Version
- $Rev: 7715 $