main.c
来自「本程序是s3c2410的实验程序」· C语言 代码 · 共 35 行
C
35 行
/*********************************************************************************************
* File: main.c
* Author: embest
* Desc: c main entry file for the IO port test
* History:
*********************************************************************************************/
/*------------------------------------------------------------------------------------------*/
/* includes files */
/*------------------------------------------------------------------------------------------*/
//#include "2410lib.h"
/*********************************************************************************************
* name: main
* func: c code entry
* para: none
* ret: none
* modify:
* comment:
*********************************************************************************************/
#include <stdio.h>
void main(int argc,char **argv)
{
sys_init(); /* Initial s3c2410's Clock, MMU, Interrupt,Port and UART */
// user interface
printf("hello world!\n");
while(1)
{
led_test();
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?