Omega OME-PIO-D56 User Manual page 51

Pci-bus digital i/o board
Table of Contents

Advertisement

else
{
CNT_L2++;
}
invert=invert^2;
}
if ((int_c&0x4)!=0)
{
if ((new_int_state&0x4)!=0)/* now PC2 is change to high
{
CNT_H3++;
}
else
{
CNT_L3++;
}
invert=invert^4;
}
if ((int_c&0x8)!=0)
{
if ((new_int_state&0x8)!=0)/* now PC3 is change to high
{
CNT_H4++;
}
else
{
CNT_L4++;
}
invert=invert^8;
}
now_int_state=new_int_state;
outportb(wBase+0x2a,invert);
if (wIrq>=8) outportb(A2_8259,0x20);
outportb(A1_8259,0x20);
}
OME-PIO-D56/OME-PIO-D24 User Manual (Ver.2.1, Oct/2003)
/* now PC1 is change to low
/* to generate a high pulse
/* INT_CHAN_2 is active
/* now PC2 is change to low
/* to generate a high pulse
/* INT_CHAN_3 is active
/* now PC3 is change to low
/* to generate a high pulse
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
---- 49

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ome-pio-d24

Table of Contents