⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rtc_util.h

📁 umon bootloader source code, support mips cpu.
💻 H
字号:
/* rtc_util.h

    Author: David de la Cruz, Technology Rescue.
    email:  ddlc@techresc.net

	Modification History :

	Version 1.0:
		09.05.2003 : New.
*/



#define ORIGINYEAR  2000	/* 2000 */
#define JAN1WEEK    2       /* Tuesday */


typedef struct _SYSTEMTIME {  
	ulong year;
	ulong month;
	ulong dayofweek;
	ulong day;
	ulong hour;
	ulong minute;
	ulong second;
	ulong milliseconds;
} SYSTEMTIME, *PSYSTEMTIME;

//--------------------------------------------------------------------------
// function prototypes
//
void GetSystemTime(unsigned int cur_time, PSYSTEMTIME lpst);
void SetSystemTime(SYSTEMTIME ThisTime, unsigned int *cur_time);

void rtc_init(void);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -