Aaeon PFM-CVS Manual page 107

Pc/104 module
Hide thumbs Also See for PFM-CVS:
Table of Contents

Advertisement

P C / 1 0 4 M o d u l e
}
Else(Read Digital Input?){
// Read Digital Input Status, High/Low ?
// Example :
// GPIO8x GPIOPinStatusRegister = 0x8A
// GPIO7x GPIOPinStatusRegister = 0x82
ByteData = f81866ReadByte(GPIOPinStatusRegister);
// If ByteDate = 0xF0
// GPIOx4~GPIOx7 Pin Status is High
}
aaeonSuperIOClose();
}
Void aaeonSuperIOOpen(){
aaeonioWritePortByte(F81866_INDEX, 0x87);
aaeonioWritePortByte(F81866_INDEX, 0x87);
}
Void aaeonSuperIOClose(){
aaeonioWritePortByte(F81866_INDEX, 0xaa);
}
P F M - C V S
// Config F81866 Entry key
Appendix D Electrical Specifications for I/O Ports
D-7

Advertisement

Table of Contents
loading

Table of Contents