25
4.16 Watchdog Timer
Once the Enable cycle is active a Refresh cycle is requested before the
time-out period. This restarts counting of the WDT period. When the
time counting goes over the period preset of WDT, it will assume that
the program operation is abnormal. A reset system signal will restart
when such error happens.
The following sample programs show how to enable, disable and
refresh the watchdog timer:
W83627EHG Watchdog Timer
1. Assembly sample code:
------------------------------------
Extended function mode
------------------------------------
MOV DX,2EH
MOV AL,87H
OUT DX,AL
OUT DX,AL
-------------------------------------
Configure logical device 8
-------------------------------------
MOV DX,2EH
MOV AL,07H
OUT DX,AL
MOV DX,2FH
MOV AL,08H
OUT DX,AL
MOV DX,2EH ; Define Reset
MOV AL,2DH
OUT DX,AL
MOV DX,2FH
MOV AL,21H
OUT DX,AL
MOV DX,2EH
MOV AL,30H ; Enable WDT
OUT DX,AL
MOV DX,2FH
MOV AL,01H
OUT DX,AL
Содержание BPF-3315-Z
Страница 8: ......
Страница 12: ...4 1 3 Dimensions Dimension measure in cm...
Страница 14: ...6 This page intentionally left blank...
Страница 18: ...10 3 5 Wall Mount Kit 1 Follow the arrow to locate the Panel PC in the wall...
Страница 20: ...12 This page intentionally left blank...
Страница 40: ...32 This page is the blank page...