Advantech PCI-1718 Instrukcja Użytkownika Strona 56

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 94
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 55
PCI-1718 Series User Manual 48
while(iflag==0) {;}
/***** FIFO HALF Interrupt and Get Data *****/
for(k=0;k<512;k++)
{
iflag=0;
ad_lb=inportb(base_addr+0x17);
ad_hb=inportb(base_addr+0x18);
/***** Save to Memory *****/
Add your code here
/**************************/
i++;
}
/*******************************************/
}
}
void interrupt isr(void)
{
disable();
iflag = 1;
/***** Add your code here *****/
outportb(base_addr+0x14,0); // Clear FIFO Interrupt
/******************************/
outportb(0x20,0x20);
outportb(0xA0,0x20);
enable();
}
Przeglądanie stron 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 ... 93 94

Komentarze do niniejszej Instrukcji

Brak uwag