TypePy

SCPI Command :

TRIGger<*>:SPI:TYPE
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(trigger=Trigger.Default) BusSpiType[source]
# TRIGger<*>:SPI:TYPE
value: enums.BusSpiType = driver.trigger.spi.typePy.get(trigger = repcap.Trigger.Default)

Selects the trigger type for SPI analysis.

Parameters:

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

Returns:

type_py: SSACtive | TIMeout | MOSI | MISO | MOMI

  • SSACtive: Start of the message: slave select signal SS changes to the active state.

  • TIMeout: Triggers on the next message start after the ‘Timeout’ time.

  • MOSI: Triggers on a specified data pattern in that is expected on the MOSI line. Define the pattern with TRIGgert:SPI:MOSipattern.

  • MISO: Triggers on a specified data pattern in that is expected on the MISO line. Define the pattern with TRIGgert:SPI:MISopattern

  • MOMI: Triggers on a specified data patterns on the MISO and MISO lines.

set(type_py: BusSpiType, trigger=Trigger.Default) None[source]
# TRIGger<*>:SPI:TYPE
driver.trigger.spi.typePy.set(type_py = enums.BusSpiType.MISO, trigger = repcap.Trigger.Default)

Selects the trigger type for SPI analysis.

Parameters:
  • type_py

    SSACtive | TIMeout | MOSI | MISO | MOMI

    • SSACtive: Start of the message: slave select signal SS changes to the active state.

    • TIMeout: Triggers on the next message start after the ‘Timeout’ time.

    • MOSI: Triggers on a specified data pattern in that is expected on the MOSI line. Define the pattern with TRIGgert:SPI:MOSipattern.

    • MISO: Triggers on a specified data pattern in that is expected on the MISO line. Define the pattern with TRIGgert:SPI:MISopattern

    • MOMI: Triggers on a specified data patterns on the MISO and MISO lines.

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