RwbIt

SCPI Command :

BUS<*>:I2C:RWBit
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(bus=Bus.Default) BusConfig[source]
# BUS<*>:I2C:RWBit
value: enums.BusConfig = driver.bus.i2C.rwbIt.get(bus = repcap.Bus.Default)

Defines if the R/W bit of a 7-bit address is considered separately or as part of the address. 10-bit addresses are not affected. The setting defines which address lengths are available with method RsRtx.trigger.i2C.amode.set() .

Parameters:

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

Returns:

bus_config: SEParate | INADdress

  • SEParate: 7-bit address and separate R/W bit.

  • INADdress: 8-bit address with R/W bit included.

set(bus_config: BusConfig, bus=Bus.Default) None[source]
# BUS<*>:I2C:RWBit
driver.bus.i2C.rwbIt.set(bus_config = enums.BusConfig.INADdress, bus = repcap.Bus.Default)

Defines if the R/W bit of a 7-bit address is considered separately or as part of the address. 10-bit addresses are not affected. The setting defines which address lengths are available with method RsRtx.trigger.i2C.amode.set() .

Parameters:
  • bus_config

    SEParate | INADdress

    • SEParate: 7-bit address and separate R/W bit.

    • INADdress: 8-bit address with R/W bit included.

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