UM10413
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2011. All rights reserved.
User manual
Rev. 1 — 16 December 2011
205 of 268
NXP Semiconductors
UM10413
MPT612 User manual
[1]
Registers in RTC other than register PWRCTRL and those that are part of the prescaler are not affected by
chip reset. If RTC is enabled, these registers must be initialized by software. Reset value reflects the data
stored in used bits only. It does not include the content of reserved bits.
24.6.1 RTC interrupts
Interrupt generation is controlled through the interrupt location register (ILR), counter
increment interrupt register (CIIR), the alarm registers, and the alarm mask register
(AMR). Interrupts are generated only by the transition into the interrupt state. The ILR
separately enables CIIR and AMR interrupts. Each bit in CIIR corresponds to one of the
time counters. If CIIR is enabled for a particular counter, then every time the counter is
incremented an interrupt is generated. The alarm registers allow the user to specify a date
and time for an interrupt to be generated. The AMR provides a mechanism to mask alarm
compares. If all non-masked alarm registers match the value in their corresponding time
counter, then an interrupt is generated.
If the RTC is operating from its own oscillator on the RTCX1-2 pins, the RTC interrupt can
bring the MPT612 out of Power-down or Deep power-down mode. When the RTC
interrupt is enabled for wake-up and its selected event occurs, the oscillator wake-up
cycle associated with the X1/2 pins is started. For details on the RTC-based wake-up
process, see
Section 10.5.3 “Interrupt wake-up register (INTWAKE - 0xE01F C144)” on
and
Section 10.12 “Wake-up timer” on page 56
.
24.6.2 Miscellaneous register group
summarizes the registers located from 0 to 7 of A[6:2]. More detailed
descriptions follow.
GPREG2
32
general purpose 2 register
R/W
NC
0xE002 404C
ALSEC
6
alarm value for seconds
R/W
NC
0xE002 4060
ALMIN
6
alarm value for minutes
R/W
NC
0xE002 4064
ALHOUR
5
alarm value for hours
R/W
NC
0xE002 4068
ALDOM
5
alarm value for day of month
R/W
NC
0xE002 406C
ALDOW
3
alarm value for day of week
R/W
NC
0xE002 4070
ALDOY
9
alarm value for day of year
R/W
NC
0xE002 4074
ALMON
4
alarm value for months
R/W
NC
0xE002 4078
ALYEAR
12
alarm value for year
R/W
NC
0xE002 407C
PREINT
13
prescaler value, integer portion
R/W
0
0xE002 4080
PREFRAC
15
prescaler value, fractional portion
R/W
0
0xE002 4084
Table 191. Real-time clock (RTC) register map
…continued
Name
Size
Description
Access
Reset
value
[1]
Address