70
MPT-1000R User Manual
{
DisableWDT(); } return 0;
}
//---------------------------------------------------------------------------
void EnableWDT(int interval)
{
unsigned char bBuf;
bBuf = Get_F81966_Reg(0x2C); bBuf &= (~0x20);
Set_F81966_Reg(0x2C, 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(0xF0); bBuf |= 0x80;
Set_F81966_Reg(0xF0, 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(0xF0);
bBuf &= ~0x80;
Set_F81966_Reg(0xF0, bBuf); //disable WDTO output
bBuf = Get_F81966_Reg(0xF5); bBuf &= ~0x20;
bBuf |= 0x40;
Set_F81966_Reg(0xF5, bBuf); //disable WDT
}
//---------------------------------------------------------------------------
Summary of Contents for MPT-1000R
Page 1: ...MPT 1000R Intel Atom x7 E3950 Processor Railway Computer System User s Manual Version 1 0 ...
Page 8: ......
Page 16: ...8 MPT 1000R User Manual Oblique View Side View ...
Page 17: ...General Information MPT 1000R User Manual 9 1 1 6 Dimensions Unit mm ...
Page 18: ...10 MPT 1000R User Manual Unit mm Fuse for MPT 1000R Littlefuse TAC ATO Style Blade 15A 58V DC ...
Page 36: ...28 MPT 1000R User Manual 2 4 7 SW1 MCU Reset 2 4 8 SW2 Clear CMOS 2 4 9 SW3 Power Button ...