ThrMid

SCPI Command :

BUS<*>:USBPd:THRMid
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(bus=Bus.Default) float[source]
# BUS<*>:USBPd:THRMid
value: float = driver.bus.usbPd.thrMid.get(bus = repcap.Bus.Default)

Sets the middle threshold (at default USB Type-C currnet) for the current advertisment mode.

Parameters:

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

Returns:

threshold_mid: -10 to 10

set(threshold_mid: float, bus=Bus.Default) None[source]
# BUS<*>:USBPd:THRMid
driver.bus.usbPd.thrMid.set(threshold_mid = 1.0, bus = repcap.Bus.Default)

Sets the middle threshold (at default USB Type-C currnet) for the current advertisment mode.

Parameters:
  • threshold_mid – -10 to 10

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