Polarity
SCPI Command :
BUS<*>:UART:POLarity
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(bus=Bus.Default) BusPolarityMode[source]
# BUS<*>:UART:POLarity value: enums.BusPolarityMode = driver.bus.uart.polarity.get(bus = repcap.Bus.Default)
Defines the idle state of the bus. The idle state corresponds to a logic 1. The transmitted data on the bus is high (high = 1) or low (low = 1) active.
- Parameters:
bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)
- Returns:
polarity: IDLLow | IDLHigh
- set(polarity: BusPolarityMode, bus=Bus.Default) None[source]
# BUS<*>:UART:POLarity driver.bus.uart.polarity.set(polarity = enums.BusPolarityMode.IDLHigh, bus = repcap.Bus.Default)
Defines the idle state of the bus. The idle state corresponds to a logic 1. The transmitted data on the bus is high (high = 1) or low (low = 1) active.
- Parameters:
polarity – IDLLow | IDLHigh
bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)