?? main.c
字號:
/*********************************************************************************************
* File: main.c
* Author: embest
* Desc: c main entry
* History:
* H.T.Zhang, Programming start, September 14, 2005
*********************************************************************************************/
#include "2410lib.h"
#include "lcd.h"
#include "demo.h"
#include "lcdlib.h"
#define LCD_D_OFF rGPCDAT &= ~(1 << 4);
#define LCD_D_ON rGPCDAT |= (1 << 4);
/*------------------------------------------------------------------------------------------*/
/* function declare */
/*------------------------------------------------------------------------------------------*/
void Main(void);
/*********************************************************************************************
* name: main
* func: c code entry
* para: none
* ret: none
* modify:
* comment:
*********************************************************************************************/
void Main(void)
{
INT32T i;
sys_init(); // Initial 44B0X's Interrupt,Port and UART
// initialize the 8led-function first of ZLG7290 (more to see ZLG7290.pdf)
// present the invalid sign generated while keyboard-function
// Initialize iic
// Enable interrupt
keyboard_init(); //keyboard initialize
uart_printf("\n Embest EduKit-III Evaluation Board\n");
uart_printf(" This is a Demo for EduKit\n");
#ifdef LCD_STN256_COLOR
lcd_init_app(); // initial LCD controller , clear screen
#endif
LCD_D_ON;
disp_mainmenu();
demo_main();
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -