Cpolarity
SCPI Command :
BUS<*>:CMSB:NRZ:CPOLarity
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(bus=Bus.Default) BusPolarityMode[source]
# BUS<*>:CMSB:NRZ:CPOLarity value: enums.BusPolarityMode = driver.bus.cmsb.nrz.cpolarity.get(bus = repcap.Bus.Default)
Selects the polarity of the clock signal for the coding standard NRZ Clocked.
- Parameters:
bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)
- Returns:
cpol_mode: IDLLow | IDLHigh
IDLLow: Sets the base value of the clock to be ‘0’, the clock signal starts with a low-to-high transition
IDLHigh: Sets the base value of the clock to be ‘1’, the clock signal starts with a high-to-low transition.
- set(cpol_mode: BusPolarityMode, bus=Bus.Default) None[source]
# BUS<*>:CMSB:NRZ:CPOLarity driver.bus.cmsb.nrz.cpolarity.set(cpol_mode = enums.BusPolarityMode.IDLHigh, bus = repcap.Bus.Default)
Selects the polarity of the clock signal for the coding standard NRZ Clocked.
- Parameters:
cpol_mode –
IDLLow | IDLHigh
IDLLow: Sets the base value of the clock to be ‘0’, the clock signal starts with a low-to-high transition
IDLHigh: Sets the base value of the clock to be ‘1’, the clock signal starts with a high-to-low transition.
bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)