Philips LPC213 Series User Manual page 268

Table of Contents

Advertisement

Philips Semiconductors
Volume 1
14.6
Example timer operation . . . . . . . . . . . . . . . . 179
Chapter 15: Pulse Width Modulator (PWM)
15.1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
15.2
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
15.2.1
Rules for single edge controlled PWM
outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
15.2.2
Rules for double edge controlled PWM
outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
15.3
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 185
15.4
Register description . . . . . . . . . . . . . . . . . . . 185
15.4.1
PWM Interrupt Register
(PWMIR - 0xE001 4000) . . . . . . . . . . . . . . . 187
15.4.2
PWM Timer Control Register (PWMTCR -
0xE001 4004) . . . . . . . . . . . . . . . . . . . . . . . . 187
Chapter 16: Analog-to-Digital Converter (ADC)
16.1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
16.2
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
16.3
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 193
16.4
Register description . . . . . . . . . . . . . . . . . . . 194
16.4.1
A/D Control Register (AD0CR - 0xE003 4000 and
AD1CR - 0xE006 0000) . . . . . . . . . . . . . . . . 194
Chapter 17: Digital-to-Analog Converter (DAC)
17.1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
17.2
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 198
Chapter 18: Real Time Clock
18.1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
18.2
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
18.3
Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . 200
18.4
Register description . . . . . . . . . . . . . . . . . . . 201
18.4.1
RTC interrupts . . . . . . . . . . . . . . . . . . . . . . . 202
18.4.2
Miscellaneous register group . . . . . . . . . . . . 202
18.4.3
Interrupt Location Register
(ILR - 0xE002 4000) . . . . . . . . . . . . . . . . . . . 202
18.4.4
Clock Tick Counter Register (CTCR -
0xE002 4004) . . . . . . . . . . . . . . . . . . . . . . . . 203
18.4.5
Clock Control Register (CCR - 0xE002 4008) 203
18.4.6
Counter Increment Interrupt Register (CIIR -
0xE002 400C). . . . . . . . . . . . . . . . . . . . . . . . 203
User manual
14.7
Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . 180
15.4.3
PWM Timer Counter
(PWMTC - 0xE001 4008). . . . . . . . . . . . . . . 188
15.4.4
PWM Prescale Register (PWMPR -
0xE001 400C) . . . . . . . . . . . . . . . . . . . . . . . 188
15.4.5
PWM Prescale Counter register (PWMPC -
0xE001 4010). . . . . . . . . . . . . . . . . . . . . . . . 188
15.4.6
PWM Match Registers
(PWMMR0 - PWMMR6). . . . . . . . . . . . . . . . 189
15.4.7
PWM Match Control Register (PWMMCR -
0xE001 4014). . . . . . . . . . . . . . . . . . . . . . . . 189
15.4.8
PWM Control Register (PWMPCR -
0xE001 404C) . . . . . . . . . . . . . . . . . . . . . . . 190
15.4.9
PWM Latch Enable Register (PWMLER -
0xE001 4050). . . . . . . . . . . . . . . . . . . . . . . . 191
16.4.2
A/D Data Register (AD0DR - 0xE003 4004 and
AD1DR - 0xE006 0004) . . . . . . . . . . . . . . . . 196
16.4.3
A/D Global Start Register (ADGSR -
0xE003 4008). . . . . . . . . . . . . . . . . . . . . . . . 196
16.5
Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
16.5.1
Hardware-triggered conversion . . . . . . . . . . 197
16.5.2
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
16.5.3
Accuracy vs. digital receiver. . . . . . . . . . . . . 197
17.3
DAC Register (DACR - 0xE006 C000). . . . . . 198
17.4
Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
18.4.7
Alarm Mask Register (AMR - 0xE002 4010) 204
18.4.8
Consolidated time registers . . . . . . . . . . . . . 204
18.4.9
Consolidated Time register 0 (CTIME0 -
0xE002 4014). . . . . . . . . . . . . . . . . . . . . . . . 204
18.4.10
Consolidated Time register 1 (CTIME1 -
0xE002 4018). . . . . . . . . . . . . . . . . . . . . . . . 205
18.4.11
Consolidated Time register 2 (CTIME2 -
0xE002 401C) . . . . . . . . . . . . . . . . . . . . . . . 205
18.4.12
Time counter group . . . . . . . . . . . . . . . . . . . 205
18.4.13
Leap year calculation . . . . . . . . . . . . . . . . . . 206
18.4.14
Alarm register group . . . . . . . . . . . . . . . . . . 206
18.5
RTC usage notes . . . . . . . . . . . . . . . . . . . . . . 207
18.6
Reference clock divider (prescaler). . . . . . . 207
Rev. 01 — 24 June 2005
UM10120
Chapter 24: Supplementary information
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
continued >>
268

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2131Lpc2132Lpc2134Lpc2136Lpc2138

Table of Contents