Intel 386 Uživatelský manuál Strana 509

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 691
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 508
Intel386™ EX EMBEDDED MICROPROCESSOR USERS MANUAL
17-14
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 Nonzero if bus monitor mode is to be enabled,
Zero if it is to be disabled
Returns:
None
Assumptions:
None
Syntax:
#define Enable 0x01
#define Disable 0x00
Zobrazit stránku 508
1 2 ... 504 505 506 507 508 509 510 511 512 513 514 ... 690 691

Komentáře k této Příručce

Žádné komentáře