![](http://datasheet.mmic.net.cn/30000/MB90662APFM_datasheet_2367560/MB90662APFM_134.png)
2.6 10-Bit 8-Input Channel A/D Converter (with 8-bit Resolution Mode)
129
2.6 10-Bit 8-Input Channel A/D Converter (with 8-bit Resolution Mode)
The 10-bit 8-input Channel A/D Converter converts analog input voltage into digital values, and provides
the following features.
Conversion time
: minimum 6.13 s per channel (at 98 machine cycles/machine clock 16
MHz, including sample & hold time)
Sample & hold time
: minimum 3.75 s per channel (at 60 machine cycles/machine clock 16
MHz)
RC type successive approximation conversion with sample & hold circuit
10-bit/8-bit resolution
Program selection analog input from 8 channels
Single conversion mode
: conversion of one selected channel
Scan conversion mode
: continuous conversion of multiple channels, programmable for up to 8
channels
Continuous conversion mode: repeated conversion of a designated channel
Stop conversion mode: conversion of one channel, followed by a temporary pause and standby for
next instruction (may be synchronized with start of conversion)
A/D conversion can be followed by an A/D conversion interrupt request to CPU. This interrupt, an
option that is ideal for continuous processing can be used to start EI2OS to transfer the results of A/
D conversion to memory.
Startup may be by software, external trigger (falling edge) or multi-function timer (rising edge).
2.6.1 Register List
BUSY INT
INTE PAUS STS1 STS0 STRT Reserved
Bit no.
Read/write
(R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (W)
(–)
Initial value
(0)
Control status register - high
Address : 00002DH
15
14
13
12
11
10
9
8
ADCS1
MD1
MD0 ANS2 ANS1 ANS0 ANE2 ANE1 ANE0
Bit no.
Read/write
(R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W)
Initial value
(0)
Control status register - low
Address : 00002CH
7
6
5
4
3
2
1
0
ADCS0
S10
–
D9
D8
Bit no.
Read/write
(R/W) (R)
(R)
Initial value
(0)
(X)
Data register - high
Address : 00002FH
15
14
13
12
11
10
9
8
ADCR1
D7
D6
D5
D4
D3
D2
D1
D0
Bit no.
Read/write
(R)
Initial value
(X)
Data register - low
Address : 00002EH
7
6
5
4
3
2
1
0
ADCR0
Chapter 2: