7. LW3 Programmers' Reference
7.23. GPIO Port Configuration
INFO:
Use the GET command to query a parameter.
Parameters
Parameter
<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
<direction>
Direction of the GPIO pin
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>
Level value of the GPIO pin
Example
ç SET /MEDIA/GPIO/P1.Output=H
æ pw /MEDIA/GPIO/P1.Output=H
#gpio
Description
Value
Parameter value
I
Input
O
Output
Value
Parameter value
H
Logical high level
L
Logical low level
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
UMX-TPS-TX100 series – User's Manual
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
<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.
139
Description