Amode

SCPI Command :

TRIGger<*>:I2C:AMODe
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(trigger=Trigger.Default) AddressType[source]
# TRIGger<*>:I2C:AMODe
value: enums.AddressType = driver.trigger.i2C.amode.get(trigger = repcap.Trigger.Default)

Sets the address length. The setting affects the address input with method RsRtx.trigger.i2C.address.set() and method RsRtx.trigger.i2C.addTo.set() .

Parameters:

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

Returns:

address_type: BIT7 | BIT7_RW | BIT10 | ANY

  • BIT7: Enter the 7 address bits. Only available if BUSb:I2C:RWBit is set.

  • BIT7_RW: Enter 7 address bits and the R/W bit. Only available if BUSb:I2C:RWBit is set.

  • BIT10: 10-bit address

  • ANY: Only available for trigger type Address + data (TRIGgert:I2C:TYPE) . Used to trigger on data only, regardless of the address.

set(address_type: AddressType, trigger=Trigger.Default) None[source]
# TRIGger<*>:I2C:AMODe
driver.trigger.i2C.amode.set(address_type = enums.AddressType.ANY, trigger = repcap.Trigger.Default)

Sets the address length. The setting affects the address input with method RsRtx.trigger.i2C.address.set() and method RsRtx.trigger.i2C.addTo.set() .

Parameters:
  • address_type

    BIT7 | BIT7_RW | BIT10 | ANY

    • BIT7: Enter the 7 address bits. Only available if BUSb:I2C:RWBit is set.

    • BIT7_RW: Enter 7 address bits and the R/W bit. Only available if BUSb:I2C:RWBit is set.

    • BIT10: 10-bit address

    • ANY: Only available for trigger type Address + data (TRIGgert:I2C:TYPE) . Used to trigger on data only, regardless of the address.

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