Aaeon EMB-A70M User Manual page 84

Mini-itx motherboard
Table of Contents

Advertisement

M i n i - I T X
************************************************************************************
Main
VOID   
(){ 
 
Boolean PinStatus ; 
 
 
// Procedure : AaeonReadPinStatus 
 
// Input : 
 
// 
Example, Read Digital I/O Pin 3 status 
// Output : 
// 
InputStatus : 
// 
 
// 
 
 
PinStatus = AaeonReadPinStatus(DIO3Reg, DIO3Bit); 
 
 
// Procedure : AaeonSetOutputLevel 
 
// Input : 
 
// 
Example, Set Digital I/O Pin 6 level 
 
AaeonSetOutputLevel(DIO6Reg, DIO6Bit, DIO6Val); 
}
************************************************************************************
0: Digital I/O Pin level is low 
1: Digital I/O Pin level is High 
Appendix D Electrical Specifications for I/O Ports
E M B - A 7 0 M
D-5

Advertisement

Table of Contents
loading

Table of Contents