Register description, Nxp semiconductors – NXP Semiconductors LPC24XX UM10237 User Manual

Page 649

Advertising
background image

UM10237_4

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

User manual

Rev. 04 — 26 August 2009

649 of 792

NXP Semiconductors

UM10237

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

6.

Register description

The RTC includes a number of registers. The address space is split into four sections by
functionality. The first eight addresses are the Miscellaneous Register Group
(

Section 26–6.2

). The second set of eight locations are the Time Counter Group

(

Section 26–6.4

). The third set of eight locations contain the Alarm Register Group

(

Section 26–6.5

). The remaining registers control the Reference Clock Divider.

The Real Time Clock includes the register shown in

Table 26–566

. Detailed descriptions

of the registers follow. In these descriptions, for most of the registers the Reset Value
column shows "NC", meaning that these registers are not changed by a Reset. Software
must initialize these registers between power-on and setting the RTC into operation.

Table 566. Summary of Real-Time Clock registers

Name

Description

Access

Reset
Value

[1]

Address

ILR

Interrupt Location Register

R/W

NC

0xE002 4000

CTC

Clock Tick Counter

RO

NC

0xE002 4004

CCR

Clock Control Register

R/W

NC

0xE002 4008

CIIR

Counter Increment Interrupt Register

R/W

NC

0xE002 400C

AMR

Alarm Mask Register

R/W

NC

0xE002 4010

CTIME0

Consolidated Time Register 0

RO

NC

0xE002 4014

CTIME1

Consolidated Time Register 1

RO

NC

0xE002 4018

CTIME2

Consolidated Time Register 2

RO

NC

0xE002 401C

SEC

Seconds Counter

R/W

NC

0xE002 4020

MIN

Minutes Register

R/W

NC

0xE002 4024

HOUR

Hours Register

R/W

NC

0xE002 4028

DOM

Day of Month Register

R/W

NC

0xE002 402C

DOW

Day of Week Register

R/W

NC

0xE002 4030

DOY

Day of Year Register

R/W

NC

0xE002 4034

MONTH

Months Register

R/W

NC

0xE002 4038

YEAR

Years Register

R/W

NC

0xE002 403C

CISS

Counter Increment select mask for
Sub-Second interrupt

R/W

NC

0xE002 4040

ALSEC

Alarm value for Seconds

R/W

NC

0xE002 4060

ALMIN

Alarm value for Minutes

R/W

NC

0xE002 4064

ALHOUR

Alarm value for Seconds

R/W

NC

0xE002 4068

ALDOM

Alarm value for Day of Month

R/W

NC

0xE002 406C

ALDOW

Alarm value for Day of Week

R/W

NC

0xE002 4070

ALDOY

Alarm value for Day of Year

R/W

NC

0xE002 4074

ALMON

Alarm value for Months

R/W

NC

0xE002 4078

Advertising