Main – AAEON AIS-E1-H61A User Manual

Page 107

Advertising
background image

A d v a n c e d S ys t e m

C o n t r o l l e r

A I S - E 1 - H 6 1 A

Appendix D Electrical Specifications for I/O Ports

D-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);

}
************************************************************************************

Advertising