10 real time clock (rtc) user interface, Rtc ctrl – Rainbow Electronics AT73C246 User Manual
Page 40

40
11050A–PMAAC–07-Apr-10
AT73C246
11.10 Real Time Clock (RTC) User Interface
Figure 11-10. RTC Block Diagram
Note:
1. Values in the Version Register vary with the version of the IP block implementation.
RTC ADDR
RTC DATA 3
RTC DATA 2
RTC DATA 1
RTC DATA 0
CONTROL REGISTER
STATUS CLEAR COMMAND REGISTER
MODE REGISTER
TIME REGISTER
CALENDAR REGISTER
TIME ALARM REGISTER
CALENDAR ALARM REGISTER
STATUS REGISTER
INTERRUPT ENABLE REGISTER
INTERRUPT DISABLE REGISTER
INTERRUPT MASK REGISTER
VALID ENTRY REGISTER
VERSION REGISTER
RESERVED REGISTER
RTC
CTRL
RTC_SEL
RTC_EN
RTC_WRITE
RTC
Table 11-9.
Register Mapping
Offset
Register Name
Access
Reset
0x00
Control Register
RTC_CR
Read-write
0x0
0x04
Mode Register
RTC_MR
Read-write
0x0
0x08
Time Register
RTC_TIMR
Read-write
0x0
0x0C
Calendar Register
RTC_CALR
Read-write
0x01819819
0x10
Time Alarm Register
RTC_TIMALR
Read-write
0x0
0x14
Calendar Alarm Register
RTC_CALALR
Read-write
0x01010000
0x18
Status Register
RTC_SR
Read-only
0x0
0x1C
Status Clear Command Register
RTC_SCCR
Write-only
---
0x20
Interrupt Enable Register
RTC_IER
Write-only
---
0x24
Interrupt Disable Register
RTC_IDR
Write-only
---
0x28
Interrupt Mask Register
RTC_IMR
Read-only
0x0
0x2C
Valid Entry Register
RTC_VER
Read-only
0x0
0xFC
Version Register
RTC_VERSION
Read-only
---
0xFC
Reserved Register
---
---
---