Advantech PCI-1718 Series Carbon Monoxide Alarm User Manual


 
PCI-1718 Series User Manual 44
void interrupt isr(void)
{
disable();
/***** Add code on here *****/
iflag = 1; //Interrupt Flag
outportb(base_addr+0x08,0);// Clear Interrupt
/****************************/
outportb(0x20,0x20);
outportb(0xA0,0x20);
enable();
}