EasyManua.ls Logo

Panasonic MN101L Series

Panasonic MN101L Series
563 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 16
A/D Converter (ADC)
Operation XVI - 11
..
The A/D conversion time indicated in Table:16.3.2 may shorten up to one cycle time of A/D
conversion cycle depending on phase differences between system clock and A/D conversion
clock.
..
A/D Resistor Ladder Control
The ANCTR0.ANLADE is set to "1" to apply current to the resistor ladder for A/D conversion. When A/D con-
version is stopped, the ANCTR0.ANLADE is set to "0" to save the power consumption.
A/D Conversion Starting Factor Setup
A/D conversion starting factor is set by the ANCTR2.ANSTSEL1-0.
The ANCTR2.ANSTSEL1-0 are set to select the starting factor of External interrupt 0, Timer 7 interrupt or A/D
conversion interrupt.
In addition, the A/D conversion is started by setting the ANCTR2.ANST to "1".
..
When External Interrupt 0 is selected as the A/D conversion starting factor, the valid edge
should be assigned by IRQ0ICR.REDG0.
..
..
The interrupt valid edge need to be assigned before selecting the interrupt 0 factor
for A/D conversion starting factor.
..
A/D Conversion Starting Setup
The start of A/D conversion is set by the ANCTR2.ANST. The A/D conversion is started by setting the
ANCTR2.ANST to "1". When A/D conversion is started by External Interrupt 0 factor, Timer 7 interrupt factor or
A/D conversion interrupt factor, the ANCTR2.ANST is set to "1" automatically after External Interrupt 0 is gen-
erated and the A/D conversion is started. The ANCTR2.ANST is cleared to "0" automatically after the conversion
data is stored.

Table of Contents

Related product manuals