Polarity

SCPI Command :

BUS<*>:I2S:DATA:POLarity
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(bus=Bus.Default) BusSpiI2cDataPolarity[source]
# BUS<*>:I2S:DATA:POLarity
value: enums.BusSpiI2cDataPolarity = driver.bus.i2S.data.polarity.get(bus = repcap.Bus.Default)

Defines the interpretation of high and low signal states on the data line.

Parameters:

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

Returns:

sdata_polarity: ACTHigh: HIGH = 1 and LOW = 0 ACTLow: HIGH = 0 and LOW = 1

set(sdata_polarity: BusSpiI2cDataPolarity, bus=Bus.Default) None[source]
# BUS<*>:I2S:DATA:POLarity
driver.bus.i2S.data.polarity.set(sdata_polarity = enums.BusSpiI2cDataPolarity.ACTHigh, bus = repcap.Bus.Default)

Defines the interpretation of high and low signal states on the data line.

Parameters:
  • sdata_polarity – ACTHigh: HIGH = 1 and LOW = 0 ACTLow: HIGH = 0 and LOW = 1

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