Aaeon IMBA-Q77 Manuel d'utilisateur Page 83

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 118
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 82
Industrial Motherboard IMBA-Q77
Appendix A Programming the Watchdog Timer A-8
************************************************************************************
// Procedure :
void AaeonWDTEnable (Byte Timer, boolean Unit){
Byte val;
//Super I/O Entry Key
outportb(SIOIndex,0x87);
outportb(SIOIndex,0x87);
// Select Logic Device Number Register
outportb(SIOIndex,0x07);
outportb(SIOData,0x08);
// Setting WDT Operation Mode
outportb(SIOIndex,0xF5);
val = inportb((SIOData);
outportb(SIOIndex,0xF5);
outportb(SIOData, val | Unit << 3 );
// Setting WDT Counter
outportb(SIOIndex,0xF6);
outportb(SIOData,Timer);
}
************************************************************************************
Vue de la page 82
1 2 ... 78 79 80 81 82 83 84 85 86 87 88 ... 117 118

Commentaires sur ces manuels

Pas de commentaire