AAEON GENE-QM77 Rev.B User Manual

Page 129

Advertising
background image

S u b C o m p a c t B o a r d

G E N E - Q M 7 7 R e v . B

Appendix A Programming the Watchdog Timer

A-6

A.2 ITE8728F Watchdog Timer Initial Program

.MODEL SMALL

.CODE

Main:

CALL Enter_Configuration_mode

CALL Check_Chip

mov cl, 7

call Set_Logic_Device

;time setting

mov cl, 10 ; 10 Sec

dec al

Watch_Dog_Setting:

;Timer setting

mov al, cl

mov cl, 73h

call Superio_Set_Reg

;Clear by keyboard or mouse interrupt

mov al, 0f0h

mov cl, 71h

call Superio_Set_Reg

;unit is second.

mov al, 0C0H

mov cl, 72h

call Superio_Set_Reg

Advertising