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

no-image

ZT5515A-1BW

Manufacturer Part Number
ZT5515A-1BW
Description
Manufacturer
Intel
Datasheet

Specifications of ZT5515A-1BW

Lead Free Status / Rohs Status
Supplier Unconfirmed
Watchdog Timer
8.2.2.3
46
NMI Handler
Because an NMI may originate from a source such as a RAM Error Correction Code (ECC) error,
the NMI handler cannot assume that an NMI occurred due to a watchdog timeout. Therefore, the
NMI handler must check the watchdog status register before taking watchdog-related emergency
action. When the NMI handler completes handling the emergency, it invokes the original NMI
Handler (discussed above). The code to do this might look like the following:
#defin
void WatchdogIsr(void){
if(inb(WD_CSR_IO_ADDRESS) & WD_NMI_DETECT_BIT_SET){
}
Intel
e WD_NMI_DETECT_BIT_SET 0x40 // Bit indicates an NMI occurred, set.
®
TripAlarm();
TurnOffTheGas();
_chain_intr(OldNmiIsr);
NetStructure
}
TM
ZT 5515 Compute Processor Board Technical Product Specification
//
//
//
//
// Did the watchdog cause the NMI?
//
//
// Take care of essential tasks.
//
//
//
// Invoke the originally installed ISR.