Fig. 19.8 Setting In Continuous Conversion Mode - Fujitsu MB90420/5 (A) Series Hardware Manual

F2mc-16lx family 16-bit microcontrollers
Table of Contents

Advertisement

n Operation of continuous conversion mode
In the continuous conversion mode, the analog input specified for the ANS bits and ANE bits is converted
sequentially, and when the conversion for up to the end channel specified by the ANE bit ends, a return is
made to the analog input specified by the ANS bit to continue the A/D conversion.
When the starting and ending channels are the same (ANS = ANE), conversion is performed repeatedly for
only the channel specified for the ANS bit. To perform conversion in the continuous conversion mode, the
setting shown in Figure 19.8 is needed.
bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
ADCS
BUSY INT INTE PAUS STS1 STS0 STRT
ADCR S10 ST1 ST0 CT1 CT0
ADER
: Used bit
: 1 set for bit corresponding to pin used
1 : 1 set
0 : 0 set
Reference:
An example of the conversion order in the continuous conversion mode is given below:
When ANS = 000
B
When ANS = 110
B
When ANS = 011
B
8-/10-BIT A/D CONVERTER

Fig. 19.8 Setting in Continuous Conversion Mode

: AN0 → AN1 → AN2 → AN3 → AN0 → Repeat
and ANE = 011
B
: AN6 → AN7 → AN0 → AN1 → AN2 → AN6 → Repeat
and ANE = 010
B
: AN3 → AN3 → Repeat
and ANE = 011
B
MD1 MD0 ANS2 ANS1 ANS0 ANE2 ANE1 ANE0
Reserved
0
1
0
Converted data stored
19-17

Advertisement

Table of Contents
loading

Table of Contents