RIGOL
:BUS<n>:SPI:SS:POLarity
Syntax
:BUS<n>:SPI:SS:POLarity <polarity>
:BUS<n>:SPI:SS:POLarity?
Description
Sets or queries the polarity of CS line of SPI decoding.
Parameter
Name
<n>
<polarity>
Remarks
HIGH: indicates that the oscilloscope samples data of the source channel of data
line on the specified edge of the clock signal when the CS signal is high level.
LOW: indicates that the oscilloscope samples data of the source channel of data
line on the specified edge of the clock signal when the CS signal is low level.
Return
The query returns HIGH or LOW.
Format
Example
:BUS1:SPI:SS:POLarity HIGH /*Sets the polarity of CS line of SPI decoding to HIGH.*/
:BUS1:SPI:SS:POLarity?
2-28
Type
Range
Discrete
{1|2|3|4}
Discrete
{HIGH|LOW}
/*The query returns HIGH.*/
Chapter 2 Command System
Default
——
LOW
MSO7000/DS7000 Programming Guide