MB90560/565 Series
7. DTP/External Interrupt Circuit
(1) Overview of the DTP/external interrupt circuit
The DTP (Data Transfer Peripheral) /external interrupt circuit detects interrupt requests input to the external
interrupt input pins (INT7 to INT0) and outputs interrupt requests.
• DTP/external interrupt circuit functions
The DTP/external interrupt function detects edge or level signals input to the external interrupt input pins (INT7
to INT0) and outputs interrupt requests.
The interrupt request is received by the CPU and, if the extended intelligent I/O service (EI2OS) is enabled,
EI2OS performs automatic data transfer (DTP function) then passes control to the interrupt handler routine on
completion. If EI2OS is disabled, control passes directly to the interrupt handler routine without performing
automatic data transfer (DTP function) .
• Overview of the DTP/external interrupt circuit
External Interrupt
DTP Function
Input pins
8 channels (P10/INT0 to P16/INT6, P63/INT7)
The level or edge to detect can be set independently for each pin in the detection lev-
el setup register (ELVR) .
Interrupt conditions
“L” level, “H” level, rising edge, or falling edge input
#25 (19H) to #28 (1CH)
Interrupt number
Interrupt control
Interrupts can be enabled or disabled in the DTP/external interrupt enable register
(ENIR) .
Interrupt flag
The DTP/external interrupt request register (ENRR) stores interrupt requests.
Processing selection
Set EI2OS to disabled (ICR : ISE = 0)
Set EI2OS to enabled (ICR : ISE = 1)
Jumps to interrupt handler routine after
automatic data transfer by EI2OS com-
pletes.
Operation
Jumps to interrupt handler routine
ICR : Interrupt control register
• DTP/external interrupt circuit interrupts and EI2OS
Interrupt Control Register
Interrupt
Vector Table Address
2
Channel
No.
EI OS
RegisterName
Address
Lower
Upper
Bank
INT0/INT1
INT2/INT3
INT4/INT5
INT6/INT7
#25 (19H)
#26 (1AH)
#27 (1BH)
#28 (1CH)
FFFF98H
FFFF94H
FFFF90H
FFFF8CH
FFFF99H
FFFF95H
FFFF91H
FFFF8DH
FFFF9AH
FFFF96H
FFFF92H
FFFF8EH
ICR07
0000B7H
ICR08
0000B8H
: Available when the interrupt shared with ICR07 or ICR08 is not used.
47