SBC82810 Pentium
®
M All-in-One Half-Size Board User’s Manual
Watchdog Timer
67
WDT unlock
BaseA 0Ch
Î
80h
BaseA 0Ch
Î
86h
push es ; backup es
Reg.
xor ax,ax
mov es,ax
mov ax,8680h
mov es:[edi+0ch],al
mov es:[edi+0ch],ah
Reload
Teimer
BaseA 0Ah
Bit 8=1, reload timer
value
mov ax,es:[edi+0ah]
or ax,0100h
mov es:[edi+0ah],ax
pop es ; restore es
Reg.
Disable Timer
Function Reg.
Assembler
Enable WDT
with Free
Running
mode
PCI Reg.68h, bit 3,2
Bit1=0, Disable WDT
mov eax,8000EC68h
mov dx,0cf8h
out dx,eax
mov dl,0fch
in al,dx
and al,0fdh ;; clear
bit1
out dx,al
Enable Timer
Function Reg.
Assembler
Enable WDT
with Free
Running
mode
PCI Reg.68h, bit 3,2
Bit1=1, Enable WDT
mov eax,8000EC68h
mov dx,0cf8h
out dx,eax
mov dl,0fch
in al,dx
or al,02h ;; set bit1
out dx,al