Teledyne-lecroy PETrainer Scripting Language Reference Manual Bedienungsanleitung Seite 17

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 89
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 16
Teledyne LeCroy PETrainer Scripting Language
12
3.1.4 TLPType = Cfgrd0, Cfgwr0, Cfgrd1, Cfgwr1
Parameter
Value
Default
Comment
LastDwBe
0:15
0
Byte 7 in the TLP header. See rules for
Last DW BE in the PCI Express
Specification.
FirstDwBe
0:15
0
Byte 7 in the TLP header. See rules for
1st DW BE in the PCI Express
Specification.
DeviceID
(XX:XX:X) or direct
value
0
Bytes 8-9 in the TLP header. This
parameter can be set in the following
format:
(BusNumber : DeviceNumber :
FunctionNumber)
Register
0
Bytes 10-11 in the TLP header.
Example 1:
This example reads the Capability Pointer from the device’s configuration space
(Bus Number 0, Device Number 2, Function Number 4).
Packet = TLP {
TLPType = CfgRd0
DeviceId = (0:2:4)
Register = 0x34
Length = 1
FirstDwBe = 0x1
}
Example 2:
This example writes to the Command Register of the device’s configuration space
(Bus Number 0, Device Number 0, Function Number 1).
Packet = TLP {
TLPType = CfgWr0
DeviceId = 1
Register = 0x04
Length = 1
FirstDwBe = 0x3
Payload = ( 0x03000000 )
}
Seitenansicht 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22 ... 88 89

Kommentare zu diesen Handbüchern

Keine Kommentare