引导菜单.c

来自「C8051ucos源码」· C语言 代码 · 共 64 行

C
64
字号

//---------------------------------------------------------------------------------------------------
//标准菜单程序
//
//
//---------------------------------------------------------------------------------------------------
#include "menu.h"
#include "CM240128.H"
#include "输入状态栏.h"
#include "gprs.h"
#include "功能选择菜单.h"
#include "数据存储.h"
#include "main.h"
//---------------------------------------------------------------------------------------------------


void MENU_Boot_Load(unsigned char *pBuf)
{

pBuf=pBuf;

MENU_Option(0);

/*
ClrDisplay();
SetCurrLoc(0,96);
DisplayStr("连接过程结束按任意键继续",30);
InputStateOption(1);
*/
}
//---------------------------------------------------------------------------------------------------
//刷新
void MENU_Boot_refurbish(void)
{
//user code 

//user code end
}
//---------------------------------------------------------------------------------------------------
//数据输入
void MENU_Boot_incept(unsigned char *pBuf)
{
//user code 
if(pBuf==0)return;






MENU_Option(0);
//user code end
}
//---------------------------------------------------------------------------------------------------
//---------------------------------------------------------------------------------------------------
//下面是不可改写的代码
void MENU_Boot(unsigned char *pBuf)
{
MenuSet(MENU_Boot_refurbish,MENU_Boot_incept);
MENU_Boot_Load(pBuf);
}
//---------------------------------------------------------------------------------------------------

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?