E P I C B o a r d
E P I C - B D U 7
E.4 Digital I/O Sample Program
**************************************************************************
// SuperIO relative definition (Please reference to Table 2)
#define
SIOIndex 0x2E
#define
SIOData 0x2F
#define
DIOLDN 0x06
IOWriteByte(
byte
IOPort,
byte
Value);
IOReadByte(
byte
IOPort);
// DIO relative definition (Please reference to Table 3)
#define
DirReg_L 0x88 // 0:input, 1: output
#define
DirReg_H 0x80 // 0:input, 1: output
#define
InputPin 0x00
#define
OutputPin 0x01
#define
OutputReg_L 0x89 // 0:low, 1: high
#define
OutputReg_H 0x81 // 0:low, 1: high
#define
StatusReg_L 0x8A // 0:low, 1: high
#define
StatusReg_H 0x82 // 0:low, 1: high
#define
PinLow 0x00
#define
PinHigh 0x01
#define
Pin1Bit 0x00
#define
Pin2Bit 0x01
#define
Pin3Bit 0x02
#define
Pin4Bit 0x03
#define
Pin5Bit 0x04
#define
Pin6Bit 0x05
#define
Pin7Bit 0x06
#define
Pin8Bit 0x07
#define
Pin9Bit 0x08
#define
Pin10Bit 0x09
#define
Pin11Bit 0x0A
#define
Pin12Bit 0x0B
#define
Pin13Bit 0x0C
#define
Pin14Bit 0x0D
#define
Pin15Bit 0x0E
#define
Pin16Bit 0x0F
Appendix E Digital I/O Ports
E-6
Содержание EPIC-BDU7
Страница 11: ...EPIC Board E P I C B D U 7 General Information Chapter 1 Chapter 1 General Information 1 1...
Страница 17: ...EPIC Board E P I C B D U 7 Chapter 2 Quick Installation Guide 2 1 Quick Installation Guide Chapter 2...
Страница 20: ...EPIC Board E P I C B D U 7 Chapter 2 Quick Installation Guide 2 4 With Heat Spreader...
Страница 21: ...EPIC Board E P I C B D U 7 Chapter 2 Quick Installation Guide 2 5 Solder Side Solder Side With Heat Spreader...
Страница 73: ...EPIC Board E P I C B D U 7 AMI BIOS Setup Chapter 3 Chapter 3 AMI BIOS Setup 3 1...
Страница 101: ...EPIC Board E P I C B D U 7 Enable Disable USB Mass Storage Driver Support Chapter 3 AMI BIOS Setup 3 29...
Страница 103: ...EPIC Board E P I C B D U 7 Set GPIO Level when used as Output Chapter 3 AMI BIOS Setup 3 31...
Страница 111: ...EPIC Board E P I C B D U 7 70 80 90 100 Select Backlight Level Chapter 3 AMI BIOS Setup 3 39...
Страница 117: ...EPIC Board E P I C B D U 7 The order of boot priorities Chapter 3 AMI BIOS Setup 3 45...
Страница 121: ...EPIC Board E P I C B D U 7 Driver Installation Chapter 4 Chapter 4 Driver Installation 4 1...
Страница 126: ...EPIC Board E P I C B D U 7 Chapter 4 Driver Installation 4 6...
Страница 127: ...EPIC Board E P I C B D U 7 2 Reboot and log in as administrator Chapter 4 Driver Installation 4 7...
Страница 128: ...EPIC Board E P I C B D U 7 3 Run patch bat as administrator Chapter 4 Driver Installation 4 8...
Страница 132: ...EPIC Board E P I C B D U 7 Programming the Watchdog Timer Appendix A Appendix A Programming the Watchdog Timer A 1...
Страница 137: ...EPIC Board E P I C B D U 7 I O Information Appendix B Appendix B I O Information B 1...
Страница 138: ...EPIC Board E P I C B D U 7 B 1 I O Address Map Appendix B I O Information B 2...
Страница 139: ...EPIC Board E P I C B D U 7 Appendix B I O Information B 3...
Страница 140: ...EPIC Board E P I C B D U 7 B 2 Memory Address Map Appendix B I O Information B 4...
Страница 141: ...EPIC Board E P I C B D U 7 B 3 IRQ Mapping Chart Appendix B I O Information B 5...
Страница 142: ...EPIC Board E P I C B D U 7 Appendix B I O Information B 6...
Страница 143: ...EPIC Board E P I C B D U 7 Appendix B I O Information B 7...
Страница 144: ...EPIC Board E P I C B D U 7 Appendix B I O Information B 8...
Страница 145: ...EPIC Board E P I C B D U 7 Appendix B I O Information B 9...
Страница 146: ...EPIC Board E P I C B D U 7 Appendix B I O Information B 10...
Страница 147: ...EPIC Board E P I C B D U 7 Appendix B I O Information B 11...
Страница 148: ...EPIC Board E P I C B D U 7 Appendix B I O Information B 12...
Страница 149: ...EPIC Board E P I C B D U 7 Appendix B I O Information B 13...
Страница 150: ...EPIC Board E P I C B D U 7 Appendix B I O Information B 14...
Страница 151: ...EPIC Board E P I C B D U 7 Appendix B I O Information B 15...
Страница 152: ...EPIC Board E P I C B D U 7 Appendix B I O Information B 16...
Страница 153: ...EPIC Board E P I C B D U 7 B 4 DMA Channel Assignments Appendix B I O Information B 17...
Страница 154: ...EPIC Board E P I C B D U 7 Mating Connectors Appendix C Appendix C Mating Connector C 1...
Страница 160: ...EPIC Board E P I C B D U 7 Digital I O Ports Appendix E Appendix E Digital I O Ports E 1...