Aaeon EMB-A70M User Manual page 64

Mini-itx motherboard
Table of Contents

Advertisement

M i n i - I T X
************************************************************************************
// Procedure : AaeonWDTEnable 
AaeonWDTEnable ()
VOID   
WDTEnableDisable(
 
// Procedure : AaeonWDTConfig 
AaeonWDTConfig ()
VOID   
// Disable WDT counting 
WDTEnableDisable(
// Clear Watchdog Timeout Status 
WDTClearTimeoutStatus(); 
// WDT relative parameter setting 
WDTParameterSetting(); 
 
WDTEnableDisable(byte LDN, byte Register, byte BitNum, byte Value)
VOID   
 
SIOBitSet(LDN, Register, BitNum, Value); 
 
WDTParameterSetting()
VOID   
// Watchdog Timer counter setting 
SIOByteSet(TimerLDN, TimerReg, TimerVal); 
 
// WDT counting unit setting 
 
SIOBitSet(UnitLDN, UnitReg, UnitBit, UnitVal); 
 
WDTClearTimeoutStatus()
VOID   
 
SIOBitSet(StatusLDN, StatusReg, StatusBit, 1); 
************************************************************************************
EnableLDN, EnableReg, EnableBit, 1
EnableLDN, EnableReg, EnableBit, 0
Appendix A Programming the Watchdog Timer A-5
E M B - A 7 0 M
); 
); 

Advertisement

Table of Contents
loading

Table of Contents