📄 30503af2a7c1001d10f4c581ea524f65
字号:
#ifndef PACKAGE_H
#define PACKAGE_H
#define pckSTACK_SIZE configMINIMAL_STACK_SIZE
#define doSTACK_SIZE configMINIMAL_STACK_SIZE
/*
#define ledNUMBER_OF_LEDS ( 3 )*/
#define pck_RATE_BASE ( ( portTickType ) 50 )
uint8 cmdBuff[200]; // save the cmd and datas
uint8 cmdBuff_Len; // the len of cmd
// // the status of current cmd
/* The task that is created three times. */
static portTASK_FUNCTION_PROTO( vPCKTask, pvParameters );
void vStartPCKTasks( unsigned portBASE_TYPE uxPriority );
/* response functions */
void responseErrorReport(unsigned char errcode);
void reponseInqReport(uint8 * pStr,DWORD resLen);
void responseReport(unsigned char flag,uint8 *pStr,int len);
/* display function */
void displayHex(int x,int y,char * pStr,int rlen);
int DisplayStringMKD(uint8 * ptr,uint8 len);
int SetDisplayMode(uint8 *ptr);
int ClearScreenMKD(uint8 *ptr);
int DoCommand(uint8 * ptr);
int SwitchlightMKD(uint8 * ptr);
void PutString(uint8 x,uint8 y,uint8 *key,uint8 len);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -