Philips P89LPC938 User Manual page 28

Single-chip microcontroller
Table of Contents

Advertisement

Philips Semiconductors
Table 12:
A/D Control register 0 (ADCON0 - address 97h) bit description
Bit
Symbol
5
TMM0
6
ENADCI0
7
ENBI0
Table 13:
A/D Mode register A (ADMODA - address 0C0h) bit allocation
Bit
7
Symbol
BNDI0
Reset
0
Table 14:
A/D Mode register A (ADMODA - address 0C0h) bit description
Bit
Symbol
0:3
-
4
SCAN0
5
SCC0
6
BURST0
7
BNDI0
Table 15:
A/D Mode register B (ADMODB - address A1h) bit allocation
Bit
7
Symbol
CLK2
Reset
0
Table 16:
A/D Mode register B (ADMODB - address A1h) bit description
Bit
Symbol
0
FCIIS
1
BSA0
2:3
-
User manual
Description
Timer Trigger Mode 0. Selects either stop mode (TMM0 = 0) or timer trigger mode
(TMM0 = 1) when the ADCS01 and ADCS00 bits = 00.
Enable A/D Conversion complete Interrupt 0. When set, will cause an interrupt if the
ADCI0 flag is set and the A/D interrupt is enabled.
Enable A/D boundary interrupt 0. When set, will cause an interrupt if the boundary
interrupt 0 flag, BNDI0, is set and the A/D interrupt is enabled.
6
5
BURST0
SCC0
0
0
Description
Reserved.
When = 1, selects single conversion mode (auto scan or fixed channel).
When = 1, selects fixed and dual channel, continuous conversion modes.
When = 1, selects auto scan, continuous conversion mode.
ADC0 boundary interrupt flag. When set, indicates that the converted result is
inside/outside of the range defined by the ADC0 boundary registers.
6
5
CLK1
CLK0
0
0
Description
Four conversion intermediate interrupt select. When =1, will generate an interrupt
after four conversions in fixed channel or dual channel continuous modes. In any of
the scan modes setting this bit will generate an interrupt after the fourth conversion
if the number of channels selected is greater than four.
ADC0 Boundary Select All. When =1, BNDI0 will be set if any ADC0 input exceeds
the boundary limits. When = 0, BNDI0 will be set only if the AD00 input exceeded
the boundary limits.
Reserved
Rev. 03 — 7 June 2005
...continued
4
3
SCAN0
-
0
0
4
3
INBND0
-
0
0
UM10119
P89LPC938 User manual
2
1
-
-
0
0
2
1
-
BSA0
0
0
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
0
-
0
0
FCIIS
0
28 of 139

Advertisement

Table of Contents
loading

Table of Contents