Asus AAEON COM-SKUC6 User Manual page 96

Com express module
Hide thumbs Also See for AAEON COM-SKUC6:
Table of Contents

Advertisement

************************************************************************************
Main
VOID
(){
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(DIO0ToDIO7Reg, DIO3Bit);
// Procedure : AaeonSetOutputLevel
// Input :
//
Example, Set Digital I/O Pin 6 level
AaeonSetOutputLevel(DIO0ToDIO7Reg, DIO6Bit, DIO6Val);
}
************************************************************************************
Appendix C – Programming Digital I/O
83

Advertisement

Table of Contents
loading

This manual is also suitable for:

Aaeon com-kbuc6

Table of Contents