![background image](http://html2.mh-extra.com/html/icp-das-usa/pio-d48/pio-d48_user-manual_4949543019.webp)
PIO-D48 Series Card
48-channel OPTO-22 Compatible DIO Board
User Manual/Ver. 3.4/Aug. 2015/PMH-006-34/Page: 18
2.7.4
INT_CHAN_2
INT_CHAN_2 should normally be fixed in a low-level state and generate a high_pulse to interrupt
the PC.
PC0 (Port-2) can be inverted/non-inverted programmable as is shown below: (Refer to
Sec. 6.3.9
)
CTRL_D1=0
Cin0=PC0 of Port-2
CTRL_D1=1
Cin0=!PC0 of Port-2
EN2 can be used to enable/disable the INT_CHAN_2 as follows: (Refer to
Sec. 6.3.4
)
EN2=0
INT_CHAN_2=disabled
EN2=1
INT_CHAN_2=enabled
INV2 can be used to invert/non-invert the Cout0 as follows: (Refer to
Sec. 6.3.6
)
INV2=0
INT_CHAN_2=inverted state of (Cout0)
INV2=1
INT_CHAN_2=non-inverted state of (Cout0)
Refer to the following demo program for more information:
Operating System: DOS
DEMO7.C
For INT_CHAN_2 only (Cout0)
Note: Refer to
Sec. 2.7.2
for active high-pulse generation.
Figure 2-7