Aaeon PFM-535S Manuel d'utilisateur Page 45

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 53
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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");
}
Vue de la page 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 51 52 53

Commentaires sur ces manuels

Pas de commentaire