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

📄 mc146818rtcpep.h

📁 此文件是cp6000主板的bsp包
💻 H
字号:
/* mc146818RtcPep.h - header for the mc146818 real time clock library *//* Copyright 2002 Kontron Modular Computers GmbH *//*modification history--------------------01c,14aug02,phd copyright adjusted				functions to set and show the system clock added01b,12oct01,phd attribute to prevent warnings added to PEP version identifier01a,02apr01,phd created*/#ifndef __INCmc146818RtcPep_h#define __INCmc146818RtcPep_h#ifdef __cplusplusextern "C" {#endif/* includes */#include "vxWorks.h"#include "time.h"#include "versionPep.h"/* defines *//* version identifier */PEP_VERSION(mc146818RtcPep_h,01c)/* function declarations */#if defined(__STDC__) || defined(__cplusplus)IMPORT STATUS	rtcInit			(VOID);IMPORT STATUS	rtcGet			(struct tm *pTime);IMPORT STATUS	rtcSet			(struct tm *pTime);IMPORT VOID		rtcHook			(DOS_DATE_TIME *pDateTime);IMPORT STATUS	rtcTimeSet		(VOID);IMPORT STATUS	rtcTimeShow		(VOID);IMPORT STATUS	rtcClockSet		(VOID);IMPORT STATUS	rtcClockShow	(VOID);#elseIMPORT STATUS	rtcInit			();IMPORT STATUS	rtcGet			();IMPORT STATUS	rtcSet			();IMPORT STATUS	clockSet		();IMPORT VOID		rtcHook			();IMPORT STATUS	rtcTimeSet		();IMPORT STATUS	rtcTimeShow		();IMPORT STATUS	rtcClockSet		();IMPORT STATUS	rtcClockShow	();#endif	/* __STDC__ */#ifdef __cplusplus}#endif#endif /* __INCmc146818RtcPep_h */

⌨️ 快捷键说明

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