![background image](http://html1.mh-extra.com/html/ibase-technology/ib837-series/ib837-series_user-manual_3222016078.webp)
70
IB837
User’s Manual
bTime = strtol (argv[1], endptr, 10);
printf("System will reset after %d seconds\n", bTime);
if (bTime)
{
EnableWDT(bTime); }
else
{
DisableWDT(); }
return 0;
}
//---------------------------------------------------------------------------
void EnableWDT(int interval)
{
unsigned char bBuf;
bBuf = Get_F81966_Reg(0x2B);
bBuf &= (~0x20);
Set_F81966_Reg(0x2B, bBuf);
//Enable WDTO
Set_F81966_LD(0x07);
//switch to logic device 7
Set_F81966_Reg(0x30, 0x01);
//enable timer
bBuf = Get_F81966_Reg(0xF5);
bBuf &= (~0x0F);
bBuf |= 0x52;
Set_F81966_Reg(0xF5, bBuf);
//count mode is second
Set_F81966_Reg(0xF6, interval);
//set timer
bBuf = Get_F81966_Reg(0xFA);
bBuf |= 0x01;
Set_F81966_Reg(0xFA, bBuf);
//enable WDTO output
bBuf = Get_F81966_Reg(0xF5);
bBuf |= 0x20;
Set_F81966_Reg(0xF5, bBuf);
//start counting
}
//---------------------------------------------------------------------------
void DisableWDT(void)
{
unsigned char bBuf;
Set_F81966_LD(0x07);
//switch to logic device 7
bBuf = Get_F81966_Reg(0xFA);
bBuf &= ~0x01;
Set_F81966_Reg(0xFA, bBuf);
//disable WDTO output
bBuf = Get_F81966_Reg(0xF5);
bBuf &= ~0x20;
bBuf |= 0x40;
Set_F81966_Reg(0xF5, bBuf);
//disable WDT
}
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
//
Summary of Contents for IB837 Series
Page 1: ...IB837 Series Intel Celeron N J Series 3 5 Disk Size SBC User s Manual Version 1 0 April 2023...
Page 8: ...viii IB837 User s Manual This page is intentionally left blank...
Page 14: ...6 IB837 User s Manual 1 6 Block Diagram...
Page 16: ...8 IB837 User s Manual I O View 1 8 Dimensions...
Page 20: ...12 IB837 User s Manual 2 3 Jumper Connector Locations...
Page 26: ...18 IB837 User s Manual 2 5 2 I226V LAN Connectors CN3 CN4 2 5 3 USB 3 0 Connectors CN5 CN6...
Page 34: ...26 IB837 User s Manual 2 5 16 M 2 B Key Connector J11 2 5 17 Mini PCIE Connector J15...
Page 36: ...28 IB837 User s Manual 2 5 20 Battery Connector J24 Pin Assignment 1 Battery 2 Ground...
Page 44: ...36 IB837 User s Manual 5 Click Start 6 Click Finish...
Page 59: ...BIOS Setup IB837 User s Manual 51 4 4 4 6 Super IO Configuration Serial Port 1 Configuration...
Page 60: ...52 IB837 User s Manual Serial Port 2 Configuration Serial Port 3 Configuration...
Page 61: ...BIOS Setup IB837 User s Manual 53 4 Serial Port 4 Configuration Serial Port 5 Configuration...
Page 70: ...62 IB837 User s Manual Restore DB defaults Secure Boot Variables...