44
************************************************************************************
VOID
Main
(){
// Procedure : BestekWDTConfig
// (byte)Timer : Time of WDT timer.(0x00~0xFF)
// (boolean)Unit : Select time unit(0: second, 1: minute).
BestekWDTConfig();
// Procedure : BestekWDTEnable
// This procudure will enable the WDT counting.
BestekWDTEnable();
}
************************************************************************************
// Procedure : BestekWDTEnable
VOID
BestekWDTEnable ()
{
WDTEnableDisable(
EnableLDN
,
EnableReg
,
EnableBit
,
1
);
}
// Procedure : BestekWDTConfig
VOID
BestekWDTConfig ()
{
// Disable WDT counting
WDTEnableDisable(
EnableLDN
,
EnableReg
,
EnableBit
,
0
);
// Clear Watchdog Timeout Status
WDTClearTimeoutStatus();
// WDT relative parameter setting
WDTParameterSetting();
}
VOID
WDTEnableDisable(byte LDN, byte Register, byte BitNum, byte Value)
{
SIOBitSet(LDN, Register, BitNum, Value);
}
VOID
WDTParameterSetting()
{
// Watchdog Timer counter setting
SIOByteSet(
TimerLDN
,
TimerReg
,
TimerVal
);
// WDT counting unit setting
SIOBitSet(
UnitLDN
,
UnitReg
,
UnitBit
,
UnitVal
);
}
VOID
WDTClearTimeoutStatus()
{
SIOBitSet(
StatusLDN
,
StatusReg
,
StatusBit
,
1
);
}
************************************************************************************
Summary of Contents for BNX-H81
Page 1: ...1 Security Board BNX H81 Always at the forefront of innovation User Manual ...
Page 7: ...7 Chapter 1 General Information ...
Page 11: ...11 Figure 1 1 Board Layout of BNX H81 1 4 Board Layout ...
Page 12: ...12 Chapter 2 Preparation ...
Page 16: ...16 2 5 Locations Of Jumpers and Connectors ...
Page 21: ...21 Chapter 3 Operation ...
Page 29: ...29 Chapter 4 BIOS Setup ...