67
//---------------------------------------------------------------------------
int main (void)
{
char SIO;
SIO = Init_NCT5523D();
if (SIO == 0)
{
printf("Can not detect Nuvoton NCT5523D, program abort.\n");
return(1);
}
WDTInitial();
WDTEnable(10);
WDTDisable();
return 0;
}
//---------------------------------------------------------------------------
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
Summary of Contents for SI - 83
Page 1: ...SI 83 User Manual Digital Player Revision Release Date V1 0 2014 12 12...
Page 6: ...x SI 83 User Manual...
Page 9: ...3 1 2 2 Dimensions...
Page 10: ...4 SI 83 User Manual 1 2 3 I O View SI 83 front side SI 83 rear side...
Page 11: ...5 1 3 Exploded View of the SI 83 Assembly...
Page 22: ...16 SI 83 User Manual IB983 Jumpers and Connectors...
Page 23: ...17 Board Dimensions...
Page 30: ...24 SI 83 User Manual J1 J9 DDR3 SO DIMM Socket J4 Mini PCIE Connector J5 mSATA Connector...