Aaeon XTX-U15B User Manual page 40

Onboard intel atomtm z530 / z510 processor with lcd, ethernet, pci, pci-e, sdio, lpc, smbus, i2c audio, sata, sdvo
Table of Contents

Advertisement

X T X C P U M o d u l e
The following is a sample code to set WDT for 3 seconds.
;Runtime register I/O base address
SUPERIO_GPIO_PORT
.MODEL
SMALL
.CODE
begin:
;enable WDT
mov dx, SUPERIO_GPIO_PORT + 47h
mov al, 0Ch
out
dx, al
;WDT_TIME_OUT register
mov dx, SUPERIO_GPIO_PORT + 65h
mov al, 80h
out
dx, al
;WDT_VAL register
mov dx, SUPERIO_GPIO_PORT + 66h
mov al, 03h
out
dx, al
;exit
mov ah,4ch
int
21h
END begin
Appendix A Programming the Watchdog Timer A-4
X T X - U 1 5 B
EQU 800h
;unit is second
;3 seconds

Advertisement

Table of Contents
loading

Table of Contents