main.c

来自「S3c44b0x下的ucgui」· C语言 代码 · 共 46 行

C
46
字号
/*********************************************************************************************
* File:	main.c
* Author:	embest
* Desc:	c main entry
* History:	
*********************************************************************************************/

/*--- include files ---*/
#include "44blib.h"
#include "44b.h"
#include "GUI.H"
#include "button.h"
/*--- function declare ---*/
void main(void);


/*--- function code ---*/
/*********************************************************************************************
* name:		main
* func:		c code entry
* para:		none
* ret:		none
* modify:
* comment:		
*********************************************************************************************/
void Main(void)
{
    rI_ISPC = 0xffffffff;			/* clear all interrupt pend	*/
	Port_Init();					/* Initial 44B0X's I/O port */
	rSYSCFG=CACHECFG;               // Using 8KB Cache
	Delay(0);						/* delay time				*/
	Delay(100);						/* delay time				*/
//	Uart_Init(0,115200);			/* Initial ()Serial port 1	*/ 
    //Tick_Init();   
    GUI_Init();
    TS_init();	
    //GUI_FillRect(20, 20, 5, 5);
    for(;;);
  // while (1) {
  // GUIDEMO_main();
   
  // } 
 
}

⌨️ 快捷键说明

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