![](http://datasheet.mmic.net.cn/120000/MB90P214PF_datasheet_3559176/MB90P214PF_43.png)
43
MB90210 Series
5. 10-bit A/D Converter
The 10-bit A/D converter converts the analog input voltage to a digital value. It has the following features:
Conversion time: min.6.125
s per channel (at 16-MHz machine clock)
RC-type successive approximation with built-in sample-and-hold circuit
10-bit or 8-bit resolution
Eight analog input channels programmable for selection
Single conversion mode: Selects and converts one channel.
Scan conversion mode: Converts multiple consecutive channels (up to eight channels programmable).
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).
On completion of A/D conversion, the converter can generate an interrupt request to the CPU. This interrupt
generation can activate the EI2OS 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.
Use the 16-bit reroad timer 1 channel 3 for the timer.
(1) Register Configuration
000035 H
Address:
A/D Control status register (Upper byte)
000034 H
Address:
A/D Control status register (Lower byte)
15
14
13
12
11
10
9
8
7654
3210
Bit
MD1
ANE0
ANE1
ANE2
ANS0
ANS1
ANS2
MD0
BUSY
—
STRT
STS0
STS1
PAUS
INTE
INT
ADCS0
ADCS1
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(W)
(0)
(—)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
Read/write
Initial value
Read/write
Initial value
→
000037 H
Address:
A/D Data register (Upper byte)
000036 H
Address:
A/D Data register (Lower byte)
15
14
13
12
11
10
9
8
7654
3210
Bit
D7
D0
D1
D2
D3
D4
D5
D6
S10
D8
D9
—
ADCD0
ADCD1
(W)
(0)
(—)
(R)
(X)
(R)
(X)
(—)
(R)
(X)
(R)
(X)
(R)
(X)
(R)
(X)
(R)
(X)
(R)
(X)
(R)
(X)
(R)
(X)
Read/write
Initial value
Read/write
Initial value
→
A/D Control status register (ADCS1 and ADCS0)
A/D Data registers (ADCD1 and ADCD0)