Appendix C – Digital I/O Ports
116
3.5
” S
ub
co
mp
act
Bo
ard
G
ENE
-B
SW
5
PinStatus = AaeonReadPinStatus(Pin3Bit);
// Procedure : AaeonSetOutputLevel
// Input :
//
Example, Set Digital I/O Pin 2 to high level
AaeonSetOutputLevel(Pin2Bit, PinHigh);
}
**************************************************************************
**************************************************************************
Boolean AaeonReadPinStatus(byte PinBit){
Boolean PinStatus ;
PinStatus = SIOBitRead(DIOLDN, StatusReg_L, PinBit);
Return PinStatus ;
}
VOID AaeonSetOutputLevel(byte PinBit, byte Value){
ConfigDioMode(PinBit, OutputPin);
SIOBitSet(DIOLDN, OutputReg_L, PinBit, Value);
}
********************************************************************************
********************************************************************************VOID
SIOEnterMBPnPMode(){
IOWriteByte(SIOIndex, 0x87);
IOWriteByte(SIOIndex, 0x87);
}
VOID SIOExitMBPnPMode(){
IOWriteByte(SIOIndex, 0xAA);
}
VOID SIOSelectLDN(byte LDN){
IOWriteByte(SIOIndex, 0x07);
// SIO LDN Register Offset = 0x07
IOWriteByte(SIOData, LDN);
}
VOID SIOBitSet(byte LDN, byte Register, byte BitNum, byte Value){
Byte TmpValue;
SIOEnterMBPnPMode();
SIOSelectLDN(LDN);
IOWriteByte(SIOIndex, Register);
Summary of Contents for AAEON GENE-BSW5
Page 1: ...Last Updated May 23 2017 GENE BSW5 3 5 Subcompact Board User s Manual 4th Ed ...
Page 15: ...3 5 Subcompact Board GENE BSW5 Chapter 1 Chapter 1 Product Specifications ...
Page 19: ...3 5 Subcompact Board GENE BSW5 Chapter 2 Chapter 2 Hardware Information ...
Page 21: ...Chapter 2 Hardware Information 7 3 5 Subcompact Board GENE BSW5 Solder Side Solder Side ...
Page 23: ...Chapter 2 Hardware Information 9 3 5 Subcompact Board GENE BSW5 Solder Side Solder Side ...
Page 25: ...Chapter 2 Hardware Information 11 3 5 Subcompact Board GENE BSW5 Solder Side Solder Side ...
Page 27: ...Chapter 2 Hardware Information 13 3 5 Subcompact Board GENE BSW5 Solder Side Solder Side ...
Page 28: ...Chapter 2 Hardware Information 14 3 5 Subcompact Board GENE BSW5 2 3 Block Diagram ...
Page 69: ...Chapter 2 Hardware Information 55 3 5 Subcompact Board GENE BSW5 ...
Page 70: ...3 5 Subcompact Board GENE BSW5 Chapter 3 Chapter 3 AMI BIOS Setup ...
Page 105: ...3 5 Subcompact Board GENE BSW5 Chapter 4 Chapter 4 Drivers Installation ...
Page 112: ...Chapter 4 Driver Installation 98 3 5 Subcompact Board GENE BSW5 ...
Page 116: ...3 5 Subcompact Board GENE BSW5 Appendix A Appendix A Watchdog Timer Programming ...
Page 121: ...3 5 Subcompact Board GENE BSW5 Appendix B Appendix B I O Information ...
Page 122: ...Appendix B I O Information 108 3 5 Subcompact Board GENE BSW5 B 1 I O Address Map ...
Page 123: ...Appendix B I O Information 109 3 5 Subcompact Board GENE BSW5 B 2 Memory Address Map ...
Page 124: ...Appendix B I O Information 110 3 5 Subcompact Board GENE BSW5 B 3 IRQ Mapping Chart ...
Page 125: ...3 5 Subcompact Board GENE BSW5 Appendix C Appendix C Digital I O Ports ...
Page 132: ...Appendix C Digital I O Ports 118 3 5 Subcompact Board GENE BSW5 ...
Page 133: ...3 5 Subcompact Board GENE BSW5 Appendix D Appendix C Notes for Users ...