Main – AAEON EMB-A70M User Manual
Page 84
Advertising
M i n i - I T X
E M B - A 7 0 M
Appendix D Electrical Specifications for I/O Ports
D-5
************************************************************************************
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(DIO3Reg, DIO3Bit);
// Procedure : AaeonSetOutputLevel
// Input :
//
Example, Set Digital I/O Pin 6 level
AaeonSetOutputLevel(DIO6Reg, DIO6Bit, DIO6Val);
}
************************************************************************************
Advertising