beautypg.com

4 time counter group, Section 26–6.4, Table 26–573 – NXP Semiconductors LPC24XX UM10237 User Manual

Page 654: Table 26–574, Table 26–575, Nxp semiconductors

background image

UM10237_4

© NXP B.V. 2009. All rights reserved.

User manual

Rev. 04 — 26 August 2009

654 of 792

NXP Semiconductors

UM10237

Chapter 26: LPC24XX Real-Time Clock (RTC) and battery RAM

6.3.2 Consolidated Time Register 1 (CTIME1 - 0xE002 4018)

The Consolidate Time Register 1 contains the Day of Month, Month, and Year values.

6.3.3 Consolidated Time Register 2 (CTIME2 - 0xE002 401C)

The Consolidate Time Register 2 contains just the Day of Year value.

6.4 Time Counter Group

The time value consists of the eight counters shown in

Table 26–576

and

Table 26–577

.

These counters can be read or written at the locations shown in

Table 26–577

.

Table 573. Consolidated Time register 0 (CTIME0 - address 0xE002 4014) bit description

Bit

Symbol

Description

Reset
value

5:0

Seconds

Seconds value in the range of 0 to 59

NA

7:6

-

Reserved, user software should not write ones to reserved bits.
The value read from a reserved bit is not defined.

NA

13:8

Minutes

Minutes value in the range of 0 to 59

NA

15:14

-

Reserved, user software should not write ones to reserved bits.
The value read from a reserved bit is not defined.

NA

20:16

Hours

Hours value in the range of 0 to 23

NA

23:21

-

Reserved, user software should not write ones to reserved bits.
The value read from a reserved bit is not defined.

NA

26:24

Day Of Week Day of week value in the range of 0 to 6

NA

31:27

-

Reserved, user software should not write ones to reserved bits.
The value read from a reserved bit is not defined.

NA

Table 574. Consolidated Time register 1 (CTIME1 - address 0xE002 4018) bit description

Bit

Symbol

Description

Reset
value

4:0

Day of Month 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).

NA

7:5

-

Reserved, user software should not write ones to reserved bits.
The value read from a reserved bit is not defined.

NA

11:8

Month

Month value in the range of 1 to 12.

NA

15:12

-

Reserved, user software should not write ones to reserved bits.
The value read from a reserved bit is not defined.

NA

27:16

Year

Year value in the range of 0 to 4095.

NA

31:28

-

Reserved, user software should not write ones to reserved bits.
The value read from a reserved bit is not defined.

NA

Table 575. Consolidated Time register 2 (CTIME2 - address 0xE002 401C) bit description

Bit

Symbol

Description

Reset
value

11:0

Day of Year

Day of year value in the range of 1 to 365 (366 for leap years).

NA

31:12

-

Reserved, user software should not write ones to reserved bits.
The value read from a reserved bit is not defined.

NA