Currentfldinit(), Setfieldoffsetlen(), Currentfldinit() setfieldoffsetlen() – Teledyne LeCroy USB Script Decode Manual User Manual
Page 89
Advertising

83
C
HAPTER
14
CATC Scripting Language for USB
USB Decoders
(UnsignedCompare(AttModifier, low_limit) < 0) ||
(UnsignedCompare(AttModifier, high_limit) > 0) :
{
...
}
default : {attrm_chk_error = null; chk_attrmod_tlp
= null;}
};
CurrentFldInit()
CurrentFldInit()
Comments
This function performs necessary initialization routine for a field to be decoded. It
must be called before starting field decoding.
Example
CurrentFldInit();
SetFieldOffsetLen()
SetFieldOffsetLen(offset, len)
Comments
This function sets values for field (or subfield) length and offset from beginning of
field structure.
Example
SetFieldOffsetLen(24, 8);
Parameter
Meaning
Default Value
Comments
N/A
Parameter
Meaning
Default Value
Comments
offset
len
Advertising