![background image](http://html1.mh-extra.com/html/ibase-technology/si-06-series/si-06-series_user-manual_3220170044.webp)
44
void DisableWDT(void)
{
unsigned char bBuf;
Set_F81801_LD(0x07);
//switch to logic device 7
bBuf = Get_F81801_Reg(0xFA);
bBuf &= ~0x01;
Set_F81801_Reg(0xFA, bBuf);
//disable WDTO output
bBuf = Get_F81801_Reg(0xF5);
bBuf &= ~0x20;
bBuf |= 0x40;
Set_F81801_Reg(0xF5, bBuf);
//disable WDT
}
//---------------------------------------------------------------------------