main.c
来自「Embest EudKit-II教学系统配Samsung S3C44B0处理器的」· C语言 代码 · 共 49 行
C
49 行
/*********************************************************************************************
* File: main.c
* Author: embest
* Desc: c main entry
* History:
*********************************************************************************************/
/*--- include files ---*/
#include "44blib.h"
#include "44b.h"
/*--- function declare ---*/
void main(void);
/*--- extern function ---*/
extern void Tftp_Test(void);
/*--- function code ---*/
/*********************************************************************************************
* name: main
* func: c code entry
* para: none
* ret: none
* modify:
* comment:
*********************************************************************************************/
void Main(void)
{
sys_init(); /* Initial 44B0X's Interrupt,Port and UART */
/******************/
/* user interface */
/******************/
uart_printf("\n\rEmbest 44B0X Evaluation Board(EduKit II)");
uart_printf("\n\rEthernet TFTP file transport Test Example\n");
/* Enable A24 valid. */
rPCONA |= 0x200;
/* disable flash cache */
rNCACHBE1 = 0x20000000;
for( ; ; )
{
Tftp_Test();
delay(500);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?