Threshold

SCPI Command :

BUS<*>:I2C:SDA:THReshold
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(bus=Bus.Default) float[source]
# BUS<*>:I2C:SDA:THReshold
value: float = driver.bus.i2C.sda.threshold.get(bus = repcap.Bus.Default)

Sets a user-defined threshold value for the data line. Alternatively, you can set the threshold according to the signal technology with method RsRtx.bus.i2C.technology.set() .

Parameters:

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

Returns:

sdata_threshold: User-defined data threshold

set(sdata_threshold: float, bus=Bus.Default) None[source]
# BUS<*>:I2C:SDA:THReshold
driver.bus.i2C.sda.threshold.set(sdata_threshold = 1.0, bus = repcap.Bus.Default)

Sets a user-defined threshold value for the data line. Alternatively, you can set the threshold according to the signal technology with method RsRtx.bus.i2C.technology.set() .

Parameters:
  • sdata_threshold – User-defined data threshold

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