|
|
| version 1.1, 2004/08/01 05:31:29 | version 1.3, 2004/08/12 14:03:14 |
|---|---|
| Line 1 | Line 1 |
| typedef struct { | typedef struct { |
| _SYSTIME dt; | _SYSTIME dt; |
| // UINT steps; | UINT steps; |
| } _CALENDAR, *CALENDAR; | } _CALENDAR, *CALENDAR; |
| Line 11 extern "C" { | Line 11 extern "C" { |
| extern _CALENDAR cal; | extern _CALENDAR cal; |
| void calendar_initialize(void); | |
| void calendar_inc(void); | void neitem_rtc(UINT id); |
| void calendar_getdate(UINT8 *bcd); | void calendar_getdate(UINT8 *bcd); |
| void calendar_setdate(const UINT8 *bcd); | void calendar_setdate(const UINT8 *bcd); |
| void calendar_gettime(UINT8 *bcd); | void calendar_gettime(UINT8 *bcd); |
| void calendar_settime(const UINT8 *bcd); | void calendar_settime(const UINT8 *bcd); |
| void calendar_reset(void); | |
| #ifdef __cplusplus | #ifdef __cplusplus |
| } | } |
| #endif | #endif |