![](http://datasheet.mmic.net.cn/330000/MB90P234_datasheet_16438148/MB90P234_34.png)
MB90230 Series
34
5. A/D Converter
The A/D converter converts the analog input voltage to a digital value. It has the following features:
Conversion time: 5
μ
s min. per channel (at 16 MHz machine clock)
RC-type successive approximation with sample-and-hold circuit
8-bit or 10-bit resolution
Eight analog input channels programmable for selection
A/D conversion mode selectable from the following three:
One-shot conversion mode: Converts a specified channel once.
Consecutive conversion mode: Converts a specified channel repeatedly.
Stop conversion mode: Converts one channel and suspends its own operation until the next activation (allowing
synchronized conversion start).
Conversion mode:
Single conversion mode: Converts one channel (when the start and stop channels are the same).
Scan conversion mode: Converts multiple consecutive channels (when the start and stop channels are
different).
On completion of A/D conversion, the converter can generate an interrupt request for termination of A/D
conversion to the CPU. This interrupt generation can activate the EI
2
OS to transfer the A/D conversion result
to memory, making the converter suitable for continuous operation.
Conversion can be activated by software, external trigger (falling edge), and/or timer (rising edge) as selected.
(1) Register Configuration
ADCS1
ADCS0
15
8
7
0
Control status register
bit
000037, 36
H
ADCR1
ADCR0
Data register
000039, 38
H
ADER
Analog input enable register
000034
H