Polarity
SCPI Command :
BUS<*>:SPI:MOSI:POLarity
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(bus=Bus.Default) BusSpiI2cDataPolarity[source]
# BUS<*>:SPI:MOSI:POLarity value: enums.BusSpiI2cDataPolarity = driver.bus.spi.mosi.polarity.get(bus = repcap.Bus.Default)
Selects whether transmitted data is high active (high = 1) or low active (low = 1) .
- Parameters:
bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)
- Returns:
mosi_polarity: ACTLow | ACTHigh
- set(mosi_polarity: BusSpiI2cDataPolarity, bus=Bus.Default) None[source]
# BUS<*>:SPI:MOSI:POLarity driver.bus.spi.mosi.polarity.set(mosi_polarity = enums.BusSpiI2cDataPolarity.ACTHigh, bus = repcap.Bus.Default)
Selects whether transmitted data is high active (high = 1) or low active (low = 1) .
- Parameters:
mosi_polarity – ACTLow | ACTHigh
bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)