User manual

GDS-2000A Programming Manual
156
Example
BUS1?
I2C,SPI,UART,Parallel
:BUS1:STATE
Set
Query
Description
Sets or queries the state of the bus.
Syntax
:BUS1:STATE { OFF | ON | ? }
Related
commands
:BUS1:TYPe
Parameter/Return
parameter
OFF
Turns the bus off.
ON
Turns the bus on.
Example
:BUS1:STATE ON
Turns the bus on.
:BUS1:TYPe
Set
Query
Description
Sets or queries the type of bus.
Syntax
:BUS1:TYPe { UART | I2C | SPI | PARallel | ? }
Related
commands
:BUS1:STATE
Parameter/Return
parameter
UART
Sets the bus to UART mode.
I2C
Sets the bus to I
2
C mode.
SPI
Sets the bus to SPI mode.
PARallel
Sets the bus to parallel mode.
Example
:BUS1:TYPe SPI
Sets the bus to SPI mode.