beautypg.com

AAEON EMB-H61B User Manual

Page 66

background image

I n d u s t r i a l M o t h e r b o a r d

E M B - H 6 1 B

Appendix A Programming the Watchdog Timer A-3

************************************************************************************

// SuperIO relative definition (Please reference to Table 1)

#define byte SIOIndex //This parameter is represented from Note1

#define byte SIOData //This parameter is represented from Note2

#define void IOWriteByte(byte IOPort, byte Value);

#define byte IOReadByte(byte IOPort);

// Watch Dog relative definition (Please reference to Table 2)

#define byte TimerLDN //This parameter is represented from Note3

#define byte TimerReg //This parameter is represented from Note4

#define byte TimerVal // This parameter is represented from Note24

#define byte UnitLDN //This parameter is represented from Note5

#define byte UnitReg //This parameter is represented from Note6

#define byte UnitBit //This parameter is represented from Note7

#define byte UnitVal //This parameter is represented from Note8

#define byte EnableLDN //This parameter is represented from Note9

#define byte EnableReg //This parameter is represented from Note10

#define byte EnableBit //This parameter is represented from Note11

#define byte EnableVal //This parameter is represented from Note12

#define byte StatusLDN // This parameter is represented from Note13

#define byte StatusReg // This parameter is represented from Note14

#define byte StatusBit // This parameter is represented from Note15

#define byte ModeLDN // This parameter is represented from Note16

#define byte ModeReg // This parameter is represented from Note17

#define byte ModeBit // This parameter is represented from Note18

#define byte ModeVal // This parameter is represented from Note19

#define byte WDTRstLDN // This parameter is represented from Note20

#define byte WDTRstReg // This parameter is represented from Note21

#define byte WDTRstBit // This parameter is represented from Note22

#define byte WDTRstVal // This parameter is represented from Note23

************************************************************************************