?? main.c
字號(hào):
#include <string.h>
#include "Target\44blib.h"
#include <stdio.h>
#include "Timer_int.h"
//#include "einttest\eint.h"
extern void Test_Eint(void);
# if 0
void * function[][2]=
{
(void *)Test_Eint, "Ext. Int ",
0,0
};
#endif
void Main(void)
{
//char aa,ch1,ch2;
Port_Init();
Uart_Init(0,115200);
Led_Display(0xf);
Delay(0);
Beep(0x1);
Uart_Select(0); //Select UART0//
Uart_Printf("\n*************************************************************************");
Beep(0x0);
Uart_Printf("\n* 立宇泰電子 *");
Uart_Printf("\n* -S3C44B0X功能部件:中斷測(cè)試- *");
Uart_Printf("\n* Version 1.21 *");
Uart_Printf("\n* Email:Support@hzlitai.com.cn *");
Uart_Printf("\n* UART Config--COM:115.2kbps,8Bit,NP,UART0 *");
Uart_Printf("\n*-----------------Begin to Start EXINT test,OK? (Y/N)-------------------*");
Led_Display(0x0);
//aa= Uart_Getch();
//if((aa=='Y')||(aa=='y'))
Timer0_init();
while(1)
{
//( (void (*)(void)) (function[0][0]))();
//Uart_Printf("hello\n");
//Test_Eint();
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -