UNO-4672 User Manual
56
Appendix B Watchdog Timer Program-
ming
B.1 UNO-4672
Below is a sample of programming code for controlling the Watchdog
Timer function.
-----------------------------------------------------------------------------------
Enter the extended function mode, interruptible double-write |
-----------------------------------------------------------------------------------
MOV DX,2EH
MOV AL,87H
OUT DX,AL
OUT DX,AL
-----------------------------------------------------------------------------
Configured logical device 8, configuration register CRF6 |
-----------------------------------------------------------------------------
MOV DX,2EH
MOV AL,2BH
OUT DX,AL
MOV DX,2FH
IN AL,DX
AND AL.OEFH;Setbit 4=0 Pin 89=WDTO
OUT DX,AL
MOV DX,2EH
MOV AL,07H; point to Logical Device Number Reg.
OUT DX,AL
MOV DX,2FH
MOV AL,08H; select logical device 8
OUT DX,AL;
MOV DX,2EH
MOV AL,30H;Set watch dog activate or inactivate
Содержание UNO-4672
Страница 10: ...UNO 4672 User Manual x...
Страница 27: ...17 Chapter2 Figure 2 3 COM Port Related Jumper Switch Locations...
Страница 48: ...UNO 4672 User Manual 38...
Страница 49: ...2 CHAPTER 3 Initial Setup...
Страница 57: ...Appendix A System Settings and Pin Assignments...
Страница 64: ...UNO 4672 User Manual 54...
Страница 65: ...Appendix B Programming the Watchdog Timer...
Страница 68: ...UNO 4672 User Manual 58...
Страница 69: ...Appendix C Enabling the Advantech 443 WDT...