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