Asus AAEON COM-BYTC2 User Manual page 88

Com express module
Table of Contents

Advertisement

************************************************************************************
Boolean A aeonReadPinStatus(byte OptionReg, byte BitNum) {
Byte TempByte;
TempByte = ECBRAMReadByte(BRAMFnData1Reg, OptionReg);
If (TempByte & BitNum == 0)
Return 0;
Return 1;
}
VOID A aeonSetOutputLevel(byte OptionReg, byte BitNum, byte Value){
Byte TempByte;
TempByte = ECBRAMReadByte(BRAMFnData1Reg, OptionReg);
TempByte |= (Value << BitNum);
ECBRAMWriteByte(OptionReg, BitNum, Value);
}
************************************************************************************
Appendix C – Programming Digital I/O
76

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AAEON COM-BYTC2 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents