#ifndef _RTC_TASK_H_ #define _RTC_TASK_H_ #include "RtcDrv.h" #define TASK_RTC_SYNC_MESSGAE_ID 0x0002 // RTC时钟同步的消息ID /* RTC时钟初始化 */ void TaskRtcInit(void); /* 时钟同步任务 */ void TaskRtcSync(void *arg); /* 确认时钟同步函数 */ int TaskRtcSyncSet(DRV_RTC_TIME *RtcTime); int TaskRtcGetSyncSta(void); #endif