Panasonic MN103S User Manual page 438

Panaxseries
Hide thumbs Also See for MN103S:
Table of Contents

Advertisement

Chapter 14
A/D Converter
Multiple Channels/Continuous Conversion (AD0, AD1)
Continuous multiple A/D input is converted continuously. The A/D interrupt is generated every time all conver-
sions of multiple channels end. Set the first channel to be converted by the ANnCH2-0 flags of the ANnCTR0
and the last channel by the ANnNCH2-0 flags of the ANnCTR1 register.
When conversion is started by the ANnEN flag (conversion start-execution flag), set the ANnTRG flag to "0" and
the ANnEN flag to "1". Conversion is terminated by setting the ANnEN flag to"0" forcedly. The ANnEN flag is
"1" during conversion and changes to "0" after conversion of all channels end. The AN2CH3-0 flags become the
channel number being converted during conversion and change to the first channel number after conversion of all
channels is completed.
Multiple Channels/Continuous Conversion (AD2)
Continuous multiple A/D input is converted continuously. The A/D interrupt is generated every time all conver-
sions of multiple channels end. Set the first channel to be converted by the AN2CH3-0 flags of the AN2CTR0
and the last channel by the AN2NCH3-0 flags of the AN2CTR1 register.
When conversion is started by the AN2EN flag (conversion start-execution flag), set the AN2TRG flag to "0" and
the AN2EN flag to "1". Conversion is terminated by setting the AN2EN flag to"0" forcedly. The AN2EN flag is
"1" during conversion and changes to "0" after conversion of all channels end. The AN2CH3-0 flags become the
channel number being converted during conversion and change to the first channel number after conversion of all
channels is completed.
Start
Stop
interrupt request
Status
ANEN
Multiple channels are converted in the following order.
..
..
XIV - 32
Operation
Nch conversion
N+1ch conversion N+2ch conversion
Figure:14.3.5 Multiple Channels/Continuous Conversion Timing
ADIN00
ADIN01
AD0
ADIN05
ADIN04
ADIN02
ADIN03
AD1
ADIN09
ADIN08
ADIN06
ADIN07
AD2
ADIN15
ADIN14
Nch conversion
N+1ch conversion N+2ch conversion
ADIN02
ADIN03
ADIN04
ADIN05
ADIN07
ADIN06
ADIN08
ADIN09
ADIN10
ADIN13
ADIN12
ADIN11
Nch conversion

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn103sa7dMn103sa7g

Table of Contents