123
Fork of LG by
DeviceDebug.h@177:672ef279c8e0, 2016-07-03 (annotated)
- Committer:
- Diletant
- Date:
- Sun Jul 03 13:40:48 2016 +0000
- Revision:
- 177:672ef279c8e0
- Child:
- 182:2bd8ec44998f
Device&... update. Some Ask_Gld functionality. Not final!!!
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Diletant | 177:672ef279c8e0 | 1 | #ifndef __DEVICE_DEBUG_H__ |
Diletant | 177:672ef279c8e0 | 2 | #define __DEVICE_DEBUG_H__ |
Diletant | 177:672ef279c8e0 | 3 | |
Diletant | 177:672ef279c8e0 | 4 | #warning "Program config: debug unit enabled!!!" |
Diletant | 177:672ef279c8e0 | 5 | |
Diletant | 177:672ef279c8e0 | 6 | #define DEBUG_QEI |
Diletant | 177:672ef279c8e0 | 7 | |
Diletant | 177:672ef279c8e0 | 8 | #define DEV_BOARD_HAOYU |
Diletant | 177:672ef279c8e0 | 9 | #ifdef DEV_BOARD_HAOYU |
Diletant | 177:672ef279c8e0 | 10 | #warning "Program config: development board!!!" |
Diletant | 177:672ef279c8e0 | 11 | #endif |
Diletant | 177:672ef279c8e0 | 12 | |
Diletant | 177:672ef279c8e0 | 13 | typedef struct _DeviceDebugSettings { |
Diletant | 177:672ef279c8e0 | 14 | } DeviceDebugSettings; |
Diletant | 177:672ef279c8e0 | 15 | |
Diletant | 177:672ef279c8e0 | 16 | typedef struct _DeviceDebugState { |
Diletant | 177:672ef279c8e0 | 17 | } DeviceDebugState; |
Diletant | 177:672ef279c8e0 | 18 | |
Diletant | 177:672ef279c8e0 | 19 | typedef struct _DeviceDebug { |
Diletant | 177:672ef279c8e0 | 20 | DeviceDebugSettings settings; |
Diletant | 177:672ef279c8e0 | 21 | DeviceDebugState state; |
Diletant | 177:672ef279c8e0 | 22 | } DeviceDebug; |
Diletant | 177:672ef279c8e0 | 23 | |
Diletant | 177:672ef279c8e0 | 24 | void InitDebugDefaultSettings(void); |
Diletant | 177:672ef279c8e0 | 25 | void InitDebugState(void); |
Diletant | 177:672ef279c8e0 | 26 | void DeviceStartDebug(void); |
Diletant | 177:672ef279c8e0 | 27 | |
Diletant | 177:672ef279c8e0 | 28 | #endif /* __DEVICE_DEBUG_H__ */ |