IBASE Technology IB898 User Manual page 56

Intel atom e3800 soc series 3.5” disk size sbc
Table of Contents

Advertisement

APPENDIX
void WDTEnable(unsigned char NewInterval)
{
unsigned char bBuf;
Set_NCT5523D_LD(0x08);
Set_NCT5523D_Reg(0x30, 0x01);
bBuf = Get_NCT5523D_Reg(0xF0);
bBuf &= (~0x08);
Set_NCT5523D_Reg(0xF0, bBuf);
Set_NCT5523D_Reg(0xF1, NewInterval);
}
//---------------------------------------------------------------------------
void WDTDisable(void)
{
Set_NCT5523D_LD(0x08);
Set_NCT5523D_Reg(0xF1, 0x00);
Set_NCT5523D_Reg(0x30, 0x00);
}
//---------------------------------------------------------------------------
52
IB898 User's Manual
//switch to logic device 8
//enable timer
//count mode is second
//set timer
//switch to logic device 8
//clear watchdog timer
//watchdog disabled

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents