Aaeon HSB-CV1P Manual page 92

Intel atom d2550/n2600 processor 10/100/1000 base-tx ethernet 2 sata 3.0gb/s pci interface expansion 8 usb2.0, 4 com 1 vga, 1 lvds
Table of Contents

Advertisement

H a l f - s i z e S B C
A.2 F81866 Watchdog Timer Initial Program
Main
(){ 
aaeonSuperIOOpen(); 
aaeonWdtSetCountMode(BOOL bMinute); // Set wdt count mode 
aaeonWdtSetTimeoutCount(BYTE tTimeout); // Set wdt timer 
aaeonWdtSetEnable(BOOL bEnable); // Enable wdt 
aaeonSuperIOClose(); 
 
Void aaeonSuperIOOpen(){  // Config F81866 Entry key 
 
aaeonioWritePortByte(F81866_INDEX, 0x87); 
 
aaeonioWritePortByte(F81866_INDEX, 0x87); 
 
Void aaeonWdtSetCountMode(BOOL bMinute){ 
BYTE WDT_CONTROL = f81866ReadByte(F81866_WDT_CONTROL_REG); 
if(bMinute) 
f81866WriteByte(F81866_WDT_CONTROL_REG, WDT_CONTROL | 0x08); 
else 
f81866WriteByte(F81866_WDT_CONTROL_REG, WDT_CONTROL & 0xF7); 
 
 
 
Appendix A Programming the Watchdog Timer A-5
H S B - C V 1 P

Advertisement

Table of Contents
loading

Table of Contents