Pid
SCPI Command :
BUS<*>:USB:PACKet<*>:PID
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(bus=Bus.Default, busUsbPacket=BusUsbPacket.Default) BusUsbPid[source]
# BUS<*>:USB:PACKet<*>:PID value: enums.BusUsbPid = driver.bus.usb.packet.pid.get(bus = repcap.Bus.Default, busUsbPacket = repcap.BusUsbPacket.Default)
Returns the packet PID for the selected serial bus and packet number.
- Parameters:
bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)
busUsbPacket – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Packet’)
- Returns:
pid: RES | OUT | ACK | DATA0 | DATa0 | PING | SOF | NYET | DATA2 | DATa2 | SPLIT | SPLit | IN | NAK | DATA1 | DATa1 | PRE | SETUP | SETup | STALL | STALl | MDATA | MDATa | UNK
RES: RES = Reserved
OUT: OUT Token PID
IN: IN Token PID
SOF: Start Of Frame PID
SETUP = SETup: SETUP PID
DATA0 = DATa0: DATA0 PID, even PID
DATA1 = DATa1: DATA1 PID, odd PID
DATA2 = DATa2: DATA2 PID (only valid in USB high speed and USB HSIC protocols)
MDATA = MDATa: MDATA PID (only valid in USB high speed and USB HSIC protocols)
ACK: ACKnowledgment PID
NAK: Non-AcKnowledgment PID
STALL = STALl: STALL PID
NYET: Not ready YET (only valid in USB high speed and USB HSIC protocols)
PRE: PREamble PID (only valid in USB high speed and USB HSIC protocols)
SPLIT = SPLit: SPLIT PID (only valid in USB high speed and USB HSIC protocols)
PING: PING PID (only valid in USB high speed and USB HSIC protocols)
UNK: UNK = Unknown PID