OP7100
104
s
Memory, I/O Map, and Interrupt Vectors
Table C-5. Interrupt Vectors for Z180
Internal Devices
Address
Name
Description
—
NMI_VEC
Used for power-failure detection
—
INT0
Available for use.
0x00
INT1_VEC
Available for use as expansion bus attention
INT1
vector
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 10H (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 020418 J ...
Page 10: ...OP7100 x s About This Manual ...
Page 16: ...OP7100 16 s Overview ...
Page 50: ...OP7100 50 s Hardware ...
Page 72: ...OP7100 72 s Software ...
Page 80: ...OP7100 80 s Graphics Programming ...
Page 86: ...OP7100 86 s Installation ...
Page 96: ...OP7100 96 s Specifications ...
Page 110: ...110 s Serial Interface Board 2 OP7100 ...
Page 111: ...OP7100 Backup Battery s 111 APPENDIX E BACKUP BATTERY ...
Page 114: ...OP7100 114 s Backup Battery ...
Page 122: ...OP7100 122 s Index ...