#ifndef __OSPRTCH__ #define __OSPRTCH__ #include "ospTypes.h" #ifdef __cplusplus extern "C" { #endif typedef struct tagRTC_DATE_TIME{ uint32_t year; uint32_t month; uint32_t day; uint32_t hour; uint32_t minute; uint32_t second; uint32_t usecond; } OSP_RTCTIME; /* function prototype */ extern OSP_STATUS osp_get_rtc_time(OSP_RTCTIME *pRtc); extern void osp_show_rtc_time(void); #ifdef __cplusplus } #endif #endif /* __OSPRTCH__ */