
7.LW3Programmer'sReference
HDMI-TPS-TX200series–User'sManual
120
Appliedfirmwarepackage:v1.3.2b3 | LDCsoftware:v2.5.7b2
7.22. GPIO Port Configuration
INFO:
UsetheGETcommandtoqueryaparameter.
7.22.1.
Setting the Direction of a GPIO Pin
Command and Response
ç
SET·/MEDIA/GPIO/
<port>
.Direction(
<
dir
>
)
æ
pw·/MEDIA/GPIO/
<port>
.Direction(
<dir>
)
Parameters
Identifier
Parameterdescription
Parametervalues
<dir>
ThedirectionoftheGPIOpin.
I
:input,
O
:output
Example
ç
SET/MEDIA/GPIO/P1.Direction=I
æ
pw/MEDIA/GPIO/P1.Direction=I
7.22.2.
Setting the Output Level of a GPIO Pin
Command and Response
ç
SET·/MEDIA/GPIO/
<port>
.Output(
<
value
>
)
æ
pw·/MEDIA/GPIO/
<port>
.Output(
<value>
)
Parameters
Identifier
Parameterdescription
Parametervalues
<value>
TheoutputvalueoftheGPIOpin.
H
:highlevel,
L
:lowlevel
Example
ç
SET/MEDIA/GPIO/P1.Direction=I
æ
pw/MEDIA/GPIO/P1.Direction=I
7.22.3.
Toggling the Level of a GPIO Pin
Theoutputlevelcanbechangedfromhightolowandlowtohighbythecommandbelow.
Command and Response
ç
CALL·/MEDIA/GPIO/
<port>
:toggle()
æ
mO·/MEDIA/GPIO/
<port>
:toggle
Example
ç
CALL/MEDIA/GPIO/P1:toggle()
æ
mO/MEDIA/GPIO/P1:toggle
7.23.
EDID Management
7.23.1. Querying the Emulated EDIDs
Command and Response
#edid
ç
GET·/EDID.EdidStatus
æ
pr·/EDID.EdidStatus(
<I1_state>
;
<I2_state>
;...;
<In_state>
)
Parameters
TheresponserepresentstheemulatedEDIDontheinputportsgroupedbydestinations.Thestructureofthe
<I#_state>
parametersisthesame:
<Emulated_EDID_loc>
:
<source_port>
Identifier
Parameterdescription
Parametervalues
<Emulated_EDID_loc>
The location of the emulated
EDID.
D1-D#:
dynamic EDIDs
U1-U#
:UserEDIDs
F1-F#
:FactoryEDIDs
Seethe
<source_port>
The input port where the
above EDID is emulated.
E1-E#
:Input(source)portlocation,seethe
Example
ç
GET/EDID.EdidStatus
æ
pr/EDID.EdidStatus=D1:E1;D1:E2;D1:E3;D1:E4
7.23.2. Querying the Validity of a Dynamic EDID
Command and Response
ç
GET·/EDID/D/
<loc>
.Valildity
æ
pr·/EDID/D/
<loc>
.
Validity=
<EDID_val>
Parameters
Identifier
Parameterdescription
Parametervalues
<loc>
The location of the EDID.
D1-D#:
dynamic EDID location
<EDID_val>
ShowsifavalidEDIDis
storedinthegivenlocation.
true
:theEDIDisvalid
false
:theEDIDisinvalid
Example
ç
GET/EDID/D/D1.Validity
æ
pr/EDID/D/D1.Validty=true