FrCondition

SCPI Command :

SBUS<*>:SPI:FRCondition
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(serialBus=SerialBus.Default) SbusFrameCondition[source]
# SBUS<*>:SPI:FRCondition
value: enums.SbusFrameCondition = driver.sbus.spi.frCondition.get(serialBus = repcap.SerialBus.Default)

Defines the start of a frame. A frame contains a number of successive words, at least one word.

Parameters:

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

Returns:

frame_condition: CS | CLKTimeout

  • CS: Start and end of the frame is defined by the active state of the sub select signal, see SBUSsb:SPI:CSELect:POLarity.

  • CLKTimeout: Defines a timeout on the clock line SCLK as limiter between two frames. The timeout condition is used for SPI connections without a CS line.

set(frame_condition: SbusFrameCondition, serialBus=SerialBus.Default) None[source]
# SBUS<*>:SPI:FRCondition
driver.sbus.spi.frCondition.set(frame_condition = enums.SbusFrameCondition.CLKTimeout, serialBus = repcap.SerialBus.Default)

Defines the start of a frame. A frame contains a number of successive words, at least one word.

Parameters:
  • frame_condition

    CS | CLKTimeout

    • CS: Start and end of the frame is defined by the active state of the sub select signal, see SBUSsb:SPI:CSELect:POLarity.

    • CLKTimeout: Defines a timeout on the clock line SCLK as limiter between two frames. The timeout condition is used for SPI connections without a CS line.

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