Watchdog Sample Program - Asus AAEON BOXER-6710 User Manual

Fanless embedded box pc
Hide thumbs Also See for AAEON BOXER-6710:
Table of Contents

Advertisement

A.2 Watchdog Sample Program
************************************************************************************
// SuperIO relative definition (Please reference to Table 1)
#d efine byte SIOIndex //This parameter is represented from N o te1
#d efine byte SIOData //This parameter is represented from N o te2
#d efine vo id IOWriteByte(b yte IOPort, b yte Value);
#d efine b yte IOReadByte(b yte IOPort);
// Watch Dog relative definition (Please reference to Table 2)
#d efine byte TimerLDN //This parameter is represented from N ote3
#d efine byte TimerReg //This parameter is represented from N o te4
#d efine byte TimerVal // This parameter is represented from N o te24
#d efine byte UnitLDN //This parameter is represented from N o te5
#d efine byte UnitReg //This parameter is represented from N o te6
#d efine byte UnitBit //This parameter is represented from N o te7
#d efine byte UnitVal //This parameter is represented from N ote8
#d efine byte EnableLDN //This parameter is represented from N o te9
#d efine byte EnableReg //This parameter is represented from N o te10
#d efine byte EnableBit //This parameter is represented from N o te11
#d efine byte EnableVal //This parameter is represented from N o te12
#d efine byte StatusLDN // This parameter is represented from N ote13
#d efine byte StatusReg // This parameter is represented from N o te14
#d efine byte StatusBit // This parameter is represented from N o te15
#d efine byte ModeLDN // This parameter is represented from N o te16
#d efine byte ModeReg // This parameter is represented from N o te17
#d efine byte ModeBit // This parameter is represented from N o te18
#d efine byte ModeVal // This parameter is represented from N o te19
#d efine byte WDTRstLDN // This parameter is represented from N o te20
#d efine byte WDTRstReg // This parameter is represented from N o te21
#d efine byte WDTRstBit // This parameter is represented from N o te22
#d efine byte WDTRstVal // This parameter is represented from N o te23
************************************************************************************
Appendix A – Watchdog Timer Programming
50

Advertisement

Table of Contents
loading

Table of Contents