Repository for import to local machine
Dependencies: DMBasicGUI DMSupport
ThreadSignalEnums.h@8:26e49e6955bd, 2017-07-31 (annotated)
- Committer:
- jmitc91516
- Date:
- Mon Jul 31 15:37:57 2017 +0000
- Revision:
- 8:26e49e6955bd
- Parent:
- 1:a5258871b33d
Method ramp scrolling improved, and more bitmaps moved to QSPI memory
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jmitc91516 | 1:a5258871b33d | 1 | #ifndef THREADSIGNALENUMS_H |
jmitc91516 | 1:a5258871b33d | 2 | #define THREADSIGNALENUMS_H |
jmitc91516 | 1:a5258871b33d | 3 | |
jmitc91516 | 1:a5258871b33d | 4 | /* |
jmitc91516 | 1:a5258871b33d | 5 | Enum values for the different types of thread signal we use in this application. |
jmitc91516 | 1:a5258871b33d | 6 | |
jmitc91516 | 1:a5258871b33d | 7 | Centrally defined here so we can be sure there will be no conflicts - i.e. we cannot |
jmitc91516 | 1:a5258871b33d | 8 | mistakenly use the same value for two different thread signals. |
jmitc91516 | 1:a5258871b33d | 9 | */ |
jmitc91516 | 1:a5258871b33d | 10 | |
jmitc91516 | 1:a5258871b33d | 11 | typedef enum enumThreadSignals { |
jmitc91516 | 1:a5258871b33d | 12 | TOUCH_EVENT = 0xAA, // Alternate bits set |
jmitc91516 | 1:a5258871b33d | 13 | TIMER_TICK = 0x55, // ... |
jmitc91516 | 1:a5258871b33d | 14 | |
jmitc91516 | 1:a5258871b33d | 15 | STARTED_DOWNLOADING_METHOD = 0xB0, |
jmitc91516 | 1:a5258871b33d | 16 | FINISHED_DOWNLOADING_METHOD = 0xC0, |
jmitc91516 | 1:a5258871b33d | 17 | |
jmitc91516 | 1:a5258871b33d | 18 | CRUN_COMMAND_SENT = 0xD0, |
jmitc91516 | 1:a5258871b33d | 19 | CHON_COMMAND_SENT = 0xD1, |
jmitc91516 | 1:a5258871b33d | 20 | CHOF_COMMAND_SENT = 0xD2, |
jmitc91516 | 1:a5258871b33d | 21 | ABORT_RUN_COMMAND_SENT = 0xD3, |
jmitc91516 | 1:a5258871b33d | 22 | |
jmitc91516 | 1:a5258871b33d | 23 | GC_COMMAND_READY = 0x100, |
jmitc91516 | 1:a5258871b33d | 24 | GOT_GC_COMMAND = 0x150, |
jmitc91516 | 1:a5258871b33d | 25 | GC_RESPONSE_READY = 0x200 // This *** must *** have a higher value than all other codes |
jmitc91516 | 1:a5258871b33d | 26 | } ThreadSignals; |
jmitc91516 | 1:a5258871b33d | 27 | |
jmitc91516 | 1:a5258871b33d | 28 | #endif // THREADSIGNALENUMS_H |