Aaeon EMB-CV2 Uživatelský manuál Strana 68

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 99
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 67
Mini-ITX
E M B - C V 2
Appendix A Programming the Watchdog Timer A-7
************************************************************************************
// Procedure : AaeonWDTConfig
void AaeonWDTConfig (void){
Byte val;
//Super I/O Entry Key
outportb(SIOIndex,0x87);
outportb(SIOIndex,0x87);
//Setting WDT Pin.
outportb(SIOIndex,0x2D);
val = inportb((SIOData);
outportb(SIOIndex,0x2D);
outportb(SIOData,val | 0x01);**
// Enable WatchDog function
outportb(SIOIndex,0x07);
outportb(SIOData,0x08);
outportb(SIOIndex,0x30);
outportb(SIOData, 0x01);
}
**********************************************************************************
**This is special case for EMB-CV2 platform.
Zobrazit stránku 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 ... 98 99

Komentáře k této Příručce

Žádné komentáře