AAEON AEC-6625 User Manual

Page 55

Advertising
background image

E m b e d d e d C o n t r o l l e r

A E C - 6 6 2 5

Appendix A Programming the Watchdog Timer A-10

Set_Logic_Device proc near

push ax

push cx

xchg al,cl

mov cl,07h

call Superio_Set_Reg

pop cx

pop ax

ret

Set_Logic_Device endp

;Select 02Eh->Index Port, 02Fh->Data Port

Cfg_Port DB 087h,001h,055h,055h

DW 02Eh,02Fh

END Main

Note: Interrupt level mapping

0Fh-Dh: not valid

0Ch: IRQ12

.

.

03h: IRQ3

02h: not valid

01h: IRQ1

00h: no interrupt selected

Advertising