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
Содержание SI - 83
Страница 1: ...SI 83 User Manual Digital Player Revision Release Date V1 0 2014 12 12...
Страница 6: ...x SI 83 User Manual...
Страница 9: ...3 1 2 2 Dimensions...
Страница 10: ...4 SI 83 User Manual 1 2 3 I O View SI 83 front side SI 83 rear side...
Страница 11: ...5 1 3 Exploded View of the SI 83 Assembly...
Страница 22: ...16 SI 83 User Manual IB983 Jumpers and Connectors...
Страница 23: ...17 Board Dimensions...
Страница 26: ...20 SI 83 User Manual J18 Setting Function Pin 1 2 Short Closed Normal Pin 2 3 Short Closed Clear CMOS...
Страница 28: ...22 SI 83 User Manual CN5 CN8 USB2 0 Connector CN6 CN7 USB3 0 Connector CN9 Gigabit LAN RTL8111G RJ45 Connector...
Страница 30: ...24 SI 83 User Manual J1 J9 DDR3 SO DIMM Socket J4 Mini PCIE Connector J5 mSATA Connector...