Zilog Z86193 Manual de usuario Pagina 111

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 260
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 110
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
Vista de pagina 110
1 2 ... 106 107 108 109 110 111 112 113 114 115 116 ... 259 260

Comentarios a estos manuales

Sin comentarios