Polarity
SCPI Command :
SBUS<*>:SPI:MOSI:POLarity
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(serialBus=SerialBus.Default) SbusSpiCsPolarity[source]
# SBUS<*>:SPI:MOSI:POLarity value: enums.SbusSpiCsPolarity = driver.sbus.spi.mosi.polarity.get(serialBus = repcap.SerialBus.Default)
Selects if the transmitted signal for the respective line is active high (high = 1) or active low (low = 1) .
- Parameters:
serialBus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Sbus’)
- Returns:
mosi_polarity: ACTLow | ACTHigh
- set(mosi_polarity: SbusSpiCsPolarity, serialBus=SerialBus.Default) None[source]
# SBUS<*>:SPI:MOSI:POLarity driver.sbus.spi.mosi.polarity.set(mosi_polarity = enums.SbusSpiCsPolarity.ACTHigh, serialBus = repcap.SerialBus.Default)
Selects if the transmitted signal for the respective line is active high (high = 1) or active low (low = 1) .
- Parameters:
mosi_polarity – ACTLow | ACTHigh
serialBus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Sbus’)