#ifndef _SYSTIME_H #define _SYSTIME_H #ifdef CPU_FUXI typedef struct { uint16_t A; uint16_t B; struct timespec ts;//ʱ¼ä´Á uint16_t crc; }SHM_TS_T; #endif typedef struct TIME_SHOW { WORD year; WORD month; WORD day; WORD hour; WORD min; WORD sec; }TIME_SHOW; void sys_time_init(void); void sys_time_get(struct rtc_time_t *pct); int sys_time_set(struct rtc_time_t *pct); #ifdef CPU_FUXI int sys_time_set_kernal(struct rtc_time_t *pct); void sys_time_check(void); #endif void sys_time_set_rmt(struct rtc_time_t *pt) ; void sys_time_change(struct rtc_time_t *p_ct); void clk_app(void); #endif