UNI-T
UPO 3000E&UPO2000E Series Oscilloscope Programming Manual
Query return{MOSI | MISO | ANY}
。
For example:
:SBUS:SPI:TRIGger:TYPE MOSI
set trigger mode of SPI bus as MOSI
:SBUS:SPI:TRIGger:TYPE?
query return MOSI
:SBUS:SPI:TRIGger:TIMeout
Command format:
:SBUS:SPI:TRIGger:TIMeout <vlaue>
:SBUS:SPI:TRIGger:TIMeout?
Functional description:
Set timeout of SPI bus trigger, parameter type is integer.
<vlaue> equal to n * 4ns and value not exceed range [100ns,1s) .n range [25,25*10^8].
Return format:
Query return timeout value of trigger by scientific notation method
,
unit is s.
For example:
:SBUS:SPI:TRIGger:TIMeout 100ns
set timeout of SPI bus trigger as 100ns
:SBUS:SPI:TRIGger:TIMeout?
query return 1.000e-007
:SBUS:SPI:DATA
Command format:
:SBUS:SPI:DATA <value>
:SBUS:SPI:DATA?
Functional description:
Set SPI bus data, parameter is character string of 0x format
,
data range
0x0~0xFFFFFFFFFFFFFFFF.
Return format:
Query return data of character string of 0x format.
For example:
:SBUS:SPI:DATA "0xFFFFF"
set SPI bus data as 0xFFFFF
:SBUS:SPI:DATA?
query return 0xFFFFF
:SBUS:SPI:QUALifier
Command format:
:SBUS:SPI:QUALifier {CS | CS&MOSI | CS&MISO | CS&ANY |
IDLE |
IDLE&MOSI |
IDLE&MISO | IDLE&ANY}
:SBUS:SPI:QUALifier?