⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.c

📁 基于ARM9芯片的一个简单的GPRS测试程序
💻 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-II Evaluation Board\n");
	uart_printf(" This is a Demo for EduKit II\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 + -