Gpio Control Functions For Beta903A - Bolymin BETA903A User Manual

Mobile data terminal
Table of Contents

Advertisement

4.6.2.

GPIO control functions for BETA903A

GetGPInput Function: Get current status of specified GPIO.
Syntax
Parameters
Return value
SetGPOutputFunction: Set value of specified GP Output.
Syntax
Parameters
Return value
BETA903A USER MANUAL
BOOL GetGPInput (
int gpio_index
);
gpio_index
The index of specified GPIO. Refer to section 4.6.3 for
the value definition.
TRUE: Current status of specified GPIO is HIGH.
FALSE: Current status of specified GPIO is LOW.
void GetGPOutput (
int gpio_index,
BOOL value
);
gpio_index
The index of specified GP output. Refer to section 4.6.3
for the value definition.
Value
New value of specified GP output.
TRUE: Set specified GP output to HIGH.
FALSE: Set specified GP output to LOW.
None
- 91 -

Advertisement

Table of Contents
loading

Table of Contents