INTERRUPT EXAMPLES
A rising edge with at least a microsecond hold time will be latched if the IEN jumper is in place and if any
address decoded by the board has been read or written to. Interrupts are disabled on ‘power up’. An interrupt
service routine may clear all interrupts from the board by writing any value to Base 1Fh.
Example 1:
Internal interrupt (generated by software)
The interrupt option jumper for the group must be in the IEN position. Configure port C Low as an output and
set bit C3 low. Enable interrupts globally by reading any register. Toggle bit C3 high for at least 1 uS then low.
Note that this pulse will show up at pin 9 or 59 of the connector.
Example 2:
External
interrupt
The interrupt option jumper for the group must be in the IEN position. Configure port C Low as an input and
enable interrupts globally by reading any address decoded by the board. The pulse at pins 9 or 59 (bit C3) must
go high for at least 1 uS then low.
Example 3:
Gating the external interrupt
An open-collector (or open-drain) driver must connect to pin 9 or 59 to avoid contention (this is critical). Write
0XXX (where X is ‘don’t care’) to port C Low. To gate the external interrupt ‘off’ configure port C Low as an
output (don’t change the value of the most significant bit). To gate the external interrupt ‘on’ configure port C
Low as an input.
Manual PCI-DIO-48 H/HS
18
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com