A/D Data Registers; 0Xe006 0010 To 0Xe006 402C) - Philips LPC214 Series User Manual

Table of Contents

Advertisement

Philips Semiconductors
Volume 1
Table 259: A/D Status Register (ADSTAT, ADC0: AD0STAT - address 0xE003 4004 and ADC1: AD1STAT - address
0xE006 0004) bit description
Bit
Symbol
Value
4
ADINTEN4
0
1
5
ADINTEN5
0
1
6
ADINTEN6
0
1
7
ADINTEN1
0
1
8
ADGINTEN
0
1
31:17 -
17.4.6 A/D Data Registers (ADDR0 to ADDR7, ADC0: AD0DR0 to AD0DR7 -
0xE003 4010 to 0xE003 402C and ADC1: AD1DR0 to AD1DR7-

0xE006 0010 to 0xE006 402C)

The A/D Data Register hold the result when an A/D conversion is complete, and also
include the flags that indicate when a conversion has been completed and when a
conversion overrun has occurred.
Table 260: A/D Data Registers (ADDR0 to ADDR7, ADC0: AD0DR0 to AD0DR7 - 0xE003 4010 to 0xE003 402C and
ADC1: AD1DR0 to AD1DR7- 0xE006 0010 to 0xE006 402C) bit description
Bit
Symbol
Description
5:0
-
Reserved, user software should not write ones to reserved bits. The value read from a
reserved bit is not defined.
15:6
RESULT
When DONE is 1, this field contains a binary fraction representing the voltage on the AIN pin,
divided by the voltage on the V
the AIN pin was less than, equal to, or close to that on V
voltage on AIN was close to, equal to, or greater than that on V
29:16
-
Reserved, user software should not write ones to reserved bits. The value read from a
reserved bit is not defined.
30
OVERRUN This bit is 1 in burst mode if the results of one or more conversions was (were) lost and
overwritten before the conversion that produced the result in the RESULT bits.This bit is
cleared by reading this register.
31
DONE
This bit is set to 1 when an A/D conversion completes. It is cleared when this register is read. NA
User manual
Description
Completion of a conversion on ADC channel 4 will not generate an interrupt.
Completion of a conversion on ADC channel 4 will generate an interrupt.
Completion of a conversion on ADC channel 5 will not generate an interrupt.
Completion of a conversion on ADC channel 5 will generate an interrupt.
Completion of a conversion on ADC channel 6 will not generate an interrupt.
Completion of a conversion on ADC channel 6 will generate an interrupt.
Completion of a conversion on ADC channel 7 will not generate an interrupt.
Completion of a conversion on ADC channel 7 will generate an interrupt.
Only the individual ADC channels enabled by ADINTEN7:0 will generate
interrupts.
Only the global DONE flag in ADDR is enabled to generate an interrupt.
Reserved, user software should not write ones to reserved bits. The value
read from a reserved bit is not defined.
pin (V/V
REF
Rev. 01 — 15 August 2005
). Zero in the field indicates that the voltage on
REF
, while 0x3FF indicates that the
SSA
.
REF
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
UM10139
Chapter 17: A/D Converter
Reset
value
0
0
0
0
1
NA
Reset
value
NA
NA
NA
271

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2148Lpc2141Lpc2142Lpc2144Lpc2146

Table of Contents