Operation Of The 8/10-Bit A/D Converter - Fujitsu MB90460 Series Hardware Manual

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

20.6

Operation of the 8/10-bit A/D Converter

The 8/10-bit A/D converter has three conversion modes: single conversion mode,
continuous conversion mode, and stop conversion mode. This section describes
operation in each mode.
■ Operation in Single Conversion Mode
In single conversion mode, the analog inputs from the channel specified by the ANS bits to the channel
specified by the ANE bits are sequentially converted. When the channels up to the end channel specified
by the ANE bits have been converted, A/D conversion stops. If the start and end channels are the same
(ANS = ANE), just the channel specified by the ANS bits is converted.
Figure 20.6-1 shows the settings required for operation in single conversion mode.
bit
15
14
ADCS BUSY INT INTE PAUS STS1 STS0
S10
ST1
ADCR
ADER
Reference:
The following are sample conversion sequences in single conversion mode:
ANS = 000
ANS = 110
ANS = 011
■ Operation in Continuous Conversion Mode
In continuous conversion mode, the analog inputs from the channel specified by the ANS bits to the
channel specified by the ANE bits are sequentially converted. When the end channel specified by the ANE
bits has been processed, A/D conversion starts again from 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.
Figure 20.6-2 shows the settings required for operation in continuous conversion mode.
Figure 20.6-1 Settings for Single Conversion Mode
13
12
11
10
-
ST0
CT1
CT0
: 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
CHAPTER 20 8/10-BIT A/D CONVERTER
9
8
7
6
5
RESV
STRT
MD1 MD0 ANS2 ANS1 ANS0 ANE2
Holds the conversion data.
: Used
: Set to "1" the bit corresponding to the pin used.
0 : Set "0".
4
3
2
1
0
ANE1
ANE0
557

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents