Alarm Mask Register (Amr - 0Xe002 4010); Consolidated Time Registers; Consolidated Time Register 0 (Ctime0 - 0Xe002 4014); User Manual - Philips LPC2101 User Manual

Table of Contents

Advertisement

Philips Semiconductors
Volume 1
Table 189: Counter Increment Interrupt Register (CIIR - address 0xE002 400C) bit description
Bit
0
1
2
3
4
5
6
7

17.4.7 Alarm Mask Register (AMR - 0xE002 4010)

The Alarm Mask Register (AMR) allows the user to mask any of the alarm registers.
Table 190
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 190: Alarm Mask Register (AMR - address 0xE002 4010) bit description
Bit
0
1
2
3
4
5
6
7

17.4.8 Consolidated time registers

The values of the Time Counters can optionally be read in a consolidated format which
allows the programmer to read all time counters with only three read operations. The
various registers are packed into 32-bit values as shown in
Table
The Consolidated Time Registers are read only. To write new values to the Time
Counters, the Time Counter addresses should be used.

17.4.9 Consolidated Time register 0 (CTIME0 - 0xE002 4014)

The Consolidated Time Register 0 contains the low order time values: Seconds, Minutes,
Hours, and Day of Week.

User manual

Symbol
Description
IMSEC
When 1, an increment of the Second value generates an interrupt.
IMMIN
When 1, an increment of the Minute value generates an interrupt.
IMHOUR
When 1, an increment of the Hour value generates an interrupt.
IMDOM
When 1, an increment of the Day of Month value generates an interrupt. NA
IMDOW
When 1, an increment of the Day of Week value generates an interrupt. NA
IMDOY
When 1, an increment of the Day of Year value generates an interrupt.
IMMON
When 1, an increment of the Month value generates an interrupt.
IMYEAR
When 1, an increment of the Year value generates an interrupt.
shows the relationship between the bits in the AMR and the alarms. For the
Symbol
Description
AMRSEC
When 1, the Second value is not compared for the alarm.
AMRMIN
When 1, the Minutes value is not compared for the alarm.
AMRHOUR When 1, the Hour value is not compared for the alarm.
AMRDOM
When 1, the Day of Month value is not compared for the alarm.
AMRDOW
When 1, the Day of Week value is not compared for the alarm.
AMRDOY
When 1, the Day of Year value is not compared for the alarm.
AMRMON
When 1, the Month value is not compared for the alarm.
AMRYEAR
When 1, the Year value is not compared for the alarm.
193. The least significant bit of each register is read back at bit 0, 8, 16, or 24.
Rev. 01 — 12 January 2006
UM10161
Chapter 17: RTC
Table
191,
Table
192, and
© Koninklijke Philips Electronics N.V. 2006. All rights reserved.
Reset
value
NA
NA
NA
NA
NA
NA
Reset
value
NA
NA
NA
NA
NA
NA
NA
NA
217

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2103Lpc2102

Table of Contents