mc146818rtcpep.h

来自「此文件是cp6000主板的bsp包」· C头文件 代码 · 共 65 行

H
65
字号
/* 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 + =
减小字号Ctrl + -
显示快捷键?