Aaeon PFM-535S Instrukcja Użytkownika Strona 45

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 53
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 44
PC/104 CPU Module PFM-535S
Appendix A Programming the Watchdog Timer A-12
outp(0x6a, (lTime >> 0) & 0xff);
// Reset system. For example, 0x50 to trigger IRQ7
outp(0x69, 0xd0);
// Enable watchdog timer
c = inp(0x68);
c |= 0x40;
outp(0x68, c);
printf("Press any key to stop trigger timer.\n");
while(!kbhit())
outp(0x67, 0x00);
printf("System will reboot after 500 milli-seconds.\n");
}
Przeglądanie stron 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 51 52 53

Komentarze do niniejszej Instrukcji

Brak uwag