Aaeon PFM-CVS Manual page 120

Hide thumbs Also See for PFM-CVS:
Table of Contents

Advertisement

P C / 1 0 4 M o d u l e
************************************************************************************
Main
VOID   
(){ 
 
Boolean PinStatus ; 
 
 
// Procedure : AaeonReadPinStatus 
 
// Input : 
 
// 
Example, Read Digital I/O Pin 3 status 
// Output : 
// 
InputStatus : 
// 
 
// 
 
 
PinStatus = AaeonReadPinStatus(DInput3LDN, DInput3Reg, DInput3Bit); 
 
 
// Procedure : AaeonSetOutputLevel 
 
// Input : 
 
// 
Example, Set Digital I/O Pin 6 level 
 
AaeonSetOutputLevel(DOutput6LDN, DOutput6Reg, DOutput6Bit, DOutput6Val); 
}
************************************************************************************
0: Digital I/O Pin level is low 
1: Digital I/O Pin level is High 
Appendix D Electrical Specifications for I/O Ports
P F M - C V S R e v . B
D-7

Advertisement

Table of Contents
loading

Table of Contents