AAEON PCM-9452 User Manual

Page 55

Advertising
background image

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

P C M - 9 4 5 2

Appendix A Programming the Watchdog Timer

A - 7

MOV DX,02Eh

MOV CX,04h

Init_1:

MOV AL,BYTE PTR CS:[SI]

OUT DX,AL

INC SI

LOOP Init_1

RET

Enter_Configuration_Mode ENDP

Exit_Configuration_Mode PROC NEAR

MOV AX,0202h

CALL Write_Configuration_Data

RET

Exit_Configuration_Mode ENDP

Check_Chip PROC NEAR

MOV AL,20h

CALL Read_Configuration_Data

CMP AL,87h

JNE Not_Initial

MOV AL,21h

CALL Read_Configuration_Data

Advertising