EasyManua.ls Logo

AMD Elan SC520 - Registers

AMD Elan SC520
444 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Real-Time Clock
20-6 Élan™SC520 Microcontroller User’s Manual
microcontroller’s programmable interrupt inputs and program the interrupt steering logic to
route the request to interrupt priority P8.
Disabling the internal RTC does not disable or reset the core in any way.
See “Disabling Internal Peripherals” on page 3-21 for more information.
20.4 REGISTERS
The RTC is controlled by the configuration registers listed in Table 20-1, Table 20-2, and
Table 20-3.
Table 20-1 Real-Time Clock Registers—Memory-Mapped
Register Mnemonic
MMCR
Offset
Address Function
Address Decode Control ADDDECCTL 80h RTC disable
RTC Interrupt Mapping RTCMAP D43h RTC interrupt mapping
Table 20-2 Real-Time Clock Registers—Direct-Mapped
Register Mnemonic I/O Address Function
RTC/CMOS RAM Index RTCIDX 0070h RTC index to read or write
RTC/CMOS RAM Data Port RTCDATA 0071h Data to be read or written
Table 20-3 Real-Time Clock Registers—RTC Indexed
Register Mnemonic I/O Address Function
RTC Current Second RTCCURSEC 70h/71h
Index 00h
Seconds
RTC Alarm Second RTCALMSEC 70h/71h
Index 01h
Seconds alarm
RTC Current Minute RTCCURMIN 70h/71h
Index 02h
Minutes
RTC Alarm Minute RTCALMMIN 70h/71h
Index 03h
Minutes alarm
RTC Current Hour RTCCURHR 70h/71h
Index 04h
Hours, 12- and 24-hour mode
RTC Alarm Hour RTCALMHR 70h/71h
Index 05h
Hours alarm, 12- and 24-hour mode
RTC Current Day of the Week RTCCURDOW 70h/71h
Index 06h
Day of the week
RTC Current Day of the
Month
RTCCURDOM 70h/71h
Index 07h
Day of the month
RTC Current Month RTCCURMON 70h/71h
Index 08h
Month
RTC Current Year RTCCURYR 70h/71h
Index 09h
Year

Table of Contents