Teledyne-lecroy USB Script Decode Manual Uživatelský manuál Strana 77

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 90
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 76
71
CHAPTER 14
CATC Scripting Language for USB USB Decoders
Example
PeekNBits_(16);
GetNBits_()
GetNBits_(offset, len)
Comments
This is a redefinition of the GetNBits primitive which increments field offset and
field length.
Example
GetNBits_(640, 4);
GetRangeBits()
GetRangeBits(start_bit, end_bit, source)
Comments
Extracts a range of bits from source starting from start_bit and ending at
end_bit. Most Significant Bit > Least Significant Bit order is used here.
Example
GetRangeBits(10, 15, peek_value);
GetBit()
GetBit(bit_needed, source)
Parameter Meaning Default Value Comments
offset
length
Parameter Meaning Default Value Comments
start_bit
end_bit
source integer
Parameter Meaning Default Value Comments
bit_needed
source integer
Zobrazit stránku 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 89 90

Komentáře k této Příručce

Žádné komentáře