Intel 386 User Manual page 509

Embedded microprocessor
Table of Contents

Advertisement

Intel386™ EX EMBEDDED MICROPROCESSOR USER'S MANUAL
Parameters:
None
Returns:
16-bit down-counter value
Assumptions:
None
Syntax:
WORD counter_value;
counter_value = GetWDT_Count();
Real/Protected Mode:
No changes required.
******************************************************************************/
DWORD GetWDT_Count(void)
{
WORD LowWord, HiWord;
LowWord = _GetEXRegWord(WDTCNTL);
HiWord
= _GetEXRegWord(WDTCNTH);
return (((DWORD)HiWord << 16) + LowWord);
}/* GetWDT_Count */
/*****************************************************************************
WDT_BusMonitor:
Description:
Enables the bus monitor mode of the Watch Dog Timer.
Parameters:
EnableDisable
Returns:
None
Assumptions:
None
Syntax:
#define Enable 0x01
#define Disable 0x00
17-14
Nonzero if bus monitor mode is to be enabled,
Zero if it is to be disabled

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Intel386 exIntel386 extbIntel386 extc

Table of Contents