main.c
来自「Embest EudKit-II教学系统配Samsung S3C44B0处理器的」· C语言 代码 · 共 39 行
C
39 行
/*********************************************************************************************
* File: main.c
* Author: embest
* Desc: c main entry
* History:
*********************************************************************************************/
#include "44blib.h"
#include "44b.h"
#include "rtc.h"
/*------------------------------------------------------------------------------------------*/
/* function declare */
/*------------------------------------------------------------------------------------------*/
char use_rtc(void);
char check_rtc(void);
/*********************************************************************************************
* name: main
* func: c code entry
* para: none
* ret: none
* modify:
* comment:
*********************************************************************************************/
void Main()
{
sys_init(); // Initial 44B0X's Interrupt,Port and UART
// user interface
uart_printf("\n\r Embest S3C44B0X Evaluation Board");
// set the time for RTC and display current time
while(1)
{
rtc_test();
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?