![background image](http://html1.mh-extra.com/html/ibase-technology/ib885/ib885_user-manual_3243721056.webp)
APPENDIX
52
IB885 User’s Manual
void copyright(void)
{
printf("\n========
Winbond 83627EHF 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_W627EHF_Reg( 0x2D);
bBuf &= (!0x01);
Set_W627EHF_Reg(
0x2D,
bBuf);
//Enable
WDTO
Set_W627EHF_LD(
0x08);
//switch
to
logic
device
8
Set_W627EHF_Reg(
0x30,
0x01);
//enable
timer
bBuf = Get_W627EHF_Reg( 0xF5);
bBuf &= (!0x08);
Set_W627EHF_Reg( 0xF5, bBuf);
//count mode is second
Set_W627EHF_Reg( 0xF6, interval);
//set timer
}
//===========================================================================
void DisableWDT(void)
{
Set_W627EHF_LD(0x08);
//switch
to
logic
device
8
Set_W627EHF_Reg(0xF6,
0x00);
//clear
watchdog
timer
Set_W627EHF_Reg(0x30,
0x00);
//watchdog
disabled
}
//===========================================================================
Summary of Contents for IB885
Page 1: ...IB885 AMD Sempron 200U 210U 3 5 inch Embedded Board USER S MANUAL Version 1 0 ...
Page 4: ...iv IB885 User s Manual This page is intentionally left blank ...
Page 8: ...INTRODUCTION Board Dimensions Top View 4 IB885 User s Manual ...
Page 24: ...INSTALLATIONS 20 IB885 User s Manual This page is intentionally left blank ...
Page 42: ...BIOS SETUP 38 IB885 User s Manual This page is intentionally left blank ...
Page 52: ...DRIVER INSTALLATION 48 IB885 User s Manual This page is intentionally left blank ...