Bus1:i2c:address:rwinclude, Bus1:i2c:sclk:source – GW Instek GDS-2000A series Programming Manual User Manual

Page 171

Advertising
background image

COMMAND DETAILS

171

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.

:BUS1:I2C:ADDRess:RWINClude

Description

Sets or queries whether the read/write bit is
included in the I

2

C address.

Syntax

:BUS1:I2C:ADDRess:RWINClude { OFF | ON | ? }

Related
commands

:BUS1:STATE

Parameter

OFF

The R/W is not included.

ON

The R/W is included.

Return parameter 0

The R/W is not included.

1

The R/W is included.

Example

:BUS1:I2C:ADDRess:RWINClude ON
Includes the R/W bit in the I

2

C address.

:BUS1:I2C:SCLK:SOURce

Description

Sets or queries which channel is used for the I

2

C

SCLK source.

Syntax

:BUS1:I2C:SCLK:SOURce { D0 | D1 | D2 | D3 | D4 | D5
| D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15
| ? }

Parameter/Return
parameter

D0 to D15

Digital channels D0 to D15

Set

Query

Set

Query

Advertising