- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 29.31kb
- Update:
- 2008-10-13
- Downloads:
- 0 Times
- Uploaded by:
- redfox29
Description: C8051f020 real-time clock module containing procedures IIC module procedures /************ SYSTEM CLOCK 8M********************************/ extern unsigned char OS ta currenttime [16] = (0) extern unsigned char x settime data [16] = (0x00,// control regesiter an 0x00,// control regesiter two 0x01,// current second 0x19,// current minute 0x20,// 0x29 current hour.// current data 0x04,// current week hex 07.// current month 0x05,// 0x00 current year.// reset alarm value 0x00,// reset alarm value 0x00,// reset alarm value 0x00,// reset alarm value 0x00,// clk out disable 0x00,// close timer 0x00, /**************************************)*******************************/ extern gift id Current_Time (void) extern void Set_Time (v oid)
File list (Check if you may need any files):