![Rigol DS4000E Series Скачать руководство пользователя страница 45](http://html1.mh-extra.com/html/rigol/ds4000e-series/ds4000e-series_programming-manual_1460996045.webp)
RIGOL
DS4000E Programming Guide
2-33
:BUS<n>:SPI:MOSI:POLarity
Syntax
:BUS<n>:SPI:MOSI:POLarity <pol>
:BUS<n>:SPI:MOSI:POLarity?
Description
Sets or queries the polarity of MOSI data line of SPI decoding on the specified bus.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2}
--
<pol>
Discrete
{HIGH|LOW}
HIGH
Remarks
If the source channel of MOSI data line of SPI decoding on the specified bus is not set (refer to
the :BUS<n>:SPI:MOSI:SOURce command), the :BUS<n>:SPI:MOSI:POLarity <pol> command is
invalid.
LOW: indicates that low level is 1 and high level is 0.
HIGH: indicates that high level is 1 and low level is 0.
Return Format
The query returns HIGH or LOW.
:BUS<n>:SPI:MOSI:SOURce
Syntax
:BUS<n>:SPI:MOSI:SOURce <source>
:BUS<n>:SPI:MOSI:SOURce?
Description
Sets or queries the source channel of MOSI data line of SPI decoding on the specified bus.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2}
--
<source> Discrete
{CHANnel1|CHANnel2|CHANnel3|CHANnel4|OFF}
OFF
Remarks
When <source> is set to "OFF", it indicates that the source channel of MOSI data line is not set.
If <source> is set to "CHANnel1", "CHANnel2", "CHANnel3", or "CHANnel4", you can use
the :BUS<n>:SPI:MOSI:THReshold command to set the threshold of the source channel of MOSI data
line.
The source channels of MISO data line (refer to the :BUS<n>:SPI:MISO:SOURce command) and MOSI
data line cannot be both set to "OFF".
Return Format
The query returns CHAN1, CHAN2, CHAN3, CHAN4, or OFF.
Содержание DS4000E Series
Страница 1: ...RIGOL Programming Guide DS4000E Series Digital Oscilloscope Aug 2016 RIGOL TECHNOLOGIES INC...
Страница 2: ......
Страница 266: ...RIGOL Chapter 3 Programming Examples 3 6 DS4000E Programming Guide...
Страница 270: ...RIGOL Chapter 3 Programming Examples 3 10 DS4000E Programming Guide...