z8f1601 ZiLOG Semiconductor, z8f1601 Datasheet - Page 65

no-image

z8f1601

Manufacturer Part Number
z8f1601
Description
Z8 Encore!? Microcontroller With Flash Memory And 10-bit A/d Converter
Manufacturer
ZiLOG Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
z8f1601AN020EC
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z8f1601AN020EC00TR
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z8f1601AN020SC
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z8f1601AN020SC00TR
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z8f1601VN020EC
Manufacturer:
Freescale
Quantity:
29
Part Number:
z8f1601VN020EC
Manufacturer:
Zilog
Quantity:
10 000
PS017609-0803
Interrupt Vectors and Priority
Interrupt Assertion Types
The Z8F640x family device interrupt controller supports three levels of interrupt priority.
Level 3 is the highest priority, Level 2 is the second highest priority, and Level 1 is the
lowest priority. If all of the interrupts were enabled with identical interrupt priority (all as
Level 2 interrupts, for example), then interrupt priority would be assigned from highest to
lowest as specified in Table 22. Level 3 interrupts always have higher priority than Level 2
interrupts which, in turn, always have higher priority than Level 1 interrupts. Within each
interrupt priority level (Level 1, Level 2, or Level 3), priority is assigned as specified in
Table 22.
Reset, Watch-Dog Timer interrupt (if enabled), and Illegal Instruction Trap always have
highest (Level 3) priority.
Two types of interrupt assertion - single assertion (pulse) and continuous assertion - are
used within the Z8F640x family device. The type of interrupt assertion for each interrupt
source is listed in Table 22.
Single Assertion (Pulse) Interrupt Sources
Some interrupt sources assert their interrupt requests for only a single system clock period
(single pulse). When the interrupt request is acknowledged by the eZ8 CPU, the corre-
sponding bit in the Interrupt Request register is cleared until the next interrupt occurs.
Writing a 0 to the corresponding bit in the Interrupt Request register likewise clears the
interrupt request.
Continuous Assertion Interrupt Sources
Other interrupt sources continuously assert their interrupt requests until cleared at the
source. For these continuous assertion interrupt sources, interrupt acknowledgement by
the eZ8 CPU does not clear the corresponding bit in the Interrupt Request register. Writing
a 0 to the corresponding bit in the Interrupt Request register only clears the interrupt for a
single clock cycle. Since the source is continuously asserting the interrupt request, the
interrupt request bit is set to 1 again during the next clock cycle.
The only way to clear continuous assertion interrupts is at the source of the interrupt (for
example, in the UART or SPI peripherals). The source of the interrupt must be cleared
first. After the interrupt is cleared at the source, the corresponding bit in the Interrupt
Request register must also be cleared to 0. Both the interrupt source and the IRQ register
must be cleared.
Execution of a Trap instruction
Illegal instruction trap
Z8F640x/Z8F480x/Z8F320x/Z8F240x/Z8F160x
Interrupt Controller
Z8 Encore!
®
47

Related parts for z8f1601