INCLUDE FILES ********************************************************************************************************* */
#include <includes.h>
/* ********************************************************************************************************* * LOCAL DEFINES ********************************************************************************************************* */
#define APP_LINE_0 0 #define APP_LINE_1 24 #define APP_LINE_2 48 #define APP_LINE_3 72 #define APP_LINE_4 96 #define APP_LINE_5 120 #define APP_LINE_6 144 #define APP_LINE_7 168 #define APP_LINE_8 192 #define APP_LINE_9 216
#define COLOR_WHITE 0xFFFF #define COLOR_BLACK 0x0000 #define COLOR_BLUE 0x001F #define COLOR_BLUE2 0x051F #define COLOR_RED 0xF800 #define COLOR_MAGENTA 0xF81F #define COLOR_GREEN 0x07E0 #define COLOR_CYAN 0x7FFF #define COLOR_YELLOW 0xFFE0
/* ********************************************************************************************************* * LOCAL GLOBAL VARIABLES ********************************************************************************************************* */
/* ----------------- APPLICATION GLOBALS ------------------ */ static OS_STK AppTaskStartStk[APP_TASK_START_STK_SIZE]; static OS_STK AppTaskUserIFStk[APP_TASK_USER_IF_STK_SIZE]; static OS_STK AppTaskKbdStk[APP_TASK_KBD_STK_SIZE];
static OS_EVENT *AppUserIFMbox;
static CPU_CHAR AppLCDLine0[21]; static CPU_CHAR AppLCDLine1[21]; static CPU_CHAR AppLCDLine2[21]; static CPU_CHAR AppLCDLine3[21]; static CPU_CHAR AppLCDLine4[21]; static CPU_CHAR AppLCDLine5[21]; static CPU_CHAR AppLCDLine6[21]; static CPU_CHAR AppLCDLine7[21]; static CPU_CHAR AppLCDLine8[21]; static CPU_CHAR AppLCDLine9[21];
/* -------------- uC/PROBE RELATED GLOBALS ---------------- */ #if (uC_PROBE_OS_PLUGIN > 0) volatile CPU_INT32U Probe_Counts; volatile CPU_BOOLEAN Probe_B1; volatile CPU_BOOLEAN Probe_JoyLeft; volatile CPU_BOOLEAN Probe_JoyRight; volatile CPU_BOOLEAN Probe_JoyUp; volatile CPU_BOOLEAN Probe_JoyDown; volatile CPU_BOOLEAN Probe_JoyCenter; volatile CPU_INT16U Probe_ADC; #endif
#if (uC_PROBE_COM_MODULE > 0) && (PROBE_COM_SUPPORT_STR > 0) static OS_STK AppTaskProbeStrStk[APP_TASK_PROBE_STR_STK_SIZE]; #endif
#if (uC_PROBE_OS_PLUGIN > 0) && (uC_PROBE_COM_MODULE > 0) && (PROBE_COM_STAT_EN > 0) static CPU_FP32 Probe_RS232RxSpd; static CPU_FP32 Probe_RS232TxSpd; static CPU_FP32 Probe_ComRxPktSpd; static CPU_FP32 Probe_ComTxPktSpd; static CPU_FP32 Probe_ComTxSymSpd; static CPU_FP32 Probe_ComTxSymByteSpd;
static CPU_INT32U Probe_RS232RxLast; static CPU_INT32U Probe_RS232TxLast; static CPU_INT32U Probe_ComRxPktLast; static CPU_INT32U Probe_ComTxPktLast; static CPU_INT32U Probe_ComTxSymLast; static CPU_INT32U Probe_ComTxSymByteLast;
static CPU_INT32U Probe_ComCtrLast; #endif
|