RIGOL 2 Command System
2-36 DS2000E Programming Guide
:BUS<n>:SPI:SDA:SOURce
Syntax
:BUS<n>:SPI:SDA:SOURce <sour>
:BUS<n>:SPI:SDA:SOURce?
Description
Set or query the data channel source of SPI decoding on the specified bus.
Parameter
Name Type Range Default
<n> Discrete {1|2} --
<sour> Discrete {CHANnel1|CHANnel2} CHANnel2
Return Format
The query returns CHAN1 or CHAN2.
:BUS<n>:SPI:SDA:POLarity
Syntax
:BUS<n>:SPI:SDA:POLarity <pos>
:BUS<n>:SPI:SDA:POLarity?
Description
Set or query the polarity of the SDA data line of SPI decoding on the specified bus.
Parameter
Name Type Range Default
<n> Discrete {1|2} --
<pos> Discrete {HIGH|LOW} HIGH
Explanation
HIGH: low level is 0; high level is 1. LOW: high level is 0; low level is 1.
Return Format
The query returns HIGH or LOW.