AAEON PCM-5895 Rev.B User Manual

Page 65

Advertising
background image

C o m p a c t B o a r d

P C M - 5 8 9 5 R e v . B

Appendix A Programming the Watchdog Timer

A - 8

MOV DX,WORD PTR CS:[Cfg_Port+06h]

IN AL,DX

RET

Read_Configuration_Data ENDP

Write_Configuration_Data PROC NEAR

MOV DX,WORD PTR CS:[Cfg_Port+04h]

OUT DX,AL

XCHG AL,AH

MOV DX,WORD PTR CS:[Cfg_Port+06h]

OUT DX,AL

RET

Write_Configuration_Data ENDP

Superio_Set_Reg proc near

push ax

MOV DX,WORD PTR CS:[Cfg_Port+04h]

mov al,cl

out dx,al

pop ax

inc dx

out dx,al

ret

Superio_Set_Reg endp.Set_Logic_Device proc near

Advertising