beautypg.com

COMMELL FS-97A User Manual

Page 52

background image

FS-97A User’s Manual Watchdog Timer Programming Guide

Watchdog Timer Programming Guide

52

MOV DX,2Fh

MOV AL,08H

OUT DX,AL ; select logical device 8

;

MOV DX,2Eh

MOV AL,0F5H

OUT DX,AL

MOV DX,2Fh

IN AL,DX ;

OR AL,08h ; SELECT MINUTE

MOV AH,AL

MOV DX,2Eh

MOV AL,0F5h

OUT DX,AL

MOV DX,2Fh

MOV AL,AH

OUT DX,AL

MOV DX,2Eh ; SETTING 5 MINUTES

MOV AL,0F6h ; ( LD8-CRF6-P05h )

OUT DX,AL

MOV DX,2Fh

MOV AL,05h

OUT DX,AL

Step 3 . Exit extended function mode

MOV DX,2Eh

MOV AL,0AAH

OUT DX,AL

REMARK :

**** I/O PORT 2Eh --> Index port for programming CR .

2Fh --> Data port for programming CR .

**** LD8-CRF6-P05h :

Program CR index F6h of Logical Device 8

with the value "05h" .

This manual is related to the following products: