Appendix A – Watchdog Timer Programming 73COM Express Module COM-WHUC6************************************************************************************// Procedure : AaeonWDTEnableVOID AaeonWDTEnable (){WDTEnableDisable(1);}// Procedure : AaeonWDTConfigVOID AaeonWDTConfig (){// Disable WDT countingWDTEnableDisable(0);// WDT relative parameter settingWDTParameterSetting();}VOID WDTEnableDisable(byte Value){ECBRAMWriteByte(TimerReg , Value);}VOID WDTParameterSetting(){Byte TempByte;// Watchdog Timer counter settingECBRAMWriteByte(TimerReg , TimerVal);// WDT counting unit settingTempByte = ECBRAMReadByte(UnitReg);TempByte |= (UnitVal << UnitBit);ECBRAMWriteByte(UnitReg , TempByte);// WDT RST pulse width settingTempByte = ECBRAMReadByte(RSTReg);TempByte |= (RSTVal << RSTBit);ECBRAMWriteByte(RSTReg , TempByte);}************************************************************************************