Intel 386 User Manual page 510

Embedded microprocessor
Table of Contents

Advertisement

WDT_BusMonitor(Enable);
Real/Protected Mode:
No changes required.
******************************************************************************/
void WDT_BusMonitor(BYTE EnableDisable)
{
BYTE Status;
Status = _GetEXRegByte(WDTSTATUS);
if(EnableDisable)
_SetEXRegByte(WDTSTATUS, Status | BIT1MSK);
else
/* else,
_SetEXRegByte(WDTSTATUS, Status & ~BIT1MSK);
}/* WDT_BusMonitor */
/*****************************************************************************
EnableWDTInterrupt:
Description:
Enables a maskable interrupt on the assertion of WDTOUT
Parameters:
None
Returns:
None
Assumptions:
None
Syntax:
EnableWDTInterrupt();
Real/Protected Mode:
No changes required
******************************************************************************/
extern void EnableWDTInterrupt(void)
{
InitICUSlave(ICU_TRIGGER_EDGE, 0x30, 0);
SetIRQVector(wdtISR, 15, INTERRUPT_ISR);
service
/* If true, Enable */
Disable */
WATCHDOG TIMER UNIT
/* Set Bit */
/* Clear Bit */
/* Initialize Slave ICU */
/* Puts address of interrupt
17-15

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Intel386 exIntel386 extbIntel386 extc

Table of Contents