Fujitsu MB90390 Series Hardware Manual page 324

Table of Contents

Advertisement

CHAPTER 18 8/10-BIT A/D CONVERTER
■ 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.
The settings required for operation in stop conversion mod.
bit15
bit14
ADCS
BUSY
INT
ADCR
S10
ST1
ADER
ADSEL
✧ : Used during conversion.
✦ : Set the bit that corresponds to the used pin to "1".
0 : Set to "0".
1 : Set to "1".
Reference:
The following are sample conversion sequences in stop conversion mode:
(It is assumed that ADSEL = 0.)
ANS = 000
AN0 → Pause → AN1 → Pause → AN2 → Pause → AN3 → Pause → AN0 → Repeat
ANS = 110
AN6 → Pause → AN7 → Pause → AN0 → Pause → AN1 → Pause → AN2 → Pause → AN3
→ Pause→ AN6 → Repeat
ANS = 011
AN3 → Pause → AN3 → Pause → Repeat
296
Figure 18.6-2 Settings for Stop Conversion Mode
bit13
bit12
bit11
bit10
bit9
INTE
PAUS
STS1
STS0
STRT
ST0
CT1
CT0
-
, ANE = 011
:
B
B
, ANE = 011
:
B
B
, ANE = 011
:
B
B
bit8
bit7
bit6
bit5
RESV
MD1
MD0
ANS2
0
1
1
Holds the conversion data.
bit4
bit3
bit2
bit1
bit0
ANS1
ANS0
ANE2
ANE1
ANE0

Advertisement

Table of Contents
loading

Table of Contents