Strobe Watchdog; Disable Watchdog - Octagon Systems XE–700 Reference Manual

Table of Contents

Advertisement

Strobe watchdog

Function:
Subfunction:
Purpose:
Calling registers:
Return registers:
Comments:
Programming example:
/* Inline assembly code for Borland C++ 3.1 */
asm {

Disable watchdog

Function:
Subfunction:
Purpose:
Calling registers:
Return registers:
Comments:
Programming example:
/* Inline assembly code for Borland C++ 3.1 */
asm {
82
fdh
02h
To strobe the watchdog.
AH
AL
DX
None
This function strobes the watchdog. Once the
watchdog is enabled, it has to be strobed at a
period greater than the timeout period or until
the watchdog is disabled. Otherwise, a system
reset will occur.
mov ax,0fd02h
mov dx,0ffffh
int 17h
}
fdh
03h
To disable the watchdog.
AH
AL
DX
None
This function disables the watchdog. Once the
watchdog is enabled, it has to be strobed at a
period greater than the timeout period or until
the watchdog is disabled. Otherwise, a system
reset will occur.
mov ax,0fd03h
mov dx,0ffffh
int 17h
}
fdh
02h
ffffh
fdh
03h
ffffh

Advertisement

Table of Contents
loading

Table of Contents