Polarity
SCPI Command :
SBUS<*>:NRZC:CLK:POLarity
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(serialBus=SerialBus.Default) Edge[source]
# SBUS<*>:NRZC:CLK:POLarity value: enums.Edge = driver.sbus.nrzc.clk.polarity.get(serialBus = repcap.SerialBus.Default)
Sets the polarity for the data line.
- Parameters:
serialBus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Sbus’)
- Returns:
clk_polarity: RISE | FALL | BOTH
RISE: Data is sampled at the rising edges of the clock signal.
FALL: Data is sampled at the falling edges of the clock signal.
BOTH: Data is sampled at the rising and falling edges of the clock signal.
- set(clk_polarity: Edge, serialBus=SerialBus.Default) None[source]
# SBUS<*>:NRZC:CLK:POLarity driver.sbus.nrzc.clk.polarity.set(clk_polarity = enums.Edge.BOTH, serialBus = repcap.SerialBus.Default)
Sets the polarity for the data line.
- Parameters:
clk_polarity –
RISE | FALL | BOTH
RISE: Data is sampled at the rising edges of the clock signal.
FALL: Data is sampled at the falling edges of the clock signal.
BOTH: Data is sampled at the rising and falling edges of the clock signal.
serialBus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Sbus’)