Main – AAEON EMB-H61B User Manual
Page 78
Advertising
I n d u s t r i a l M o t h e r b o a r d
E M B - H 6 1 B
Appendix C Electrical Specifications for I/O Ports
C-6
************************************************************************************
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(DInput3LDN, DInput3Reg, DInput3Bit);
// Procedure : AaeonSetOutputLevel
// Input :
//
Example, Set Digital I/O Pin 6 level
AaeonSetOutputLevel(DOutput6LDN, DOutput6Reg, DOutput6Bit,
DOutput6Val);
}
************************************************************************************
Advertising