Interrupt Requests - NEC UPD703116 User Manual

32-bit single-chip microcontrollers
Table of Contents

Advertisement

13.4 Interrupt Requests

A/D converters 0 and 1 generate two kinds of interrupts.
• A/D conversion termination interrupts (INTAD0, INTAD1)
• Voltage detection interrupts (INTDET0, INTDET1)
(1) A/D conversion termination interrupts (INTAD0, INTAD1)
In A/D conversion enabled status, an A/D conversion termination interrupt is generated when a specified
number of A/D conversions have terminated.
(2) Voltage detection interrupts (INTDET0, INTDET1)
In voltage detection mode (ADETEN0 or ADETEN1 bit of ADETM0 or ADETM1 = 1), the value of the
ADCR0n or ADCR1n register of the relevant analog input pin is compared to the reference voltage set in the
DETCMP9 to DETCMP0 bits of the ADETM0 or ADETM1 register and a voltage detection interrupt is
generated in response to the value of the ADETLH0 or ADETLH1 bit of the ADETM0 or ADETM1 register (n
= 0 to 7).
CHAPTER 13 A/D CONVERTER
A/D Converter
A/D Conversion Termination Interrupt Signal
0
1
A/D Converter
Voltage Detection Interrupt Signal
0
1
User's Manual U14492EJ5V0UD
Generate INTAD0
Generate INTAD1
Generate INTDET0
Generate INTDET1
655

Advertisement

Table of Contents
loading

Table of Contents