Gpio Programming - Acrosser Technology AR-V6002FL User Manual

Hide thumbs Also See for AR-V6002FL:
Table of Contents

Advertisement

4.2 GPIO Programming

This section describes the usage of GPIOs.
The electrical characteristics of GPIOs as following table:
To quickly understand the GPIO programming under Linux, we also provide a sample
application source code in product CD, naming gpio.c. It can be used to control GPIO pin
described above and also LED.
//===========================================================================
// Rev
Date
Name
//===========================================================================
// 1.1 06/30/10 Willy GPIO Test utility for W83627DHG.
//===========================================================================
//===========================================================================
// Turbo C++ Version 3.0 Copyright(c) 1990, 1992 by Borland International,Inc.
//===========================================================================
//===========================================================================
// Language include files
//===========================================================================
#include <conio.h>
#include <stdio.h>
PIN
Description
57
DEFINE
PIN
DEFINE
GPO0
GPO1
1
2
3
GPO2
4
GPO3
5
GND
6
GND
GND
GND
7
8
9
GND
10
GND
11
GPI4
12
GPI5
GPI6
GPI7
13
14
15
N.C
Revision: 1.0

Advertisement

Table of Contents
loading

Table of Contents