EasyManuals Logo

ZiLOG Z8 Series User Manual

ZiLOG Z8 Series
261 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #111 background imageLoading...
Page #111 background image
Z8
®
CPU
User Manual
UM001604-0108 Interrupts
104
The proper sequence for programming the interrupt edge select bits is (assumes IPR and
IMR have been previously initialized).
IRQ Software Interrupt Generation
IRQ can be used to generate software interrupts by specifying IRQ as the destination of
any instruction referencing the Z8
®
Standard Register File. These Software Interrupts
(SWI) are controlled in the same manner as hardware generated requests (in other words,
the IPR and the IMR control the priority and enabling of each SWI level).
Table 21. IRQ Register Configuration*
IRQ Interrupt Edge
D7 D6 P31 P32
00FF
01FR
10RF
11R/FR/F
*
F = Falling Edge; R = Rising Edge.
DI ;Inhibit all interrupts until input edges are
configured.
OR IRQ,#XX 000000b ;Configure interrupt; do not disturb edges
as required—IRQ 0-5.
EI ;Re-enable interrupts.
Figure 99. IRQ Reset Functional Logic Diagram
S
Interrupt Request Register
(IRQ, FAh)
RESET
El Instruction
POR
R

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ZiLOG Z8 Series and is the answer not in the manual?

ZiLOG Z8 Series Specifications

General IconGeneral
BrandZiLOG
ModelZ8 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals