beautypg.com

Appendix 54, Mi805 user’s manual – IBASE MI805 User Manual

Page 58

background image

APPENDIX

54

MI805 User’s Manual



return 0;

}
//---------------------------------------------------------------------------
void EnableWDT(int interval)
{

unsigned char bBuf;


Set_6106_LD(0x08);
Set_6106_Reg(0x30,

0x01);


Set_6106_Reg(0xF1,

interval);


}
//---------------------------------------------------------------------------
void DisableWDT(void)
{

unsigned char bBuf;


Set_6106_LD(0x08);
Set_6106_Reg(0x30,

0x00);


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