46 |
| |||
|
|
|
|
|
| MOV | DX,IO_SPIO_WDT_BASE | ; Timeout Period Register | |
| MOV | AL,DesideredTimeout | ; 2..255 seconds/minutes | |
| OUT | DX,AL |
|
|
Use following code to refresh the Watch Dog :
; Reload original Timeout...
MOV | DX,IO_SPIO_WDT_BASE |
|
MOV | AL,DesideredTimeout | ; 2..255 seconds/minutes |
OUT | DX,AL |
|
Use the following code to disable the Watch Dog (no additional refresh required):
; Set Timeout to 0 Seconds ...
MOV | DX,IO_SPIO_WDT_BASE | ; Timeout Period Register |
MOV | AL,0 |
|
OUT | DX,AL |
|
•Note: for further information about the Watch Dog programming, refer to “PC87364