Operation Explanation - Fujitsu MB91260B Series Hardware Manual

32-bit microcontroller
Table of Contents

Advertisement

CHAPTER 14 8/10-BIT A/D CONVERTER
14.6

Operation Explanation

Three mode types, the single conversion, continuous conversion, and stop conversion
modes are available for the 8/10-bit A/D converter. The operation explanation in each
mode is done.
■ Operation of Single Conversion Mode
In single conversion mode, it sequentially converts the analog input on the channels which have been set by
the ANS (ANS0 to ANS2) bit and ANE (ANE0 to ANE2) bit, and when it reaches to the end channel set in
ANE (ANE0 to ANE2) bit, it stops the A/D conversion. If the start channel and end channel is the same
(ANS=ANE), only one channel specified in the ANS (ANS0 to ANS2) bit will be converted. The settings
in Figure 14.6-1 are required in order to operate in single-conversion mode.
bit15 bit14 bit13 bit12 bit11 bit10 bit9 bit8 bit7
ADCH/
-
-
ADMD
ADCS BUSY INT
-
-
ADCD
AICR
Reference:
The example of conversion order in single conversion mode is shown in following.
When ANS=000
When ANS=110
When ANS=011
342
Figure 14.6-1 Setting for Single Conversion Mode
ANS2 ANS1 ANS0 ANE2 ANE1 ANE0 MD1
INTE PAUS S10
-
START
-
-
-
-
: AN0 → AN1 → AN2 → AN3 → end
, ANE=011
B
B
: AN6 → AN7 → AN0 → AN1 → AN2 → end
, ANE=010
B
B
: AN3 → end
, ANE=011
B
B
bit6
bit5 bit4
MD0 STS1 STS0 CT1
Reser-
ved
0
Store the converting data
0: Set "0".
bit3 bit2
bit1 bit0
CT0
ST1
ST0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr60lite

Table of Contents