Download  Print this page

Dio Sample Program - Asus AAEON BOXER-6615 User Manual

Fanless embedded box pc
Hide thumbs

Advertisement

C.4

DIO Sample Program

**************************************************************************
// SuperIO relative definition (Please reference to Table 2)
#define SIOIndex 0x2E
#define SIOData
#define DIOLDN
IOWriteByte(byte IOPort, byte Value);
IOReadByte(byte IOPort);
// DIO relative definition (Please reference to Table 3)
#define DirReg_L
#define DirReg_H
#define InputPin
#define OutputPin
#define OutputReg_L
#define OutputReg_H
#define StatusReg_L
#define StatusReg_H
#define PinLow
#define PinHigh
#define Pin0Bit
#define Pin1Bit
#define Pin2Bit
#define Pin3Bit
#define Pin4Bit
#define Pin5Bit
#define Pin6Bit
#define Pin7Bit
Appendix C – Digital I/O Information
0x2F
0x06
0x88
// 0:input, 1: output
0x80
// 0:input, 1: output
0x00
0x01
0x89
// 0:low, 1: high
0x81
// 0:low, 1: high
0x8A
// 0:low, 1: high
0x82
// 0:low, 1: high
0x00
0x01
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
84

Advertisement

loading

  Related Manuals for Asus AAEON BOXER-6615

  Related Content for Asus AAEON BOXER-6615