EasyManua.ls Logo

Panasonic MN103S

Panasonic MN103S
552 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 14
A/D Converter
Operation XIV - 31
Any Single Channel/Continuous Conversion (AD0, AD1)
A/D input of single channel is converted continuously. The A/D interrupt is generated every time conversion
ends. Set the channel number to be converted to the ANnCH2-0 flags of the ANnCTR0 register (conversion chan-
nel at any single channel conversion). Set the ANnTRG flag to “0” and the ANnEN flag to “1” in order to start
conversion by the ANnEN flag (conversion start-execution flag). Conversion is terminated when the ANnEN flag
is set to “0” forcedly.
Any Single Channel/Continuous Conversion (AD2)
A/D input of single channel is converted continuously. The A/D interrupt is generated every time conversion
ends. Set the channel number to be converted to the AN2CH3-0 flags of the AN2CTR0 register (conversion chan-
nel at any single channel conversion). Set the AN2TRG flag to “0” and the AN2EN flag to “1” in order to start
conversion by the AN2EN flag (conversion start-execution flag). Conversion is terminated when the AN2EN flag
is set to “0” forcedly.
Figure:14.3.4 Any SIngle Channel/Timing of Continuous Conversion
..
The ANnNCH2-0 flags of the ANnCTR0 register and the ANnNCH3-0 flags of the AN2CTR0
register are ignored.
..
Start
Stop
interrupt request
Status
ANEN
Nch conversion Nch conversion Nch conversion Nch conversion Nch conversion

Table of Contents

Other manuals for Panasonic MN103S

Related product manuals