Coder
分类: 嵌入式
2010-04-18 11:03:32
Register |
Address |
R/W |
Description |
Reset Value |
RTCCON |
0x57000040(L)0x57000043(B) |
R/W (by byte) |
RTC control register |
0x0 |
RTCCON |
Bit |
Description |
|
CLKRST |
[3] |
RTC clock count reset.0 = No reset, 1 = Reset |
0 |
CNTSEL |
[2] |
BCD count select.0 = Merge BCD counters1 = Reserved (Separate BCD counters) |
0 |
CLKSEL |
[1] |
BCD clock select.0 = XTAL 1/215 divided clock1 = Reserved (XTAL clock only for test) |
0 |
RTCEN |
[0] |
RTC control enable.0 = Disable 1 = EnableNote: Only BCD time count and read operation can be performed. |
0 |
Register |
Address |
R/W |
Description |
Reset Value |
TICNT |
0x57000044(L)0x57000047(B) |
R/W (by byte) |
Tick time count register |
0x0 |
TICNT |
Bit |
Description |
|
TICK INT ENABLE |
[7] |
Tick time interrupt enable.0 = Disable 1 = Enable |
0 |
TICK TIME COUNT |
[6:0] |
Tick time count value (1~127).This counter value decreases internally, and users cannot readthis counter value in working. |
000000 |
Register |
Address |
R/W |
Description |
Reset Value |
RTCALM |
0x57000050(L)0x57000053(B) |
R/W (by byte) |
RTC alarm control egister |
0x0 |
RTCALM |
Bit |
Description |
|
Reserved |
[7] |
0 |
|
ALMEN |
[6] |
Alarm global enable.0 = Disable, 1 = Enable |
0 |
YEAREN |
[5] |
Year alarm enable.0 = Disable, 1 = Enable |
0 |
MONREN |
[4] |
Month alarm enable.0 = Disable, 1 = Enable |
0 |
DATEEN |
[3] |
Date alarm enable.0 = Disable, 1 = Enable |
0 |
HOUREN |
[2] |
Hour alarm enable.0 = Disable, 1 = Enable |
0 |
MINEN |
[1] |
Minute alarm enable.0 = Disable, 1 = Enable |
0 |
SECEN |
[0] |
Second alarm enable.0 = Disable, 1 = Enable |
0 |
Register |
Address |
R/W |
Description |
Reset Value |
ALMSEC |
0x57000054(L)0x57000057(B) |
R/W(by byte) |
Alarm second data egister |
0x0 |
ALMMIN |
0x57000058(L)0x5700005B(B) |
R/W(by byte) |
Alarm minute data register |
0x00 |
ALMHOUR |
0x |
R/W(by byte) |
Alarm
hour data register
|
0x00 |
ALMDATE |
0x57000060(L)0x57000063(B) |
R/W(by byte) |
Alarm date data register |
0x01 |
ALMMON |
0x57000064(L)0x57000067(B) |
R/W(by byte) |
Alarm month data register |
0x01 |
ALMYEAR |
0x57000068(L)0x5700006B(B) |
R/W(by byte) |
Alarm year data register |
0x0 |
Register |
Address |
R/W |
Description |
Reset Value |
BCDSEC |
0x57000070(L)0x57000073(B) |
R/W(by byte) |
BCD second data egister |
Undefined |
BCDMIN |
0x57000074(L)0x57000077(B) |
R/W(by byte) |
BCD minute data register |
Undefined |
BCDHOUR |
0x57000078(L)0x5700007B(B) |
R/W(by byte) |
BCD
hour data register
|
Undefined |
BCDDATE |
0x |
R/W(by byte) |
BCD date register |
Undefined |
BCDDAY |
0x57000080(L)0x57000083(B) |
R/W(by byte) |
BCD a day of the week register |
Undefined |
BCDMON |
0x57000084(L)0x57000087(B) |
R/W(by byte) |
BCD month data register |
Undefined |
BCDYEAR |
0x57000088(L)0x5700008B(B) |
R/W(by byte) |
BCD year data register |
Undefined |