123456789101112131415161718 |
- #ifndef __USER_RTC_H_
- #define __USER_RTC_H_
- typedef struct{
- unsigned short year;
- unsigned char month;
- unsigned char day;
- unsigned char hour;
- unsigned char min;
- unsigned char second;
- }USER_RTC_DEF;
- void RTC_Init(void);
- void RTC_Update(void);
- void RTC_UserSetTime(USER_RTC_DEF);
- void RTC_UserGetTime(USER_RTC_DEF *);
- #endif
|