Specifications

Table Of Contents
II-64 EPSON S1C62740 TECHNICAL SOFTWARE
CHAPTER 6: PERIPHERAL CIRCUITS (A/D Converter)
Programming notes
(1) To reduce current consumption, set the reference voltage
generation circuit, the middle electric potential generation
circuit and the A/D converter to OFF when it is not necessary.
(2) Do not fail to select the correct combinations for the analog
input terminal and measurement items. (Refer to Table 6.13.4)
(3) To perform a stable A/D conversion, secure the decided wait
time.
(4) Be sure to check whether the data is effective or invalid by
reading the A/D conversion data in the order F7H F8H
F9H FAH and immediately thereafter reading the IDR (FBH).
(5) When reading data after turning the A/D converter OFF, the A/
D converter should be OFF in the period from an interrupt
generation to the beginning of a reverse integration.
(6) When the A/D converter is reset or turned OFF, the interrupt
factor flag (IAD) may sometimes be set to "1". Consequently,
read the flag (reset the flag) as necessary at reset or at the
turning OFF.
(7) Write the interrupt mask register (EIAD) only in the DI status
(interrupt flag = "0"). Writing during EI status (interrupt flag =
"1") will cause malfunction.
(8) Reading of interrupt factor flag is available at EI, but be careful
in the following cases.
If the interrupt mask register value corresponding to the inter-
rupt factor flag to be read is set to "1", an interrupt request will
be generated by the interrupt factor flag set timing, or an
interrupt request will not be generated.