beautypg.com

AAEON GENE-5315 User Manual

Page 63

background image

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

G E N E - 5 3 1 5

Appendix A Programming the Watchdog Timer

A - 5

4

WDT output through PWROK1/PWROK2 (pulse) enable

3

Select the interrupt level

note

for WDT

WatchDog Timer Time-out Value (LSB) Register (Index=73h,

Default=00h)

Bit Description
7-0

WDT Time-out value 7-0

WatchDog Timer Time-out Value (MSB) Register (Index=74h,

Default=00h)

Bit Description
7-0

WDT Time-out value 15-8

A.2 ITE8712 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