OP7100
106 Memory, I/O Map, and Interrupt Vectors
Table C-5. Interrupt Vectors for Z180
Internal Devices
Address
Name
Description
—
INT0
Available for use.
0x00
INT1_VEC
Used for power-failure detection
0x02
INT2_VEC
Reserved for Development Board (CM7100),
not available for use on CM7200
0x04
PRT0_VEC
PRT
Timer Channel 0
0x06
PRT1_VEC
PRT
Timer Channel 1
0x08
DMA0_VEC
DMA
Channel 0
0x0A
DMA1_VEC
DMA
Channel 1
0x0C
CSI/O_VEC
Available for programming (CM7200), not
available for use on CM7100
0x0E
SER0_VEC
Asynchronous Serial Port Channel 0
0x10
SER1_VEC
Asynchronous Serial Port Channel 1
Interrupt Vectors
Table C-5 presents a suggested interrupt vector map. Most of these
interrupt vectors can be altered under program control. The addresses are
given here in hex, relative to the start of the interrupt vector page, as
determined by the contents of the I-register. These are the default interrupt
vectors set by the boot code in the Dynamic C EPROM.
To “vector” an interrupt to a user function in Dynamic C, use a directive
such as the following.
#INT_VEC 0x10 myfunction
The above example causes the interrupt at offset 0x10 (Serial Port 1 of the
Z180) to invoke the function
myfunction()
. The function must be
declared with the
interrupt
keyword, as shown below.
interrupt myfunction() {
...
}
Refer to the Dynamic C manuals for further details on interrupt
functions.
Summary of Contents for OP7100
Page 1: ...OP7100 Serial Graphic Display User s Manual 019 0065 070831 O ...
Page 10: ...OP7100 x About This Manual ...
Page 16: ...OP7100 16 Overview ...
Page 74: ...OP7100 74 Software ...
Page 82: ...OP7100 82 Graphics Programming ...
Page 88: ...OP7100 88 Installation ...
Page 98: ...OP7100 98 Specifications ...
Page 108: ...OP7100 108 Memory I O Map and Interrupt Vectors ...
Page 112: ...112 Serial Interface Board 2 OP7100 ...
Page 113: ...OP7100 Backup Battery 113 APPENDIX E BACKUP BATTERY ...
Page 116: ...OP7100 116 Backup Battery ...
Page 124: ...OP7100 124 Index ...
Page 126: ...XX0000 Schematics ...