
APPENDIX
MI889 User’s Manual
53
C. Watchdog Timer Configuration
The WDT is used to generate a variety of output signals after a user
programmable count. The WDT is suitable for use in the prevention of
system lock-up, such as when software becomes trapped in a deadlock.
Under these sorts of circumstances, the timer will count to zero and the
selected outputs will be driven. Under normal circumstance, the user
will restart the WDT at regular intervals before the timer counts to zero.
SAMPLE CODE:
File of the W627UHG.CPP
//---------------------------------------------------------------------------
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
// PURPOSE.
//
//---------------------------------------------------------------------------
#include "W627UHG.H"
#include <dos.h>
//---------------------------------------------------------------------------
unsigned int W627UHG_BASE;
void Unlock_W627UHG (void);
void Lock_W627UHG (void);
//---------------------------------------------------------------------------
unsigned int Init_W627UHG(void)
{
unsigned int result;
unsigned char ucDid;
W627UHG_BASE = 0x4E;
result = W627UHG_BASE;
ucDid = Get_W627UHG_Reg(0x20);
if
(ucDid
==
0xA2) //W83627UHG??
{
goto
Init_Finish;
}
W627UHG_BASE = 0x2E;
result = W627UHG_BASE;
ucDid = Get_W627UHG_Reg(0x20);
if
(ucDid
==
0xA2) //W83627UHG??
{
goto
Init_Finish;
}
W627UHG_BASE = 0x00;
result = W627UHG_BASE;
Init_Finish:
return
(result);
}
//---------------------------------------------------------------------------
void Unlock_W627UHG (void)
Содержание MI889
Страница 4: ...iv MI889 User s Manual This page is intentionally left blank...
Страница 5: ...INSTALLATIONS Introduction MI889 MINI ITX MOTHERBOARD MI889 EDGE CONNECTORS MI889 User s Manual 1...
Страница 8: ...INSTALLATIONS Board Dimensions 4 MI889 User s Manual...
Страница 16: ...INSTALLATIONS Connector Locations on MI889 12 MI889 User s Manual...
Страница 24: ...INSTALLATIONS 20 MI889 User s Manual This page is intentionally left blank...
Страница 44: ...BIOS SETUP 40 MI889 User s Manual This page is intentionally left blank...
Страница 52: ...DRIVERS INSTALLATION 48 MI889 User s Manual This page is intentionally left blank...