AND-DNV3N3 Series
36
Acrosser Technology Co., Ltd.
4.2.
File Descriptions
4.2.1. GPIO/Watchdog/LAN Bypass Subsystem Module
1. TestUtility.exe
The GPIO,Watchdog , Lan Bypass,. Console user interface bin binary.
2. Libw83627.h
This file includes the declarations of the APIs and macro definitions.
3. Libw83627.a
The static library for linux.
4. Libw83627.so
The dynamic library for linux.
5. Install_driver
This file is linux shell script file. Run this file can help you install environment and
modprobe driver on linux.
6.
readme
Use this utility first. Please read the readme file first.
4.3. API List and Descriptions
4.3.1. GPIO
Syntax:
Get_gpi_status(int pin)
Description:
Get the status of GPIO input pins status.
Parameters:
This function fills in an integer variable as the parameter.
The pin0 ~ pin1 is the status of the input pins.
Return Value:
1: HIGH, 0: LOW.
Syntax:
Get_gpo_status(int pin)
Description:
Get the status of GPIO output pins status.
Parameters:
This function fills in an integer variable as the parameter.
The pin0 ~ pin1 is the status of the output pins.
Return Value:
1: HIGH, 0: LOW.