S1C62740 TECHNICAL SOFTWARE
EPSON
II-81
CHAPTER 7: SUMMARY OF NOTES
(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.
Sleep function (1) Because all I/O registers remain the same values, so please set
the proper values before execute "SLP" instruction.
(2) After the K10 input port or external system reset trigger to the
chip, the chip should wait, then wakeup.
(3) When the chip is sleeping, there is no noise rejector for K10
input port all low system reset.
(4) When shifting to the SLEEP status, the CPU clock must be set
to OSC1 and the OSC3 oscillation circuit must be off.
(5) Normally, the K10 interrupt is used to release the SLEEP mode.
Because of this, the following settings must be done before
shifting to the SLEEP mode.
Set the K10 input interrupt condition using the DFK10
register.
Enable the K10 input interrupt using the EIK1 register.
Set the interrupt flag to EI (interrupt enable).
Interrupt (1) The interrupt factor flag is set when the interrupt conditions are
established, regardless of the setting of the interrupt mask
register.
(2) Read the interrupt factor flag in the DI status (interrupt flag =
"0"). 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 flags to be read is set to "1", an interrupt request will
be generated by the interrupt factor flags set timing, or an
interrupt request will not be generated. Be very careful when
interrupt factor flags are in the same address.
(3) Be sure that writing to the interrupt mask register is done with
the interrupt in the DI status (interrupt flag = "0"). Writing to
the interrupt mask register while in the EI status (interrupt flag
= "1") may cause malfunction.
(4) When multiple interrupts simultaneously occur, the high
priority vector address is set to the program counter.