Consolidated Time Registers - Philips LPC2119 User Manual

Arm-based microcontroller
Hide thumbs Also See for LPC2119:
Table of Contents

Advertisement

Philips Semiconductors
ARM-based Microcontroller

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 Tables 182, 183, and
184. 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.
Consolidated Time Register 0 (CTIME0 - 0xE0024014)
The Consolidated Time Register 0 contains the low order time values: Seconds, Minutes, Hours, and Day of Week.
Table 182: Consolidated Time Register 0 Bits (CTIME0 - 0xE0024014)
CTIME0
Function
31:27
Reserved
26:24
Day of Week
23:21
Reserved
20:16
Hours
15:14
Reserved
13:8
Minutes
7:6
Reserved
5:0
Seconds
Consolidated Time Register 1 (CTIME1 - 0xE0024018)
The Consolidate Time Register 1 contains the Day of Month, Month, and Year values.
Table 183: Consolidated Time Register 1 Bits (CTIME1 - 0xE0024018)
CTIME1
Function
31:28
Reserved
27:16
Year
15:12
Reserved
11:8
Month
7:5
Reserved
4:0
Day of Month
Real Time Clock
Reserved, user software should not write ones to reserved bits. The value read from a reserved
bit is not defined.
Day of week value in the range of 0 to 6.
Reserved, user software should not write ones to reserved bits. The value read from a reserved
bit is not defined.
Hours value in the range of 0 to 23.
Reserved, user software should not write ones to reserved bits. The value read from a reserved
bit is not defined.
Minutes value in the range of 0 to 59.
Reserved, user software should not write ones to reserved bits. The value read from a reserved
bit is not defined.
Seconds value in the range of 0 to 59.
Reserved, user software should not write ones to reserved bits. The value read from a reserved
bit is not defined.
Year value in the range of 0 to 4095.
Reserved, user software should not write ones to reserved bits. The value read from a reserved
bit is not defined.
Month value in the range of 1 to 12.
Reserved, user software should not write ones to reserved bits. The value read from a reserved
bit is not defined.
Day of month value in the range of 1 to 28, 29, 30, or 31 (depending on the month and whether
it is a leap year).
LPC2119/2129/2292/2294
Description
Description
215
Preliminary User Manual
January 08, 2004

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2129Lpc2292Lpc2294

Table of Contents