ZT5515A-1BW Intel, ZT5515A-1BW Datasheet - Page 43

no-image

ZT5515A-1BW

Manufacturer Part Number
ZT5515A-1BW
Description
Manufacturer
Intel
Datasheet

Specifications of ZT5515A-1BW

Lead Free Status / Rohs Status
Supplier Unconfirmed
8.2.1.2
8.2.1.3
Intel
®
NetStructure
}
Setting the Terminal Count
The terminal count determines how long the watchdog waits for a strobe before resetting the
hardware. C code for setting the terminal count might look like the following:
#define WD_CSR_IO_ADDRESS
#define WD_T_COUNT_MASK
bits.
#define WD_500MS_T_COUNT
#define WD_1S_T_COUNT
#define WD_250MS_T_COUNT
.
.
.
void SetTerminalCount(void){
unsigned char WdValue;
WdValue = inb(WD_CSR_IO_ADDRESS);
WdValue &= ~ WD_T_COUNT_MASK;
WdValue |= WD_500MS_T_COUNT;
outb(WD_CSR_IO_ADDRESS,WdValue);
value.
}
Strobing the Watchdog
Once the watchdog is enabled, it must be periodically strobed within the terminal count period to
avoid resetting the system hardware. C code to strobe the watchdog might look like the following:
vo
inb(WD_CSR_IO_ADDRESS);
}
id StrobeWatchdog(void){
TM
ZT 5515 Compute Processor Board Technical Product Specification
0x79
0x07
0x01
0x00
0x00
// A single read is all
// IO address of the watchdog
// Bit mask for terminal count
// Terminal count values . . . .
//
//
// Holds watchdog register
// values.
// Get the current contents of
//the watchdog register.
// Mask out the terminal count
// bits.
// Set the desired terminal
// count.
// Furnish the watchdog
// register with the new count //
it takes.
Watchdog Timer
43