Jorge Troncoso
/
601_mDot_Gateway_Rev5_AUS_TrelleborgNet
Gateway by Jorge Troncoso
status_led.h@0:e671110e33a3, 2018-06-13 (annotated)
- Committer:
- jortronm2
- Date:
- Wed Jun 13 11:45:52 2018 +0000
- Revision:
- 0:e671110e33a3
Gateway by Jorge Troncoso
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jortronm2 | 0:e671110e33a3 | 1 | #ifndef STATUS_LED_H |
jortronm2 | 0:e671110e33a3 | 2 | #define STATUS_LED_H |
jortronm2 | 0:e671110e33a3 | 3 | |
jortronm2 | 0:e671110e33a3 | 4 | |
jortronm2 | 0:e671110e33a3 | 5 | #include "mbed.h" |
jortronm2 | 0:e671110e33a3 | 6 | #include "board_config.h" |
jortronm2 | 0:e671110e33a3 | 7 | |
jortronm2 | 0:e671110e33a3 | 8 | |
jortronm2 | 0:e671110e33a3 | 9 | #define STATUS_LED_POWER_ON 0 |
jortronm2 | 0:e671110e33a3 | 10 | #define STATUS_LED_RADIO_ACTIVITY 1 |
jortronm2 | 0:e671110e33a3 | 11 | #define STATUS_LED_CONNECTED 2 |
jortronm2 | 0:e671110e33a3 | 12 | #define STATUS_LED_CHECK 4 |
jortronm2 | 0:e671110e33a3 | 13 | #define STATUS_LED_ERROR 5 |
jortronm2 | 0:e671110e33a3 | 14 | |
jortronm2 | 0:e671110e33a3 | 15 | |
jortronm2 | 0:e671110e33a3 | 16 | extern void status_led_set(uint8_t state_external, uint8_t state_internal); |
jortronm2 | 0:e671110e33a3 | 17 | extern void status_led_blink(uint8_t type); |
jortronm2 | 0:e671110e33a3 | 18 | extern void status_led_blink_start(double frequency); |
jortronm2 | 0:e671110e33a3 | 19 | extern void status_led_blink_stop(void); |
jortronm2 | 0:e671110e33a3 | 20 | |
jortronm2 | 0:e671110e33a3 | 21 | |
jortronm2 | 0:e671110e33a3 | 22 | #endif // STATUS_LED_H |