Fujitsu MB90460 Series Hardware Manual page 577

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 20 8/10-BIT A/D CONVERTER
bit
15
BUSY INT
ADCS
S10
ST1
ADCR
ADER
Reference:
The following are sample conversion sequences in continuous conversion mode:
ANS = 000
ANS = 110
ANS = 011
■ Operation in Stop Conversion Mode
In stop conversion mode, the analog inputs from the channel specified by the ANS bits to the channel
specified by the ANE bits are sequentially converted with a pause after the conversion of each channel.
When the end channel specified by the ANE bits has been processed, A/D conversion, with pauses, starts
again with the channel specified by the ANS bits. If the start and end channels are the same (ANS = ANE),
the conversion of the channel specified by the ANS bits is repeated. To reactivate conversion during a
pause, generate the activation cause specified by the STS1 and STS0 bits.
Figure 20.6-3 shows the settings required for operation in stop conversion mode.
bit
15
14
ADCS BUSY INT INTE PAUS STS1 STS0 STRT
S10
ST1
ADCR
ADER
558
Figure 20.6-2 Settings for Continuous Conversion Mode
14
13
12
11
10
INTE PAUS STS1 STS0 STRT RESV MD1 MD0 ANS2 ANS1 ANS0 ANE2
ST0
CT1
CT0
-
: AN0 → AN1 → AN2 → AN0 → Repeat
, ANE = 011
B
B
: AN6 → AN7 → AN0 → AN1 → AN2 → AN6 → Repeat
, ANE = 010
B
B
: AN3 → AN3 → Repeat
, ANE = 011
B
B
Figure 20.6-3 Settings for Stop Conversion Mode
13
12
11
10
-
ST0
CT1
CT0
9
8
7
6
5
Holds the conversion data.
: Used
: Set to "1" the bit corresponding to the pin used.
1 : Set "1".
0 : Set "0".
9
8
7
6
5
RESV
MD1 MD0 ANS2 ANS1 ANS0 ANE2
Holds the conversion data.
: Used
: Set to "1" the bit corresponding to the pin used.
1 : Set "1".
0 : Set "0".
4
3
2
1
0
ANE1
ANE0
4
3
2
1
0
ANE1
ANE0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents