Nexcom IPPC 1560T Manuel d'utilisateur Page 135

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 135
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 134
Copyright © 2014 NEXCOM International Co., Ltd. All Rights Reserved.
118
IPPC 1560T/1960T/2160P Series User Manual
Appendix B: Watchdog Timer Setting
Appendix B: Watchdog Timer Setting
WatchDog Programming Guide
#define SUPERIO_PORT 0x2E
#define WDT_SET 0xF5
#define WDT_VALUE 0xF6
#define WDT_SET2 0xFA
void main(void)
{
# Enter SuperIO Configuration
outportb(SUPERIO_PORT, 0x87);
outportb(SUPERIO_PORT, 0x87);
# Set LDN
outportb(SUPERIO_PORT,0x07);
outportb(SUPERIO_PORT+1 ,0x07);
# clear WDT status
outportb(SUPERIO_PORT, WDT_SET
outportb(SUPERIO_PORT+1, 0x40)
outportb(SUPERIO_PORT, WDT_SET2
outportb(SUPERIO_PORT+1, 0xD1)
# Set WDT setting
outportb(SUPERIO_PORT, WDT_SET);
outportb(SUPERIO_PORT+1, 0x20); # Use the second to come down
# If choose the Minute, change value to 0x28
# Set WDT sec/min
outportb(SUPERIO_PORT, WDT_VALUE);
outportb(SUPERIO_PORT+1, 0x05); #Set 5 seconds
}
Vue de la page 134
1 2 ... 130 131 132 133 134 135

Commentaires sur ces manuels

Pas de commentaire