© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
User manual
Rev. 01 — 15 August 2005
271
Philips Semiconductors
UM10139
Volume 1
Chapter 17: A/D Converter
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.
4
ADINTEN4
0
Completion of a conversion on ADC channel 4 will not generate an interrupt.
0
1
Completion of a conversion on ADC channel 4 will generate an interrupt.
5
ADINTEN5
0
Completion of a conversion on ADC channel 5 will not generate an interrupt.
0
1
Completion of a conversion on ADC channel 5 will generate an interrupt.
6
ADINTEN6
0
Completion of a conversion on ADC channel 6 will not generate an interrupt.
0
1
Completion of a conversion on ADC channel 6 will generate an interrupt.
7
ADINTEN1
0
Completion of a conversion on ADC channel 7 will not generate an interrupt.
0
1
Completion of a conversion on ADC channel 7 will generate an interrupt.
8
ADGINTEN
0
Only the individual ADC channels enabled by ADINTEN7:0 will generate
interrupts.
1
1
Only the global DONE flag in ADDR is enabled to generate an interrupt.
31:17
-
Reserved, user software should not write ones to reserved bits. The value
read from a reserved bit is not defined.
NA
Table 259: A/D Status Register (ADSTAT, ADC0: AD0STAT - address 0xE003 4004 and ADC1: AD1STAT - address
0xE006 0004) bit description
Bit
Symbol
Value
Description
Reset
value
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
Reset
value
5:0
-
Reserved, user software should not write ones to reserved bits. The value read from a
reserved bit is not defined.
NA
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
REF
pin (V/V
REF
). Zero in the field indicates that the voltage on
the AIN pin was less than, equal to, or close to that on V
SSA
, while 0x3FF indicates that the
voltage on AIN was close to, equal to, or greater than that on V
REF
.
NA
29:16
-
Reserved, user software should not write ones to reserved bits. The value read from a
reserved bit is not defined.
NA
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