P89LPC9381 NXP Semiconductors, P89LPC9381 Datasheet - Page 41
![no-image](/images/manufacturer_photos/0/4/487/nxp_semiconductors_sml.jpg)
P89LPC9381
Manufacturer Part Number
P89LPC9381
Description
The P89LPC9381 is a single-chip microcontroller, available in low-cost packages, basedon a high performance processor architecture that executes instructions in two to fourclocks, six times the rate of standard 80C51 devices
Manufacturer
NXP Semiconductors
Datasheet
1.P89LPC9381.pdf
(60 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
P89LPC9381FA,112
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Company:
Part Number:
P89LPC9381FDH,512
Manufacturer:
LT
Quantity:
2 340
Company:
Part Number:
P89LPC9381FDHЈ¬512
Manufacturer:
PH3
Quantity:
1 122
Philips Semiconductors
P89LPC9381_1
Product data sheet
8.4.1 Fixed channel, single conversion mode
8.4.2 Fixed channel, continuous conversion mode
8.4.3 Auto scan, single conversion mode
8.4.4 Auto scan, continuous conversion mode
8.4.5 Dual channel, continuous conversion mode
8.4 ADC operating modes
A single input channel can be selected for conversion. A single conversion will be
performed and the result placed in the result register pair which corresponds to the
selected input channel. An interrupt, if enabled, will be generated after the conversion
completes.
A single input channel can be selected for continuous conversion. The results of the
conversions will be sequentially placed in the eight result register pairs. The user may
select whether an interrupt can be generated after every four or every eight conversions.
Additional conversion results will again cycle through the result register pairs, overwriting
the previous results. Continuous conversions continue until terminated by the user.
Any combination of the eight input channels can be selected for conversion. A single
conversion of each selected input will be performed and the result placed in the result
register pair which corresponds to the selected input channel. The user may select
whether an interrupt, if enabled, will be generated after either the first four conversions
have occurred or all selected channels have been converted. If the user selects to
generate an interrupt after the four input channels have been converted, a second
interrupt will be generated after the remaining input channels have been converted. If only
a single channel is selected this is equivalent to single channel, single conversion mode.
Any combination of the eight input channels can be selected for conversion. A conversion
of each selected input will be performed and the result placed in the result register pair
which corresponds to the selected input channel. The user may select whether an
interrupt, if enabled, will be generated after either the first four conversions have occurred
or all selected channels have been converted. If the user selects to generate an interrupt
after the four input channels have been converted, a second interrupt will be generated
after the remaining input channels have been converted. After all selected channels have
been converted, the process will repeat starting with the first selected channel. Additional
conversion results will again cycle through the eight result register pairs, overwriting the
previous results. Continous conversions continue until terminated by the user.
This is a variation of the auto scan continuous conversion mode where conversion occurs
on two user-selectable inputs. The result of the conversion of the first channel is placed in
the result register pair, AD0DAT0R and AD0DAT0L. The result of the conversion of the
second channel is placed in result register pair, AD0DAT1R and AD0DAT1L. The first
channel is again converted and its result stored in AD0DAT2R and AD0DAT2L. The
second channel is again converted and its result placed in AD0DAT3R and AD0DAT3L,
etc. An interrupt is generated, if enabled, after every set of four or eight conversions (user
selectable).
Rev. 01 — 8 September 2006
8-bit microcontroller with 10-bit ADC
© Koninklijke Philips Electronics N.V. 2006. All rights reserved.
P89LPC9381
41 of 60