RET

Mini - ITX

E M B - 9 4 5 T

 

 

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

CMP AL,12h

JNE Not_Initial

Need_Initial:

STC

RET

Not_Initial:

CLC

RET

Check_Chip ENDP

Read_Configuration_Data PROC NEAR

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

OUT DX,AL

Appendix B Programming the Watchdog Time B-8

Page 57
Image 57
Intel EMB-945T RET Exit Configuration Mode ENDP, Check Chip PROC NEAR MOV AL,20h, CALL Read Configuration Data CMP AL,87h