![background image](http://html1.mh-extra.com/html/ibase-technology/ib905/ib905_user-manual_3253949061.webp)
APPENDIX
IB905 User’s Manual
57
void copyright(void)
{
printf("\n======== Winbond 83627DHG Watch Timer Tester (AUTO DETECT) ========\n"\
" Usage : W627E_WD reset_time\n"\
" Ex : W627E_WD 3 => reset system after 3 second\n"\
" W627E_WD 0 => disable watch dog timer\n");
}
//===========================================================================
void EnableWDT(int interval)
{
unsigned char bBuf;
bBuf = Get_W627DHG_Reg( 0x2D);
bBuf &= (!0x01);
Set_W627DHG_Reg( 0x2D, bBuf);
//Enable WDTO
Set_W627DHG_LD( 0x08);
//switch to logic device 8
Set_W627DHG_Reg( 0x30, 0x01);
//enable timer
bBuf = Get_W627DHG_Reg( 0xF5);
bBuf &= (!0x08);
Set_W627DHG_Reg( 0xF5, bBuf);
//count mode is second
Set_W627DHG_Reg( 0xF6, interval);
//set timer
}
//===========================================================================
void DisableWDT(void)
{
Set_W627DHG_LD(0x08);
//switch to logic device 8
Set_W627DHG_Reg(0xF6, 0x00);
//clear watchdog timer
Set_W627DHG_Reg(0x30, 0x00);
//watchdog disabled
}
//===========================================================================
Summary of Contents for IB905
Page 1: ...IB905 Intel Sandy Bridge PCH 3 5 inch Embedded Board USER S MANUAL Version 1 1...
Page 4: ...iv IB905 User s Manual This page is intentionally left blank...
Page 9: ...INTRODUCTION IB905 User s Manual 5 Board Dimensions...
Page 18: ...INSTALLATIONS 14 IB905 User s Manual...
Page 21: ...INSTALLATIONS IB905 User s Manual 17 Not used 20 19 Ground...
Page 57: ...DRIVERS INSTALLATION IB905 User s Manual 53 This page is intentionally left blank...