z8f083a ZiLOG Semiconductor, z8f083a Datasheet - Page 69

no-image

z8f083a

Manufacturer Part Number
z8f083a
Description
High-performance 8-bit Microcontrollers
Manufacturer
ZiLOG Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
z8f083a0128ZCOG
Manufacturer:
Zilog
Quantity:
1
Part Number:
z8f083aPH020SG
Manufacturer:
LT
Quantity:
1 154
Part Number:
z8f083aSH020SG
Manufacturer:
Zilog
Quantity:
380
Part Number:
z8f083aSH020SG
Manufacturer:
ZILOG
Quantity:
20 000
Part Number:
z8f083aSJ020EG
Manufacturer:
Zilog
Quantity:
363
Interrupt Control Register Definitions
PS026308-1207
Caution:
Caution:
Caution:
Software Interrupt Assertion
Interrupt Request 0 Register
Program code generates interrupts directly. Writing 1 to the correct bit in the interrupt
request register triggers an interrupt (assuming that interrupt is enabled). When the
interrupt request is acknowledged by the eZ8 CPU, the bit in the interrupt request register
is automatically cleared to 0.
The interrupt control registers enable individual interrupts, set interrupt priorities and
indicate interrupt requests for all the interrupts other than the Watchdog Timer interrupt,
the primary oscillator fail trap, and the Watchdog oscillator fail trap interrupts.
The interrupt request 0 (IRQ0) register stores the interrupt requests for both vectored and
polled interrupts. See
controller, the corresponding bit in the IRQ0 register becomes 1. If interrupts are globally
enabled (vectored interrupts), the interrupt controller passes an interrupt request to the eZ8
To avoid missing interrupts, use the following coding style to clear bits in the interrupt
request 0 register:
The coding style listed below that generates software interrupts by setting bits in the
interrupt request registers is not recommended. All incoming interrupts received
between execution of the first
To avoid missing interrupts, use the following coding style to set bits in the interrupt
request registers:
Good coding style that avoids lost interrupt requests:
Poor coding style that results in lost interrupt requests:
Good coding style that avoids lost interrupt requests:
AND r0, MASK
LDX IRQ0, r0
ANDX IRQ0, MASK
LDX r0, IRQ0
OR r0, MASK
LDX IRQ0, r0
ORX IRQ0, MASK
Table 32
on page 58. When a request is sent to the interrupt
LDX
command and the final
Z8 Encore!
LDX
Product Specification
command are lost.
®
Interrupt Controller
F083A Series
57

Related parts for z8f083a