
User’s Manual
Custom Embedded Solutions
WIN Enterprises, Inc. [email protected] www-win-ent.com (978)688-2000
68
;----------------------------------------------------------------------------------------
DEC DX
MOV AL,F6H
OUT DX,AL ; Select CRF6
INC DX
MOV AL,0AH
OUT DX,AL ; Time-out occurs after 10 seconds
;----------------------------------------------------------------------------------------
; Exit extended function mode
;----------------------------------------------------------------------------------------
DEC DX
MOV AL,AAH
OUT DX,AL
4. Example program 2
Enable watchdog timer and set 2 minutes as timeout interval and set WDTO#
signal as the time-out event to control LAN by-pass or activate hardware reset
through JP2. Please refer to jumper setting section for more detail information.
;---------------------------------------------------------------------------------
;Enter the extended function mode, interruptible double-write
;---------------------------------------------------------------------------------
MOV DX,2EH ; Unlock W83627EHG
MOV AL,87H
OUT DX,AL
OUT DX,AL
;---------------------------------------------------------------------------------
; Configure logical device 8
;---------------------------------------------------------------------------------
MOV AL,07H
OUT DX,AL ; Point to Logical Device Number Reg.
INC DX
MOV AL,08H
OUT DX,AL ; Select logical device 8