44btest.c
来自「自己买的arms3c44b0开发板附带的demo程序」· C语言 代码 · 共 40 行
C
40 行
#include <string.h>
#include "..\inc\44b.h"
#include "..\inc\44blib.h"
#include "..\inc\option.h"
#include "..\inc\cache.h"
//****************************************************************
// * S3C44B0X developer's notes *
// ****************************************************************
void Main(void)
{
// Isr_Init();
Uart_Init(0,115200);
Uart_Select(0);
Delay(0); //calibrate Delay()
Delay(5000);
while(1)
{
char aa;
Uart_Printf("\n\n***********************************************************************");
Uart_Printf("\n\n\n 欢迎使用恒丰锐科S3C44B0 CACHE 测试程序(2007)\n\n");
Uart_Printf("\n*-----------------Begin to Start cache test,OK? (Y/N)-----------------*");
Uart_Printf("\n");
Uart_Printf("\nEnter the 'Y' or 'y' to test:\n");
aa= Uart_Getch();
if((aa=='Y')||(aa=='y'))
{
Uart_Printf("\n");
(void (*)(void))Test_Cache();
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?