Appendix D
–
Digital I/O Ports
124
3.5
” S
ub
co
m
pa
ct
Bo
ard
G
EN
E-
KB
U6
D.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 0xA0 // 0:input, 1: output
#define InputPin 0x00
#define OutputPin 0x01
#define OutputReg 0xA1 // 0:low, 1: high
#define StatusReg 0xA2 // 0:low, 1: high
#define PinLow 0x00
#define PinHigh 0x01
#define Pin0Bit 0x00
#define Pin1Bit 0x01
#define Pin2Bit 0x02
#define Pin3Bit 0x03
#define Pin4Bit 0x04
#define Pin5Bit 0x05
#define Pin6Bit 0x06
#define Pin7Bit 0x07
**************************************************************************
**************************************************************************
VOID Main(){
Boolean PinStatus ;
// Procedure : AaeonReadPinStatus
// Input :
//
Example, Read Digital I/O Pin 3 status
// Output :
//
InputStatus :
//
0: Digital I/O Pin level is low
//
1: Digital I/O Pin level is High
PinStatus = AaeonReadPinStatus(Pin3Bit);
// Procedure : AaeonSetOutputLevel
Содержание AAEON GENE-KBU6
Страница 1: ...Last Updated October 28 2021 GENE KBU6 3 5 Subcompact Board User s Manual 1st Ed ...
Страница 15: ...3 5 Subcompact Board GENE KBU6 Chapter 1 Chapter 1 Product Specifications ...
Страница 20: ...3 5 Subcompact Board GENE KBU6 Chapter 2 Chapter 2 Hardware Information ...
Страница 21: ...Chapter 2 Hardware Information 7 3 5 Subcompact Board GENE KBU6 2 1 Dimensions Component Side Component Side ...
Страница 22: ...Chapter 2 Hardware Information 8 3 5 Subcompact Board GENE KBU6 Solder Side with heat spreader Solder Side ...
Страница 23: ...Chapter 2 Hardware Information 9 3 5 Subcompact Board GENE KBU6 2 2 Jumpers and Connectors Component Side ...
Страница 69: ...Chapter 2 Hardware Information 55 3 5 Subcompact Board GENE KBU6 GENE KBU6 HSK02 Assembly ...
Страница 71: ...Chapter 2 Hardware Information 57 3 5 Subcompact Board GENE KBU6 GENE KBU6 FAN01 Assembly ...
Страница 72: ...Chapter 2 Hardware Information 58 3 5 Subcompact Board GENE KBU6 2 5 3 GENE KBU6 HSK03 Heatsink for DRAM ...
Страница 73: ...3 5 Subcompact Board GENE KBU6 Chapter 3 Chapter 3 AMI BIOS Setup ...
Страница 76: ...Chapter 3 AMI BIOS Setup 62 3 5 Subcompact Board GENE KBU6 3 3 Setup Submenu Main ...
Страница 77: ...Chapter 3 AMI BIOS Setup 63 3 5 Subcompact Board GENE KBU6 3 4 Setup Submenu Advanced ...
Страница 86: ...Chapter 3 AMI BIOS Setup 72 3 5 Subcompact Board GENE KBU6 3 4 5 SIO Configuration ...
Страница 96: ...Chapter 3 AMI BIOS Setup 82 3 5 Subcompact Board GENE KBU6 3 5 Setup Submenu Chipset ...
Страница 97: ...Chapter 3 AMI BIOS Setup 83 3 5 Subcompact Board GENE KBU6 3 5 1 System Agent SA Configuration ...
Страница 107: ...Chapter 3 AMI BIOS Setup 93 3 5 Subcompact Board GENE KBU6 3 8 Setup submenu Save Exit ...
Страница 108: ...3 5 Subcompact Board GENE KBU6 Chapter 4 Chapter 4 Drivers Installation ...
Страница 112: ...3 5 Subcompact Board GENE KBU6 Appendix A Appendix A Watchdog Timer Programming ...
Страница 117: ...3 5 Subcompact Board GENE KBU6 Appendix B Appendix B I O Information ...
Страница 118: ...Appendix B I O Information 104 3 5 Subcompact Board GENE KBU6 B 1 I O Address Map ...
Страница 119: ...Appendix B I O Information 105 3 5 Subcompact Board GENE KBU6 ...
Страница 120: ...Appendix B I O Information 106 3 5 Subcompact Board GENE KBU6 B 2 Memory Address Map ...
Страница 121: ...Appendix B I O Information 107 3 5 Subcompact Board GENE KBU6 B 3 IRQ Mapping Chart ...
Страница 122: ...Appendix B I O Information 108 3 5 Subcompact Board GENE KBU6 ...
Страница 123: ...Appendix B I O Information 109 3 5 Subcompact Board GENE KBU6 ...
Страница 124: ...Appendix B I O Information 110 3 5 Subcompact Board GENE KBU6 ...
Страница 125: ...Appendix B I O Information 111 3 5 Subcompact Board GENE KBU6 ...
Страница 126: ...Appendix B I O Information 112 3 5 Subcompact Board GENE KBU6 ...
Страница 127: ...Appendix B I O Information 113 3 5 Subcompact Board GENE KBU6 ...
Страница 128: ...Appendix B I O Information 114 3 5 Subcompact Board GENE KBU6 ...
Страница 129: ...Appendix B I O Information 115 3 5 Subcompact Board GENE KBU6 ...
Страница 130: ...Appendix B I O Information 116 3 5 Subcompact Board GENE KBU6 ...
Страница 131: ...Appendix B I O Information 117 3 5 Subcompact Board GENE KBU6 ...
Страница 132: ...3 5 Subcompact Board GENE KBU6 Appendix C Appendix C Electrical Specifications for I O Ports ...
Страница 134: ...3 5 Subcompact Board GENE KBU6 Appendix D Appendix D Digital I O Ports ...
Страница 141: ...3 5 Subcompact Board GENE KBU6 Appendix E Appendix E Mating Connectors and Cables ...