Intel 386 User Manual

Page 511

Advertising
background image

Intel386™ EX EMBEDDED MICROPROCESSOR USER’S MANUAL

17-16

routine in Interrupt Vector Table */

Enable8259Interrupt(IR2,IR7);

/* Enable slave interrupt to master(IR2),

Enable slave IR2 */

_enable(); /* Enable Interrupts */

} /* EnableWDTInterrupt */

/*****************************************************************************

wdtISR:

Description:

Interrupt Service Routine for Watchdog Timer

Parameters:

None

Returns:

None

Assumptions:

None

Syntax:

Not called by user; Interrupt Control Unit executes this

routine upon acknowledgment of a WDT interrupt

Real/Protected Mode:

No changes required

*****************************************************************************/

void interrupt far wdtISR(void)

{

SerialWriteStr(SIO_PORT,”Executing in WDT_ISR”);

/* Prints out to Serial

Port as a demonstration */

NonSpecificEOI();

} /* wdtISR */

Advertising