
Table of Contents
(Continued)
www.national.com
12
Revision1.2
P
8.2.11
8.2.12
8.2.13
8.2.14
Power-Up Detection ..................................................................................................147
Oscillator Activity .......................................................................................................147
Interrupt Handling ......................................................................................................148
Battery-Backed RAMs and Registers ........................................................................148
8.3
RTC REGISTERS ....................................................................................................................149
8.3.1
RTC Configuration Registers Structure .....................................................................149
8.3.2
RTC Runtime Register Map ......................................................................................150
8.3.3
Seconds Register (SEC) ...........................................................................................150
8.3.4
Seconds Alarm Register (SECA) ...............................................................................151
8.3.5
Minutes Register (MIN) ..............................................................................................151
8.3.6
Minutes Alarm Register (MINA) .................................................................................151
8.3.7
Hours Register (HOR) ...............................................................................................152
8.3.8
Hours Alarm Register (HORA) ..................................................................................152
8.3.9
Day-of-Week Register (DOW) ...................................................................................152
8.3.10
Date-of-Month Register (DOM) .................................................................................153
8.3.11
Month Register (MON) ..............................................................................................153
8.3.12
Year Register (YER) ..................................................................................................153
8.3.13
RTC Control Register A (CRA) ..................................................................................154
8.3.14
RTC Control Register B (CRB) ..................................................................................156
8.3.15
RTC Control Register C (CRC) .................................................................................157
8.3.16
RTC Control Register D (CRD) .................................................................................157
8.3.17
Date-of-Month Alarm Register (DOMA) .....................................................................158
8.3.18
Month Alarm Register (MONA) ..................................................................................158
8.3.19
Century Register (CEN) .............................................................................................158
8.3.20
BCD and Binary Formats ...........................................................................................159
8.4
USAGE HINTS ........................................................................................................................159
8.5
RTC REGISTER BITMAP ........................................................................................................160
8.6
RTC GENERAL-PURPOSE RAM MAP ...................................................................................160
9.0
System Wake-Up Control (SWC)
9.1
OVERVIEW .............................................................................................................................161
9.2
FUNCTIONAL DESCRIPTION ................................................................................................162
9.2.1
External Events .........................................................................................................162
9.2.2
Internal Events ...........................................................................................................166
9.2.3
Sleep States ..............................................................................................................167
9.2.4
Interrupt Signals ........................................................................................................168
9.2.5
Power Management Signals ......................................................................................169
9.2.6
Special Power Management Functions .....................................................................172
9.2.7
LED Control ...............................................................................................................173
9.2.8
Power Active Timers ..................................................................................................174
9.2.9
Watchdog Function ....................................................................................................174
9.2.10
Miscellaneous Functions ...........................................................................................175
9.3
SWC REGISTERS ...................................................................................................................176
9.3.1
SWC Register Map ....................................................................................................176