main.c
来自「这是三星arm s3c44b0x开发板上的一些实例程序」· C语言 代码 · 共 44 行
C
44 行
#include "option.h"
#include "def.h"
#include "44b.h"
#include "44blib.h"
void Main(void)
{
rSYSCFG=CACHECFG; // Using 8KB Cache//
Port_Init();
while(1) {};
Beep(0);
Delay(1000);
Beep(1);
Delay(1000);
Led_Display(0x01);
Delay(2000);
Led_Display(0x02);
Delay(2000);
Beep(0);
Delay(1000);
Beep(1);
Delay(1000);
Led_Display(0x04);
Delay(2000);
Led_Display(0x00);
Delay(2000);
Led_Display(0x04);
Delay(2000);
Led_Display(0x02);
Delay(2000);
Led_Display(0x01);
Delay(2000);
Led_Display(0x00);
Delay(2000);
rPDATE=rPDATE&0x1df;
Delay(12000);
rPDATE=rPDATE|0x020;
Delay(12000);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?