
Indust ria l M o t herboa rd EMB-H61B
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);
}
************************************************************************************
Comentarios a estos manuales