76
MI979 Series
User’s Manual
void WDTEnable(unsigned char NewInterval)
{
unsigned char bBuf;
Set_NCT6116D_LD(0x08);
//switch to logic device 8
Set_NCT6116D_Reg(0x30, 0x01);
//enable timer
bBuf = Get_NCT6116D_Reg(0xF0);
bBuf &= (~0x08);
Set_NCT6116D_Reg(0xF0, bBuf);
//count
mode is second
Set_NCT6116D_Reg(0xF1, NewInterval);
//set timer
}
//---------------------------------------------------------------------------
void WDTDisable(void)
{
Set_NCT6116D_LD(0x08);
//switch to logic device 8
Set_NCT6116D_Reg(0xF1, 0x00);
//clear
watchdo g timer
Set_NCT6116D_Reg(0x30, 0x00);
//watchdog disabled
}
//---------------------------------------------------------------------------
Summary of Contents for MI979 Series
Page 5: ...MI979 Series User s Manual v This page is intentionally left blank ...
Page 8: ...viii MI979 Series User s Manual This page is intentionally left blank ...
Page 14: ...6 MI979 Series User s Manual 1 6 Block Diagram ...
Page 17: ...General Information MI979 Series User s Manual 9 1 1 8 Dimensions ...
Page 18: ...10 MI979 Series User s Manual This page is intentionally left blank ...
Page 42: ...34 MI979 Series User s Manual This page is intentionally left blank ...
Page 50: ...42 MI979 Series User s Manual This page is intentionally left blank ...
Page 76: ...68 MI979 Series User s Manual This page is intentionally left blank ...