IBASE MI889 User Manual

Page 61

Advertising
background image

APPENDIX

MI889 User’s Manual

57


bBuf = Get_W627UHG_Reg(0xF5);

bBuf &= (~0x08);

Set_W627UHG_Reg(0xF5, bBuf); .......................................................... //count mode is second

Set_W627UHG_Reg(0xF6, NewInterval);................................................................... //set timer

}
//---------------------------------------------------------------------------
void WDTDisable(void)
{
Set_W627UHG_LD(0x08); ..........................................................................................................

Set_W627UHG_Reg(0xF6, 0x00); ........................................................... //clear watchdog timer
Set_W627UHG_Reg(0x30, 0x00); ...............................................................................................

}
//---------------------------------------------------------------------------









Advertising
This manual is related to the following products: