
7. LW3 Programmers’ Reference
UMX-TPS-TX100 series – User's Manual
139
Applied firmware packages: (UMX-TPS): v1.5.0b4 | (WP-UMX-TPS): v1.4.0b8 | (FP-UMX-TPS): v1.4.0b8 | LDC software: v2.5.6b2
7.23. GPIO Port Configuration
INFO:
Use the GET command to query a parameter.
#gpio
Parameters
Parameter
Description
<port>
GPIO port number (1..8). Example: P1
7.23.1.
Set the Direction of a GPIO Pin
Command and Response
ç
SET·/MEDIA/GPIO/
<port>
.Direction=
<direction>
æ
pw·/MEDIA/GPIO/
<port>
.Direction=
<direction>
Parameters
Identifier
Parameter description
Value
Parameter value
<direction>
Direction of the GPIO pin
I
Input
O
Output
Example
ç
SET /MEDIA/GPIO/P1.Direction=I
æ
pw /MEDIA/GPIO/P1.Direction=I
7.23.2.
Set the Output Level of a GPIO Pin
Command and Response
ç
SET·/MEDIA/GPIO/
<port>
.Output=
<value>
æ
pw·/MEDIA/GPIO/
<port>.
Output=
<value>
Parameters
Identifier
Parameter description
Value
Parameter value
<value>
Level value of the GPIO pin
H
Logical high level
L
Logical low level
Example
ç
SET /MEDIA/GPIO/P1.Output=H
æ
pw /MEDIA/GPIO/P1.Output=H
7.23.3.
Toggle the Level of a GPIO Pin
Command and Response
ç
CALL·/MEDIA/GPIO/
<port>
:toggle()
æ
mO·/MEDIA/GPIO/
<port>
:toggle
Example
ç
CALL·/MEDIA/GPIO/P1:toggle()
æ
mO
/MEDIA/GPIO/P1:toggle
Explanation
If the direction of the pin is input: the output value is toggled. If the direction of the pin is output: the output
value and the input value are toggled.
7.24.
EDID Management
Parameters
#edid
Parameter
Description
<emulated>
The emulated EDID memory of the desired input port. Example: E1.
<dynamic>
Dynamic EDID memory index. Example: D1
<user>
User EDID memory index. Example: U1
<factory>
Factory EDID memory index. Example: F1
7.24.1. Query the Emulated EDIDs
Command and Response
ç
GET·/EDID.EdidStatus
æ
pr·/EDID.EdidStatus=
<dynamic
|
user
|
factory>
:
<emulated>
;...;
<dynamic
|
user
|
factory>
:
<emulated>
Example
ç
GET /EDID.EdidStatus
æ
pr /EDID.EdidStatus=D1:E1;D1:E2;D1:E3;D1:E4
Emulated EDID memory for input port is listed with the EDID number that is currently emulated on the input.