UCD Console for UCD-340 User Manual | Unigraf Oy
59.
The above command reads the error count for DP lane 1.
Example:
-c .read=TSI_VERSION_TEXT.bytes.1024;
The above command reads the version information (a maximum of 1024 bytes) and prints it
out.
Defining command macros
The
macros.tsi
text file is automatically read if found.
It should contain definitions of user-defined commands of the form (a mix of KVE’s and
macros delimited by semi-colons all on the SAME line):
MyMacro = Key0=Value0.Expression0; MyMacroA; Key1=Value1; MyMacroB;
where
MyMacro
is the new macro being defined,
MyMacroA
and
MyMacroB
are other
macros,
Key0
and
Key1
are configuration items, which are defined elsewhere in this manual.
Value0
and
Value1
are the values that are to be read or set for the configuration items. Macros
and KVE’s must be delimited with semi-colons.
An example of macros file is:
# this line is a comment and will be skipped by the macro definition parser.
# 2lanes macro: Disconnect CC lines, set roles for 2 lanes, make delay of
# 200ms and reconnect.
# “
→” means no newline character in actual script file.
2lanes = TSI_W_USBC_CABLE_CONTROL=6;
TSI_USBC_DP_ALT_MODE_SETUP=0x80000008;
→
TSI_W_SCRI_DELAY=200;TSI_W_USBC_CABLE_CONTROL=7;
# 4lanes macro: Disconnect CC lines, set roles for 4 lanes, make delay of
# 200ms and reconnect.
4lanes = TSI_W_USBC_CABLE_CONTROL=6;
TSI_USBC_DP_ALT_MODE_SETUP=0x80000012;
→
TSI_W_SCRI_DELAY=200; TSI_W_USBC_CABLE_CONTROL=7;
#set source timing colorspace and pattern.
setcolor_to_YCbCr444 = TSI_PG_CUSTOM_TIMING_FLAGS=1.startbit.11.length.4;
apply = TSI_W_PG_COMMAND=4;
set_timing_color_pattern = TSI_W_PG_PREDEF_TIMING_SELECT=3;
→
setcolor_to_YCbCr444; TSI_W_PG_PREDEF_PATTERN_SELECT=10; apply;
Summary of Contents for UCD-240
Page 1: ......
Page 76: ...UCD Console for UCD 340 User Manual Unigraf Oy 76 ...