30.01.2015 Views

UM10211 - Standard ICs

UM10211 - Standard ICs

UM10211 - Standard ICs

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

NXP Semiconductors<br />

<strong>UM10211</strong><br />

Chapter 26: LPC2300 RTC<br />

3. Architecture<br />

CLOCK GENERATOR<br />

CLK32k<br />

MUX<br />

RTC OSCILLATOR<br />

REFERENCE CLOCK DIVIDER<br />

(PRESCALER)<br />

CLK1<br />

CCLK<br />

strobe<br />

TIME COUNTERS<br />

COMPARATORS<br />

ALARM<br />

REGISTERS<br />

counter<br />

enables<br />

COUNTER INCREMENT<br />

INTERRUPT ENABLE<br />

ALARM MASK<br />

REGISTER<br />

INTERRUPT GENERATOR<br />

Fig 102.RTC block diagram<br />

4. Register description<br />

The RTC includes a number of registers. The address space is split into four sections by<br />

functionality. The first eight addresses are the Miscellaneous Register Group<br />

(Section 26–4.2). The second set of eight locations are the Time Counter Group<br />

(Section 26–4.4). The third set of eight locations contain the Alarm Register Group<br />

(Section 26–5). The remaining registers control the Reference Clock Divider.<br />

The Real Time Clock includes the register shown in Table 26–463. Detailed descriptions<br />

of the registers follow. In these descriptions, for most of the registers the Reset Value<br />

column shows "NC", meaning that these registers are not changed by a Reset. Software<br />

must initialize these registers between power-on and setting the RTC into operation.<br />

Table 463. Real Time Clock register map<br />

Name Size Description Access Reset Address<br />

Value [1]<br />

ILR 2 Interrupt Location Register R/W * 0xE002 4000<br />

CTC 15 Clock Tick Counter RO * 0xE002 4004<br />

CCR 4 Clock Control Register R/W * 0xE002 4008<br />

CIIR 8 Counter Increment Interrupt Register R/W * 0xE002 400C<br />

AMR 8 Alarm Mask Register R/W * 0xE002 4010<br />

CTIME0 32 Consolidated Time Register 0 RO * 0xE002 4014<br />

CTIME1 32 Consolidated Time Register 1 RO * 0xE002 4018<br />

<strong>UM10211</strong>_1<br />

© NXP B.V. 2007. All rights reserved.<br />

User manual Rev. 01 — 27 March 2007 500 of 613

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!