#include "..\inc\config.h"
#include "stdio.h"
//#define DEBUG_TASK
#define STACKSIZE 1024
OS_STK_DATA stk;
extern GUI_FONT CHINESE_FONT12;
extern GUI_FONT CHINESE_FONT16;
extern GUI_FONT GUI_Font8x16;
OS_EVENT * Send_D7light_Sem;
/*
*************************************************************************************************************
** 分配各任务的堆栈容量 **
*************************************************************************************************************
*/
OS_STK Stack_Task_1[STACKSIZE];
OS_STK Stack_Task_2[STACKSIZE*3];
OS_STK Stack_Task_USER[10][STACKSIZE*3];
void Task_USER0(void *pdata);
void Task_USER1(void *pdata);
void Task_USER2(void *pdata);
void Task_USER3(void *pdata);
void Task_USER4(void *pdata);
void Task_USER5(void *pdata);
void Task_USER6(void *pdata);
void Task_USER7(void *pdata);
void Task_USER8(void *pdata);
void Task_USER9(void *pdata);
OS_STK Stack_TaskUSER1[STACKSIZE*3];
/*
*************************************************************************************************************
- 函数名称 : Task_3(void *pdata)
- 函数说明 : GUI任务,优先级为56
- 输入参数 : pdata
- 输出参数 : 无
*************************************************************************************************************
*/
//#define WIN32
const unsigned char xyx_240_320[] = {
/* scan line 1 */
#ifdef WIN32
0x7c,0xb7,0x7c,0xb7,0x7c,0xd7,0x7c,0xd7,0x7c,0xd7,0x7c,0xd7,0x7c,0xd7,0x7c,0xb7,
0x7c,0xd7,0x84,0xf8,0x84,0xd8,0x7c,0xb7,0x7c,0xb7,0x7c,0xd7,0x7c,0xb7,0x7c,0xb7,
0x84,0xd8,0x7c,0xd7,0x7c,0xb7,0x7c,0xb7,0x7c,0xb7,0x7c,0xb8,0x7c,0xb8,0x7c,0xb7,
0x7c,0xb7,0x7c,0xb7,0x7c,0xb7,0x7c,0xb7,0x7c,0xb7,0x7c,0xd8,0x84,0xf8,0x7c,0xd8,
0x7c,0x97,0x74,0x97,0x7c,0x97,0x7c,0xb7,0x7c,0x97,0x84,0xd8,0x84,0xf8,0x74,0xb8,
0x74,0x98,0x74,0xd8,0x74,0xb8,0x74,0xb7,0x8c,0xd7,0x84,0x95,0x4a,0x4b,0x20,0xe4,
0x28,0xe4,0x20,0xa2,0x18,0x41,0x18,0x41,0x18,0x62,0x18,0x62,0x08,0x62,0x08,0x62,
0x10,0x82,0x08,0x62,0x08,0x21,0x08,0x42,0x10,0x62,0x10,0x22,0x18,0xa3,0x28,0xe4,
0x20,0xa4,0x20,0xc4,0x20,0xa3,0x18,0x82,0x10,0x21,0x08,0x21,0x20,0xe4,0x29,0x25,
0x18,0xc3,0x18,0xa3,0x20,0xe4,0x31,0x67,0x31,0x66,0x31,0x87,0x42,0x09,0x31,0xa7,
0x21,0x05,0x21,0x04,0x18,0xe4,0x10,0x82,0x10,0x82,0x10,0xa3,0x18,0xa3,0x10,0xa3,
0x18,0xc3,0x21,0x05,0x29,0x67,0x29,0xa8,0x29,0xa8,0x10,0xc4,0x10,0xa4,0x21,0x46,
0x29,0x87,0x21,0x25,0x29,0x66,0x39,0xa7,0x31,0xa7,0x31,0x87,0x29,0x67,0x21,0x05,
0x18,0xc4,0x10,0xa4,0x08,0x42,0x18,0xc4,0x39,0xa8,0x39,0xa8,0x21,0x05,0x00,0x22,
0x08,0x42,0x00,0x22,0x10,0x62,0x08,0x62,0x08,0x42,0x10,0x63,0x29,0x26,0x31,0x67,
0x10,0x62,0x00,0x01,0x10,0x22,0x10,0x42,0x08,0x01,0x18,0x63,0x18,0x62,0x18,0x82,
0x18,0x82,0x28,0xe4,0x62,0xab,0x83,0x8f,0x49,0xc8,0x51,0xc8,0x38,0xe4,0x59,0xe8,
0xbc,0xd3,0xb4,0xb2,0x93,0xaf,0xac,0x93,0xa4,0x52,0x83,0x6e,0x8b,0xaf,0x83,0xcf,
0x52,0x49,0x62,0xcb,0x42,0x08,0x29,0x45,0x18,0xc3,0x08,0x62,0x08,0x42,0x10,0x43,
0x18,0xc4,0x18,0xa4,0x08,0x43,0x08,0x43,0x08,0x43,0x10,0x63,0x10,0x83,0x10,0x63,
0x10,0x83,0x10,0x83,0x10,0x63,0x18,0x83,0x20,0xc5,0x18,0x84,0x08,0x02,0x10,0x43,
0x39,0xa9,0x4a,0x0a,0x29,0x06,0x39,0x89,0x31,0x68,0x10,0x64,0x29,0x47,0x52,0x6c,
0x4a,0x4b,0x62,0xcd,0x7b,0x90,0x9c,0x73,0x52,0x4a,0x49,0xe9,0x7b,0x6f,0x83,0x8f,
0x7b,0x4e,0x94,0x11,0x84,0x11,0x73,0x8f,0x62,0xed,0x94,0x73,0x84,0x11,0x6b,0x4e,
0x5a,0x8c,0x29,0x46,0x31,0x47,0x20,0xe5,0x18,0xa4,0x29,0x26,0x29,0x06,0x20,0xc5,
0x20,0xc5,0x10,0x43,0x18,0x63,0x18,0x63,0x29,0x05,0x31,0x25,0x20,0xc3,0x20,0xa3,
0x31,0x45,0x28,0xc3,0x30,0xc3,0x51,0x66,0x49,0x66,0x49,0x66,0x49,0x66,0x41,0x26,
0x49,0x66,0x51,0xa7,0x49,0x67,0x49,0x47,0x38,0xe5,0x30,0xa4,0x39,0x65,0x41,0x86,
0x41,0x86,0x49,0xa7,0x39,0x25,0x10,0x41,0x10,0x00,0x10,0x21,0x10,0x21,0x08,0x21,
0x08,0x42,0x08,0x62,0x20,0x83,0x18,0x21,0x18,0x21,0x10,0x21,0x10,0x21,0x18,0xa2,
#else
0xb7,0x7c,0xb7,0x7c,0xd7,0x7c,0xd7,0x7c,0xd7,0x7c,0xd7,0x7c,0xd7,0x7c,0xb7,0x7c,
0xd7,0x7c,0xf8,0x84,0xd8,0x84,0xb7,0x7c,0xb7,0x7c,0xd7,0x7c,0xb7,0x7c,0xb7,0x7c,
0xd8,0x84,0xd7,0x7c,0xb7,0x7c,0xb7,0x7c,0xb7,0x7c,0xb8,0x7c,0xb8,0x7c,0xb7,0x7c,
0xb7,0x7c,0xb7,0x7c,0xb7,0x7c,0xb7,0x7c,0xb7,0x7c,0xd8,0x7c,0xf8,0x84,0xd8,0x7c,
0x97,0x7c,0x97,0x74,0x97,0x7c,0xb7,0x7c,0x97,0x7c,0xd8,0x84,0xf8,0x84,0xb8,0x74,
0x98,0x74,0xd8,0x74,0xb8,0x74,0xb7,0x74,0xd7,0x8c,0x95,0x84,0x4b,0x4a,0xe4,0x20,
0xe4,0x28,0xa2,0x20,0x41,0x18,0x41,0x18,0x62,0x18,0x62,0x18,0x62,0x08,0x62,0x08,
0x82,0x10,0x62,0x08,0x21,0x08,0x42,0x08,0x62,0x10,0x22,0x10,0xa3,0x18,0xe4,0x28,
0xa4,0x20,0xc4,0x20,0xa3,0x20,0x82,0x18,0x21,0x10,0x21,0x08,0xe4,0x20,0x25,0x29,
0xc3,0x18,0xa3,0x18,0xe4,0x20,0x67,0x31,0x66,0x31,0x87,0x31,0x09,0x42,0xa7,0x31,
0x05,0x21,0x04,0x21,0xe4,0x18,0x82,0x10,0x82,0x10,0xa3,0x10,0xa3,0x18,0xa3,0x10,
0xc3,0x18,0x05,0x21,0x67,0x29,0xa8,0x29,0xa8,0x29,0xc4,0x10,0xa4,0x10,0x46,0x21,
0x87,0x29,0x25,0x21,0x66,0x29,0xa7,0x39,0xa7,0x31,0x87,0x31,0x67,0x29,0x05,0x21,
0xc4,0x18,0xa4,0x10,0x42,0x08,0xc4,0x18,0xa8,0x39,0xa8,0x39,0x05,0x21,0x22,0x00,
0x42,0x08,0x22,0x00,0x62,0x10,0x62,0x08,0x42,0x08,0x63,0x10,0x26,0x29,0x67,0x31,
0x62,0x10,0x01,0x00,0x22,0x10,0x42,0x10,0x01,0x08,0x63,0x18,0x62,0x18,0x82,0x18,
0x82,0x18,0xe4,0x28,0xab,0x62,0x8f,0x83,0xc8,0x49,0xc8,0x51,0xe4,0x38,0xe8,0x59,
0xd3,0xbc,0xb2,0xb4,0xaf,0x93,0x93,0xac,0x52,0xa4,0x6e,0x83,0xaf,0x8b,0xcf,0x83,
0x49,0x52,0xcb,0x62,0x08,0x42,0x45,0x29,0xc3,0x18,0x62,0x08,0x42,0x08,0x43,0x10,
0xc4,0x18,0xa4,0x18,0x43,0x08,0x43,0x08,0x43,0x08,0x63,0x10,0x83,0x10,0x63,0x10,
0x83,0x10,0x83,0x10,0x63,0x10,0x83,0x18,0xc5,0x20,0x84,0x18,0x02,0x08,0x43,0x10,
0xa9,0x39,0x0a,0x4a,0x06,0x29,0x89,0x39,0x68,0x31,0x64,0x10,0x47,0x29,0x6c,0x52,
0x4b,0x4a,0xcd,0x62,0x90,0x7b,0x73,0x9c,0x4a,0x52,0xe9,0x49,0x6f,0x7b,0x8f,0x83,
0x4e,0x7b,0x11,0x94,0x11,0x84,0x8f,0x73,0xed,0x62,0x73,0x94,0x11,0x84,0x4e,0x6b,
0x8c,0x5a,0x46,0x29,0x47,0x31,0xe5,0x20,0xa4,0x18,0x26,0x29,0x06,0x29,0xc5,0x20,
0xc5,0x20,0x43,0x10,0x63,0x18,0x63,0x18,0x05,0x29,0x25,0x31,0xc3,0x20,0xa3,0x20,
0x45,0x31,0xc3,0x28,0xc3,0x30,0x66,0x51,0x66,0x49,0x66,0x49,0x66,0x49,0x26,0x41,
0x66,0x49,0xa7,0x51,0x67,0x49,0x47,0x49,0xe5,0x38,0xa4,0x30,0x65,0x39,0x86,0x41,
0x86,0x41,0xa7,0x49,0x25,0x39,0x41,0x10,0x00,0x10,0x21,0x10,0x21,0x10,0x21,0x08,
0x42,0x08,0x62,0x08,0x83,0x20,0x21,0x18,0x21,0x18,0x21,0x10,0x21,0x10,0xa2,0x18,
#endif
/* scan line 2 */
#ifdef WIN32
0x7c,0xb7,0x7c,0xb7,0x7c,0xd7,0x7c,0xd7,0x7c,0xb7,0x7c,0xb7,0x7c,0xb7,0x7c,0xb7,
0x7c,0xd7,0x7c,0xd7,0x7c,0xd7,0x7c,0xb7,0x7c,0xb7,0x7c,0xd7,0x7c,0xb7,0x7c,0xb7,
0x7c,0xb7,0x7c,0xb7,0x7c,0xb7,0x7c,0x97,0x7c,0x97,0x7c,0xb7,0x7c,0xb7,0x7c,0xb7,
0x84,0xd8,0x7c,0xd8,0x7c,0xb8,0x7c,0xb8,0x7c,0xd8,0x84,0xd8,0x7c,0xd8,0x7c,0xd8,
0x7c,0xb7,0x7c,0x97,0x7c,0xb7,0x7c,0xb8,0x7c,0xd8,0x7c,0xb7,0x74,0x97,0x74,0x97,
0x74,0xb8,0x7c,0xb8,0x7c,0xb8,0x8d,0x19,0x95,0x38,0x52,0xae,0x20,0xe5,0x20,0xe4,
0x20,0xa3,0x18,0x41,0x18,0x41,0x18,0x62,0x18,0x62,0x10,0x41,0x00,0x21,0x10,0xa3,
0x08,0x62,0x00,0x00,0x08,0x42,0x10,0x83,0x10,0x62,0x18,0x83,0x28,0xe4,0x29,0x05,
0x20,0xc4,0x18,0x83,0x08,0x00,0x08,0x00,0x10,0x62,0x20,0xc3,0x29,0x04,0x20,0xc4,
0x18,0xc3,0x29,0x25,0x31,0x66,0x29,0x66,0x29,0x66,0x4a,0x4a,0x42,0x09,0x18,0xc3,
0x10,0x83,0x10,0xa3,0x08,0x62,0x18,0xc3,0x18,0xa3,0x18,0xe4,0x10,0xa3,0x10,0x83,
0x18,0xc4,0x10,0xa3,0x19,0x05,0x29,0x87,0x10,0xc4,0x08,0x83,0x21,0x26,0x3a,0x09,
0x29,0x66,0x08,0x62,0x08,0x42,0x08,0x62,0x00,0x21,0x00,0x01,0x00,0x22,0x00,0x01,
0x00,0x01,0x00,0x01,0x08,0x22,0x00,0x22,0x00,0x22,0x20,0xe5,0x18,0xc4,0x08,0x63,
0x10,0x83,0x08,0x42,0x00,0x00,0x08,0x21,0x10,0x62,0x10,0x83,0x10,0x83,0x10,0x83,
0x10,0x42,0x10,0x22,0x10,0x42,0x08,0x22,0x10,0x42,0x28,0xe5,0x31,0x45,0x39,0x86,
评论0