xrocusOS_ADXL355 version
Dependencies: mbed SDFileSystem
include/global.h@12:a45a9c65dc03, 2019-05-22 (annotated)
- Committer:
- Inscape_ao
- Date:
- Wed May 22 09:10:18 2019 +0000
- Revision:
- 12:a45a9c65dc03
- Parent:
- 7:9ab8809f9693
- Child:
- 13:7cda5bef6390
update LED seq and USER_BUTTON
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Inscape_ao | 0:c347f602596d | 1 | #ifndef _GLOBAL_H_ |
Inscape_ao | 0:c347f602596d | 2 | #define _GLOBAL_H_ |
Inscape_ao | 0:c347f602596d | 3 | |
Inscape_ao | 0:c347f602596d | 4 | #include "UartReceiver.h" |
Inscape_ao | 0:c347f602596d | 5 | #include "CommandParser.h" |
Inscape_ao | 2:a694440145e9 | 6 | #include "TimeManager.h" |
Inscape_ao | 5:a37e3a15444b | 7 | #include "SDDataStore.h" |
Inscape_ao | 7:9ab8809f9693 | 8 | #include "DeviceRepeater.h" |
Inscape_ao | 0:c347f602596d | 9 | |
Inscape_ao | 12:a45a9c65dc03 | 10 | /* DEBUG = ON/OFF */ |
Inscape_ao | 12:a45a9c65dc03 | 11 | #define _DEBUG_PRINTF_ |
Inscape_ao | 12:a45a9c65dc03 | 12 | |
Inscape_ao | 12:a45a9c65dc03 | 13 | /*********************************************/ |
Inscape_ao | 12:a45a9c65dc03 | 14 | /* Controllors */ |
Inscape_ao | 12:a45a9c65dc03 | 15 | /*********************************************/ |
Inscape_ao | 2:a694440145e9 | 16 | extern TimeManager *pTM; |
Inscape_ao | 0:c347f602596d | 17 | extern CommandParser *pCP; |
Inscape_ao | 0:c347f602596d | 18 | extern UartReceiver *pUR; |
Inscape_ao | 5:a37e3a15444b | 19 | extern SDDataStore *pSds; |
Inscape_ao | 7:9ab8809f9693 | 20 | extern DeviceRepeater *pDevRept; |
Inscape_ao | 0:c347f602596d | 21 | |
Inscape_ao | 12:a45a9c65dc03 | 22 | /*********************************************/ |
Inscape_ao | 12:a45a9c65dc03 | 23 | /* Drivers */ |
Inscape_ao | 12:a45a9c65dc03 | 24 | /*********************************************/ |
Inscape_ao | 2:a694440145e9 | 25 | /* define command rules */ |
Inscape_ao | 2:a694440145e9 | 26 | extern CmdParseRule rules[]; |
Inscape_ao | 2:a694440145e9 | 27 | extern int getNumOfRules; |
Inscape_ao | 2:a694440145e9 | 28 | |
Inscape_ao | 12:a45a9c65dc03 | 29 | /*********************************************/ |
Inscape_ao | 12:a45a9c65dc03 | 30 | /* Debugging */ |
Inscape_ao | 12:a45a9c65dc03 | 31 | /*********************************************/ |
Inscape_ao | 12:a45a9c65dc03 | 32 | #ifdef _DEBUG_PRINTF_ |
Inscape_ao | 12:a45a9c65dc03 | 33 | extern Serial dbg; |
Inscape_ao | 12:a45a9c65dc03 | 34 | #endif /* _DEBUG_PRINTF_ */ |
Inscape_ao | 12:a45a9c65dc03 | 35 | |
Inscape_ao | 12:a45a9c65dc03 | 36 | #ifdef _DEBUG_PRINTF_ |
Inscape_ao | 12:a45a9c65dc03 | 37 | #define dbgprintf(f_, ...) dbg.printf((f_), ##__VA_ARGS__) |
Inscape_ao | 12:a45a9c65dc03 | 38 | #else |
Inscape_ao | 12:a45a9c65dc03 | 39 | #define dbgprintf(f_, ...) while(0){} |
Inscape_ao | 12:a45a9c65dc03 | 40 | #endif /* _DEBUG_PRINTF_ */ |
Inscape_ao | 12:a45a9c65dc03 | 41 | |
Inscape_ao | 0:c347f602596d | 42 | #endif /* _GLOBAL_H_ */ |