
49
SetWdtTime(count);
WdtStart();
while(!WdtCheck())
{
data = GetWdtTime();
//delay(1);
printf("\r Timer Counting: %d",data);
}
printf("\n Time UP!! \n");
printf("Test finished\n");
return 0;
}
printf("Command Error! use -help for detial\n");
return -1;
}
else
{
printf("Command Error! use -help for detial\n");
return -1;
}
return 0;
}
//------------------------------------------------------------------------
void WdtStart(void)
{
char data = 0x00;
data = inportb(0xF3);
SetBit(&data,5);
SetBit(&data,6);
outportb(0xF3, data);
}
//------------------------------------------------------------------------
void WdtStop(void)
{
char data = 0x00;
data = inportb(0xF3);
ClrBit(&data,5);
ClrBit(&data,6);
outportb(0xF3, data);
}
Summary of Contents for NSP-2C30
Page 1: ...1 Network Security System NSP 2C30 Always at the forefront of innovation User Manual...
Page 7: ...7 Chapter 1 General Information...
Page 11: ...11 Figure 1 1 System Layout of NSP 2C30 1 4 System Layout...
Page 12: ...12 Front View With different combination of LAN Modules Rear View 1 5 Indicators Features...
Page 13: ...13 Chapter 2 Preparation...
Page 24: ...24 Chapter 3 Operation...
Page 29: ...29 Chapter 4 BIOS Setup...
Page 47: ...47 Chapter 5 Programming Guide...
Page 63: ...63 Chapter 6 Q A...