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

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

Advertisement

MB90420/5 (A) SERIES F
n Operation of pause-conversion mode
In the pause-conversion mode, the analog input specified for the ANS bits and ANE bits pauses by one
channel and are converted sequentially, and when conversion for up to the ending channel that was set for
the ANE bit is completed, control is returned to the analog input set for the ANS bit to continue A/D
conversion and pause. A conversion restart during operation pause is caused by the start factor specified by
the STS1 and STS0 bits.
conversion mode.
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 pause-conversion mode is given below:
When ANS = 000
and ANE = 011
B
When ANS = 110
and ANE = 001
B
When ANS = 011
and ANE = 011
B
2
MC-16LX FAMILY 16-BIT MICROCONTROLLERS HARDWARE MANUAL
The setting shown in Figure 19.9 is needed for conversion in the pause-

Fig. 19.9 Setting in Pause-conversion Mode

: AN0 → Pause → AN1 → Pause → AN2 → Pause → AN0 → Repeat
B
: AN6 → Pause → AN7 → Pause → AN0 → Pause → AN1 → Pause
B
→ AN6 → Repeat
: AN3 → Pause → AN3 → Pause → Repeat
B
19-18
MD1 MD0 ANS2 ANS1 ANS0 ANE2 ANE1 ANE0
Reserved
0
1
1
Converted data stored

Advertisement

Table of Contents
loading

Table of Contents