UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
User manual
Rev. 1.3 — 6 July 2012
930 of 1269
NXP Semiconductors
UM10503
Chapter 35: LPC43xx Real-Time Clock (RTC)
35.6.3 Counter Increment Interrupt Register
The Counter Increment Interrupt Register (CIIR) gives the ability to generate an interrupt
every time a counter is incremented. This interrupt remains valid until cleared by writing a
1 to bit 0 of the Interrupt Location Register (ILR[0]).
35.6.4 Alarm Mask Register
The Alarm Mask Register (AMR) allows the user to mask any of the alarm registers.
shows the relationship between the bits in the AMR and the alarms. For the
alarm function, every non-masked alarm register must match the corresponding time
counter for an interrupt to be generated. The interrupt is generated only when the counter
comparison first changes from no match to match. The interrupt is removed when a one is
written to the appropriate bit of the Interrupt Location Register (ILR). If all mask bits are
set, then the alarm is disabled.
Table 786. Counter Increment Interrupt Register (CIIR - address 0x4004 600C) bit description
Bit
Symbol
Description
Reset
value
0
IMSEC
When 1, an increment of the Second value generates an interrupt.
0
1
IMMIN
When 1, an increment of the Minute value generates an interrupt.
0
2
IMHOUR
When 1, an increment of the Hour value generates an interrupt.
0
3
IMDOM
When 1, an increment of the Day of Month value generates an
interrupt.
0
4
IMDOW
When 1, an increment of the Day of Week value generates an
interrupt.
0
5
IMDOY
When 1, an increment of the Day of Year value generates an interrupt. 0
6
IMMON
When 1, an increment of the Month value generates an interrupt.
0
7
IMYEAR
When 1, an increment of the Year value generates an interrupt.
0
31:8
-
Reserved, user software should not write ones to reserved bits. The
value read from a reserved bit is not defined.
NA
Table 787. Alarm Mask Register (AMR - address 0x4004 6010) bit description
Bit
Symbol
Description
Reset
value
0
AMRSEC
When 1, the Second value is not compared for the alarm.
0
1
AMRMIN
When 1, the Minutes value is not compared for the alarm.
0
2
AMRHOUR When 1, the Hour value is not compared for the alarm.
0
3
AMRDOM
When 1, the Day of Month value is not compared for the alarm.
0
4
AMRDOW
When 1, the Day of Week value is not compared for the alarm.
0
5
AMRDOY
When 1, the Day of Year value is not compared for the alarm.
0
6
AMRMON
When 1, the Month value is not compared for the alarm.
0
7
AMRYEAR
When 1, the Year value is not compared for the alarm.
0
31:8
-
Reserved, user software should not write ones to reserved bits. The
value read from a reserved bit is not defined.
NA