Panasonic MN103S User Manual page 436

Panaxseries
Hide thumbs Also See for MN103S:
Table of Contents

Advertisement

Chapter 14
A/D Converter
Multiple Channels/One-time Conversion for Each (AD0 , AD1)
Continuous multiple A/D input is converted only once. The A/D interrupt is generated at the same time when all
conversions of multiple channels end. Set the first channel to be converted by the ANnCH2-0 flags of the
ANnCTR0 register 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". The ANnEN flag is "1" during conversion and changes to "0" after conversion of all
channels is completed. The ANnCH2-0 flags become the channel number being converted during conversion and
change to the first channel number after conversion of all multiple channels is completed.
Multiple Channels/One-time Conversion for Each (AD2)
Continuous multiple A/D input is converted only once. The A/D interrupt is generated at the same time when all
conversions of multiple channel end. Set the first channel number to be converted by the AN2CH3-0 flags of the
AN2CTR0 register 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". The AN2EN flag is "1" during conversion and changes to "0" after conversion ends. The
AN2CH3-0 flags become the channel number being converted during conversion and change to the first channel
number after conversion of all multiple channels is completed.
Start
Stop
interrupt request
Status
ANEN
Figure:14.3.3 Multiple Channels/Timing of One-time Conversion for Each
Multiple channels are converted in the following order.
..
..
XIV - 30
Operation
Nch conversion
ADIN00
ADIN01
AD0
ADIN05
ADIN04
ADIN02
ADIN03
AD1
ADIN09
ADIN08
ADIN06
ADIN07
AD2
ADIN15
ADIN14
N+1ch conversion
N+2ch conversion
ADIN02
ADIN03
ADIN04
ADIN05
ADIN07
ADIN06
ADIN08
ADIN09
ADIN13
ADIN12
ADIN10
ADIN11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn103sa7dMn103sa7g

Table of Contents