
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
538 of 808
NXP Semiconductors
UM10360
Chapter 27: LPC17xx Real-Time Clock (RTC) and backup registers
6.2.6 RTC Auxiliary Enable register (RTC_AUXEN - 0x4002 4058)
The RTC Auxiliary Enable Register controls whether additional interrupt sources
represented in the RTC Auxiliary control register are enabled.
6.3 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
,
and
. The least significant bit of each register is read back at bit 0, 8, 16, or
24.
The Consolidated Time Registers are read only. To write new values to the Time
Counters, the Time Counter addresses should be used.
6.3.1 Consolidated Time Register 0 (CTIME0 - 0x4002 4014)
The Consolidated Time Register 0 contains the low order time values: Seconds, Minutes,
Hours, and Day of Week.
Table 494. RTC Auxiliary control register (RTC_AUX - address 0x4002 405C) bit description
Bit
Symbol
Description
Reset
value
3:0
-
Reserved, user software should not write ones to reserved bits. The
value read from a reserved bit is not defined.
NA
4
RTC_OSCF RTC Oscillator Fail detect flag.
Read: this bit is set if the RTC oscillator stops, and when RTC power
is first turned on. An interrupt will occur when this bit is set, the
RTC_OSCFEN bit in RTC_AUXEN is a 1, and the RTC interrupt is
enabled in the NVIC.
Write: writing a 1 to this bit clears the flag.
1
7:5
-
Reserved, user software should not write ones to reserved bits. The
value read from a reserved bit is not defined.
NA
Table 495. RTC Auxiliary Enable register (RTC_AUXEN - address 0x4002 4058) bit
description
Bit
Symbol
Description
Reset
value
3:0
-
Reserved, user software should not write ones to reserved bits.
The value read from a reserved bit is not defined.
NA
4
RTC_OSCFEN Oscillator Fail Detect interrupt enable.
When 0: the RTC Oscillator Fail detect interrupt is disabled.
When 1: the RTC Oscillator Fail detect interrupt is enabled. See
.
0
7:5
-
Reserved, user software should not write ones to reserved bits.
The value read from a reserved bit is not defined.
NA