📄 main.c.bak
字号:
#include "2410lib.h"
#include "option.h"
#include "2410addr.h"
#include "def.h"
void Main(void)
{
U32 i;
ChangeClockDivider(1,1); // 1:2:4
ChangeMPllValue(161,3,1); //FCLK=202.8Mhz
Port_Init();
Uart_Init(0,115200);
Uart_Select(0);
MMU_Init();
MMU_EnableICache();
Uart_Printf("\n*************************************************************");
Uart_Printf("\n* Create-ARM2410T Embeded System(Ver:3.0) *");
Uart_Printf("\n* Create Electronic CO.,Ltd *");
Uart_Printf("\n* Tel:0731-4448056 *");
Uart_Printf("\n* http://www.hncreate.com *");
Uart_Printf("\n* Email:create@hncreate.com *");
Uart_Printf("\n*-----------------------------------------------------------*");
Uart_Printf("\n* SYSTEM CONFIG *");
Uart_Printf("\n* COM:115200bps,8bit,np,uart0 *");
Uart_Printf("\n* BIOS:2M Byte *");
Uart_Printf("\n* NAND FLASH:64M Byte *");
Uart_Printf("\n* SDRAM:64M Byte *");
Uart_Printf("\n* USB: V1.1 *");
Uart_Printf("\n* ETHERNET: 10M *");
Uart_Printf("\n* MONITOR: 320*240 STN Color LCD *");
Uart_Printf("\n*************************************************************");
Uart_Printf("\n");
while(1);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -