English
Language : 

Z8F1680SH020SG Datasheet, PDF (93/412 Pages) Zilog, Inc. – High-Performance 8-Bit Microcontrollers
Z8 Encore! XP® F1680 Series
Product Specification
68
Chapter 8. Interrupt Controller
The interrupt controller on the Z8 Encore! XP F1680 Series products prioritizes the
interrupt requests from the on-chip peripherals and the GPIO port pins. The interrupt
controller includes the following features:
• Thirty-one interrupt sources using twenty-four unique interrupt vectors
– 16 GPIO port pin interrupt sources (seven interrupt vectors are shared; see Table
36)
– 15 on-chip peripheral interrupt sources (three interrupt vectors are shared; see
Table 36)
• Flexible GPIO interrupts
– Twelve selectable rising and falling edge GPIO interrupts
– Four dual-edge interrupts
• Three levels of individually programmable interrupt priority
• WDT can be configured to generate an interrupt
Interrupt requests (IRQs) allow peripheral devices to suspend CPU operation in an orderly
manner and force the CPU to start an interrupt service routine (ISR). Usually this interrupt
service routine is involved with the exchange of data, status information, or control
information between the CPU and the interrupting peripheral. When the service routine is
completed, the CPU returns to the operation from which it was interrupted.
The eZ8 CPU supports both vectored and polled interrupt handling. For polled interrupts,
the interrupt controller has no effect on operation. For more information about interrupt
servicing by the eZ8 CPU, refer to the eZ8 CPU Core User Manual (UM0128), available
on www.zilog.com.
8.1.
Interrupt Vector Listing
Table 36 lists all of the interrupts available in order of priority. The interrupt vector is
stored with the most-significant byte (MSB) at the even Program Memory address and the
least-significant byte (LSB) at the following odd Program Memory address.
Note: Some port interrupts are not available on the 20-pin and 28-pin packages. The ADC inter-
rupt is unavailable on devices not containing an ADC.
PS025015-1212
PRELIMINARY
Interrupt Controller