beautypg.com

AAEON FWS-816B User Manual

Page 61

background image

N e t w o r k Ap p l i a n c e

F W S - 8 1 6 B

Appendix A Programming the Watchdog Timer

A-7

;///////////////////////////////////////////////////////////////////////////////////////////////

Dec dx

Mov al,0f5h

;CRF5 (PLED mode register)

Out dx,al

Inc dx

In al,dx

And al,not 08h

;Set second as counting unit

Out dx,al

;///////////////////////////////////////////////////////////////////////////////////////////////

Dec dx

Mov al,0f6h

; CRF6

Out dx,al

Inc dx

Mov al,10

;Set timeout interval as 10 sec.

Out dx,al

;///////////////////////////////////////////////////////////////////////////////////////////////

Dec dx

;Exit W83627EHG config mode

Mov al,0aah

(out 0aah to 2eh once)

Out dx,al

;///////////////////////////////////////////////////////////////////////////////////////////////