Refreshing The Watchdog; Watchdog Timer Registers - VersaLogic EBX-22 Reference Manual

Table of Contents

Advertisement

R
EFRESHING THE
If the watchdog timer is enabled, software must periodically refresh the WDHOLD register at a
rate faster than the timer is set to expire. (This is sometimes referred to as "petting" or "feeding"
the watchdog.) To reset the timer, first write 55h to the WDHOLD register (I/O port 1E1h)
followed by AAh to the same register.
W
T
ATCHDOG
IMER
WDSET (Read/Write) 1E0h
D7
ENABLE
Bit
Mnemonic
D7
ENABLE
EXP
D6-D0
WDHOLD (Read/Write) 1E1h
D7
PET7
Bit
Mnemonic
D7-D0
PET
EBX-22 Reference Manual
W
ATCHDOG
R
EGISTERS
D6
D5
D4
EXP6
EXP5
EXP4
Table 22: WDSET Register Bit Assignments
Description
Watchdog Enable – Enables and disables the watchdog timer reset circuit.
0 = Disabled
1 = Enabled
Expiration Time – These bits define the expiration time for the watchdog
timer. The expiration time can be set from 1 to ~16 seconds, or from 08h to
7Fh. See Enabling the Watchdog.
D6
D5
D4
PET6
PET5
PET4
Table 23: WDHOLD Register Bit Assignments
Description
Pet Watchdog – If the watchdog timer is enabled, this register must be
periodically refreshed at a rate faster than the timer is set to expire. The code
sequence to hold off a reset is 55h, AAh.
Interfaces and Connectors
D3
D2
D1
EXP3
EXP2
EXP1
D3
D2
D1
PET3
PET2
PET1
D0
EXP0
D0
PET0
50

Advertisement

Table of Contents
loading

Table of Contents