UNO-3072A/3074A User Manual
72
Appendix B Programming the Watchdog
Timer
B.1
Below is a sample of programming code for controlling the Watchdog
Timer function.
-----------------------------------------------------------------------------------
Enter the extended function mode, interruptible double-write |
-----------------------------------------------------------------------------------
MOV DX,4EH
MOV AL,87H
OUT DX,AL
OUT DX,AL
-----------------------------------------------------------------------------
Configured logical device 8, configuration register CRF6 |
-----------------------------------------------------------------------------
MOV DX,4EH
MOV AL,2BH
OUT DX,AL
MOV DX,4FH
IN AL,DX
AND AL.OEFH;Setbit 4=0 Pin 89=WDTO
OUT DX,AL
MOV DX,4EH
MOV AL,07H; point to Logical Device Number Reg.
OUT DX,AL
MOV DX,4FH
MOV AL,08H; select logical device 8
OUT DX,AL;
MOV DX,4EH
MOV AL,30H;Set watch dog activate or inactivate
Summary of Contents for UNO-3072A
Page 10: ...UNO 3072A 3074A User Manual x ...
Page 16: ...UNO 3072A 3074AUser Manual 6 1 4 Chassis Dimensions Figure 1 1 Chassis Dimensions ...
Page 18: ...UNO 3072A 3074AUser Manual 8 ...
Page 50: ...UNO 3072A 3074A User Manual 40 ...
Page 57: ...47 Chapter 3 6 Screw back the upper cover with the eight screws ...
Page 63: ...APPENDIX A System Settings and Pin Assignments ...
Page 80: ...UNO 3072A 3074A User Manual 70 ...