![background image](http://html1.mh-extra.com/html/ibase-technology/bytem-103-pc/bytem-103-pc_user-manual_3229720074.webp)
66
BYTEM-103-PC User Manual
}
//---------------------------------------------------------------------------
void WDTInitial(void)
{
unsigned char bBuf;
Set_NCT5523D_LD(0x08);
//switch to logic device 8
bBuf = Get_NCT5523D_Reg(0x30);
bBuf &= (~0x01);
Set_NCT5523D_Reg(0x30, bBuf);
//Enable WDTO
}
//---------------------------------------------------------------------------
void WDTEnable(unsigned char NewInterval)
{
unsigned char bBuf;
Set_NCT5523D_LD(0x08);
//switch to logic device 8
Set_NCT5523D_Reg(0x30, 0x01);
//enable timer
bBuf = Get_NCT5523D_Reg(0xF0);
bBuf &= (~0x08);
Set_NCT5523D_Reg(0xF0, bBuf);
//count mode is second
Set_NCT5523D_Reg(0xF1, NewInterval);
//set timer
}
//---------------------------------------------------------------------------
void WDTDisable(void)
{
Set_NCT5523D_LD(0x08);
//switch to logic device 8
Set_NCT5523D_Reg(0xF1, 0x00);
//clear watchdog timer
Set_NCT5523D_Reg(0x30, 0x00);
//watchdog disabled
}
//---------------------------------------------------------------------------
Содержание BYTEM-103-PC
Страница 1: ...www ibase com tw IBASE Technology Inc BYTEM 103 PC User Manual...
Страница 8: ......
Страница 11: ...Copyright 2013 IBASE Technology Inc All Rights Reserved 3 IBASE Technology Inc 1 2 2 Dimensions BYTEM 103 PC...
Страница 12: ...4 BYTEM 103 PC User Manual...
Страница 14: ...6 BYTEM 103 PC User Manual M12 10 100M LAN Port Pin 1 LAN TX Pin 2 LAN RX Pin 3 LAN TX Pin 4 LAN RX...
Страница 60: ...52 BYTEM 103 PC User Manual 3 Click Yes to accept the license agreement...