Token

SCPI Command :

TRIGger<*>:USB:TOKen
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(trigger=Trigger.Default) BusUsbTokenType[source]
# TRIGger<*>:USB:TOKen
value: enums.BusUsbTokenType = driver.trigger.usb.token.get(trigger = repcap.Trigger.Default)

Sets the trigger to one out of four different token types: OUT, IN, SOF, or SETup.

Parameters:

trigger – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Trigger’)

Returns:

usb_token_type: OUT | IN | SOF | SETup

  • OUT: Sets the trigger to the OUT token (OUT packet from host to device) .

  • IN: Sets the trigger to the IN token (IN packet from device to host) .

  • SOF: Sets the trigger to the SOF token (start of frame marker and frame number) .

  • SETup: Sets the trigger to the SETUP token (address and endpoint number in OUT transaction for setup to a control pipe) .

set(usb_token_type: BusUsbTokenType, trigger=Trigger.Default) None[source]
# TRIGger<*>:USB:TOKen
driver.trigger.usb.token.set(usb_token_type = enums.BusUsbTokenType.ANY, trigger = repcap.Trigger.Default)

Sets the trigger to one out of four different token types: OUT, IN, SOF, or SETup.

Parameters:
  • usb_token_type

    OUT | IN | SOF | SETup

    • OUT: Sets the trigger to the OUT token (OUT packet from host to device) .

    • IN: Sets the trigger to the IN token (IN packet from device to host) .

    • SOF: Sets the trigger to the SOF token (start of frame marker and frame number) .

    • SETup: Sets the trigger to the SETUP token (address and endpoint number in OUT transaction for setup to a control pipe) .

  • trigger – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Trigger’)