Download PCI-1760U Command Codes Quick Reference

Transcript
COMMAND CODE : 60
PURPOSE : Reads Interrupt Flags
OMB3
OMB2
0x00
OMB1
0x60
OMB0
N/A
N/A
OMB2: Command code
If successful
IMB3
IMB2
0x00 ~ 0xFF
IMB1
0x60
IMB0
XX
0x00 ~ 0xFF
IMB3: IDI current values
IMB2: Command code echo
IMB0:
Bit 0: “1” means an IDI pattern match interrupt occurred.
Bit 1: “1” means an IDI change of state interrupt occurred.
Bit 2: “1” means an IDI’s counter overflow or counter value match
interrupt occurred.
The purpose of this command is to read the interrupt status of the PCI1760U card. The interrupt status includes:
1. IDI pattern match interrupt status displayed in bit 0 of IMB0.
2. IDI change of state interrupt status displsyed in bit 1 of IMB0.
3. IDI’s counter overflow or counter value match interrupt status
displayed in bit 2 of IMB0.
When a high signal appears in bit 0, bit 1 or bit 2, one or more than one
interrupt signal has been generated to the system. A user might find
the sources of the interrupts by using related commands.
Appendix B Description of Command Code
59