FrCondition
SCPI Command :
BUS<*>:SPI:FRCondition
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(bus=Bus.Default) BusFrameCondition[source]
# BUS<*>:SPI:FRCondition value: enums.BusFrameCondition = driver.bus.spi.frCondition.get(bus = repcap.Bus.Default)
Defines the start of a frame. A frame contains a number of successive words, at least one word.
- Parameters:
bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)
- Returns:
frame_condition: SS | CLKTimeout
SS: Start and end of the frame is defined by the active state of the slave select signal, see BUSb:SPI:SSELect:POLarity.
CLKTimeout: Defines a timeout on the clock line SCLK as limiter between two frames. The timeout condition is used for SPI connections without an SS line.
- set(frame_condition: BusFrameCondition, bus=Bus.Default) None[source]
# BUS<*>:SPI:FRCondition driver.bus.spi.frCondition.set(frame_condition = enums.BusFrameCondition.CLKTimeout, bus = repcap.Bus.Default)
Defines the start of a frame. A frame contains a number of successive words, at least one word.
- Parameters:
frame_condition –
SS | CLKTimeout
SS: Start and end of the frame is defined by the active state of the slave select signal, see BUSb:SPI:SSELect:POLarity.
CLKTimeout: Defines a timeout on the clock line SCLK as limiter between two frames. The timeout condition is used for SPI connections without an SS line.
bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)