Main – AAEON EPIC-CV07 User Manual

Page 125

Advertising
background image

E P I C B o a r d

E P I C - C V 0 7

Appendix D Electrical Specifications for I/O Ports

D-9

************************************************************************************
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(DInput3LDNDInput3RegDInput3Bit); 

 

 

// Procedure : AaeonSetOutputLevel 

 

// Input : 

 

// 

Example, Set Digital I/O Pin 6 level

 

 

AaeonSetOutputLevel(DOutput6LDNDOutput6RegDOutput6Bit, DOutput6Val); 

}

************************************************************************************

Advertising