beautypg.com

Acrosser AR-V5430FLAT User Manual

Page 37

background image

AR-V5430FL Installation Guide

CN1

POWER TO GPS (Global-Sat ET-332
module)

PIN

DEFINE

1

+12V

2

GND

3

GND

4

+5V


AR-B2012 GPIO board Software API Guide

InitGPIO( )
This function is used to set GPIO pin function. You have to call this function before
doing any GPIO actions. This function has no return value.

SetLevel(unsigned char pin, enum _level level)
This function is used to set GPO pin output level. Please refer to Appendix A for the
definition of GPO pin.
Return value:
0: Success
1: Fail

GetLevel(unsigned char pin, enum _level *level)
This function is used to get GPI pin output level. Please refer to Appendix A for the
definition of GPI pin.
Return value:
0: Success
1: Fail


Appendix A:

Input pin: 0,1,2,3

37/39

Output pin: 4,5,6,7




This manual is related to the following products: