IceCube display
LED display to show IceCube event data
All Data Structures Files Functions Variables Enumerations Enumerator Macros Modules Pages
led.h
Go to the documentation of this file.
1 #ifndef USB_LED_H
2 #define USB_LED_H
3 
27 enum led_mode_t {
32 };
33 
35 void init_led();
36 
38 void set_led_state(const enum led_mode_t mode);
39 
41 void trip_led();
42 
43 #endif
led_mode_t
LED state selection constants.
Definition: led.h:28
void trip_led()
Trip the led when the state is set to LED_TRIP_FAST.
On by default, but can be 'tripped' (turned of shortly) with trip_led().
Definition: led.h:31
Turn the LED off.
Definition: led.h:29
void init_led()
Initialise the USB activity LED subsystem.
Slow but continous blinking mode.
Definition: led.h:30
void set_led_state(const enum led_mode_t mode)
Put the LED in the desired state.