Polarity

SCPI Command :

BUS<*>:CMSB:NRZ:POLarity
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(bus=Bus.Default) BusSpiI2cDataPolarity[source]
# BUS<*>:CMSB:NRZ:POLarity
value: enums.BusSpiI2cDataPolarity = driver.bus.cmsb.nrz.polarity.get(bus = repcap.Bus.Default)

Selects the polarity of the custom serial bus data signal in NRZ coding standards.

Parameters:

bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)

Returns:

nrz_pola_dat: ACTLow | ACTHigh

  • ACTLow: Active low: the value ‘1’ is represented by a voltage below the threshold

  • ACTHigh: Active high: the value ‘1’ is represented by a voltage above the threshold

set(nrz_pola_dat: BusSpiI2cDataPolarity, bus=Bus.Default) None[source]
# BUS<*>:CMSB:NRZ:POLarity
driver.bus.cmsb.nrz.polarity.set(nrz_pola_dat = enums.BusSpiI2cDataPolarity.ACTHigh, bus = repcap.Bus.Default)

Selects the polarity of the custom serial bus data signal in NRZ coding standards.

Parameters:
  • nrz_pola_dat

    ACTLow | ACTHigh

    • ACTLow: Active low: the value ‘1’ is represented by a voltage below the threshold

    • ACTHigh: Active high: the value ‘1’ is represented by a voltage above the threshold

  • bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)