IV ANALOG BLOCK: A/D CONVERTER
The interrupt factor flag is set to "1" whenever interrupt generation conditions are met, regardless of how the interrupt enable and interrupt priority registers are set.
If the next interrupt is to be accepted after an interrupt has occurred, it is necessary that the interrupt factor flag be reset, and that the PSR be set again (by setting the IE bit to "1" after setting the IL to a value lower than the level indicated by the interrupt priority register, or by executing the reti instruction).
The interrupt factor flag can be reset only by writing to it in the software. Note that if the PSR is set again to accept interrupts generated (or if the reti instruction is executed) without resetting the interrupt factor flag, the same interrupt occurs again. Note also that the value to be written to reset the flag is "1" when the
At initial reset, the content of FADE becomes indeterminate, so be sure to reset it in the software.
RADE: A/D converter IDMA request (D2) / Serial I/F Ch.1, A/D, port input
Specifies whether to invoke IDMA when an interrupt factor occurs.
When using the
Write "1": IDMA request
Write "0": Not changed
Read: Valid
When using the read/write method
Write "1": IDMA request
Write "0": Interrupt request
Read: Valid
When RADE is set to "1", IDMA is invoked when an interrupt factor occurs, thereby performing a programmed data transfer. If RADE is set to "0", normal interrupt processing is performed, without invoking IDMA.
For details on IDMA, refer to "IDMA (Intelligent DMA)". At initial reset, RADE is set to "0" (interrupt request).
DEADE: A/D converter IDMA enable (D2) / Serial I/F Ch.1, A/D, port input
Enables IDMA transfer by means of an interrupt factor.
When using the
Write "1": IDMA enabled
Write "0": Not changed
Read: Valid
When using the read/write method
Write "1": IDMA enabled
Write "0": IDMA disabled
Read: Valid
If DEADE is set to "1", the IDMA request by the interrupt factor is enabled. If this bit is set to "0", the IDMA request is disabled.
After an initial reset, DEADE is set to "0" (IDMA disabled).
EPSON | S1C33L03 FUNCTION PART |