Fujitsu MB91150 Series Hardware Manual page 307

32-bit microcontroller
Table of Contents

Advertisement

bit15
bit14
bit13
ADCS
BUSY
INT
INTE
ADCR S10 ST1 ST0 CT1 CT0
AICK
Note
The following shows examples for the conversion sequences in continuous-conversion
mode.
ANS = 000
ANS = 110
ANS = 011
Operation in intermittent-conversion mode
In intermittent-conversion mode, analog inputs from channels specified by the ANS bits and
ANE bits are converted with a temporary stop of each of the channels. After conversion is
performed for the end channel specified by the ANE bits, A/D conversion control returns to the
analog input channel specified by the ANS bits, and A/D conversion continues from the channel
that was temporarily stopped. When the start channel is the same as the end channel (ANS =
ANE), conversion is repeatedly performed only for the channel specified by the ANS bits. To
restart a conversion that was temporarily stopped, generate the start source specified by the
STS1 and STS0 bits. To operate the converter in intermittent-conversion mode, the setting
shown in Figure 13.6-3 "Intermittent-conversion mode setting" is required.
bit15 bit14 bit13 bit12 bit11 bit10 bit9 bit8 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0
ADCS
BUSY INT
INTE PAUS STS1 STS0 STRT
ADCR S10 ST1 ST0 CT1 CT0
AICK
Note:
The following shows examples for the conversion sequences in intermittent-conversion
mode.
ANS = 000B, ANE = 011B: AN0 --> Temporary stop --> AN1 --> Temporary stop --> AN2 -->
Temporary stop --> AN0 --> Repeat
ANS = 110B, ANE = 001B: AN6 --> Temporary stop --> AN7 --> Temporary stop --> AN0 -->
Temporary stop --> AN1 --> Temporary stop --> AN6 --> Repeat
ANS = 011B, ANE = 011B: AN3 --> Temporary stop --> AN3 --> Temporary stop --> Repeat
Figure 13.6-2 Continuous-conversion mode setting
bit12
bit11
bit10
bit9
bit8 bit7
Re-
PAUS
STS1
STS0
STRT
served
0
, ANE = 011
: AN0 --> AN1 --> AN2 --> AN3 --> AN0 --> Repeat
B
B
, ANE = 010
: AN6 --> AN7 --> AN0 --> AN1 -->AN2 --> AN6 --> Repeat
B
B
, ANE = 011
: AN3 --> AN3 --> Repeat
B
B
Figure 13.6-3 Intermittent-conversion mode setting
Re-
served
0
CHAPTER 13 8/10-BIT A/D CONVERTER
bit6
bit5
bit4
bit3
bit2
MD1
MD0
ANS2
ANS1
ANS0
ANE2
1
0
Stores converted data.
: Used bit
: Set the bit corresponding to the used pin to 1.
1
: Set 1.
0
: Set 0.
MD1 MD0 ANS2 ANS1 ANS0 ANE2 ANE1 ANE0
1
0
: Used bit
: Set the bit corresponding to the used pin to 1.
1
: Set 1.
0
: Set 0.
bit1
bit0
ANE1
ANE0
291

Advertisement

Table of Contents
loading

Table of Contents