User manual

RIGOL Chapter 2 Command System
2-36 MSO7000/DS7000 Programming Guide
:BUS<n>:IIS:SOURce:WSELect
Syntax
:BUS<n>:IIS:SOURce:WSELect <source>
:BUS<n>:IIS:SOURce:WSELect?
Description
Sets or queries the audio channel of the I2S trigger.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2|3|4}
——
<source>
Discrete
{D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|D1
1|D12|D13|D14|D15|CHANnel1|CHANnel2|C
HANnel3|CHANnel4}
CHANnel1
Return
Format
The query returns D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14,
D15, CHAN1, CHAN2, CHAN3, or CHAN4.
Example
:BUS1:IIS:SOURce:WSELect CHANnel2 /*Sets the audio channel to CH2.*/
:BUS1:IIS:SOURce:WSELect? /*The query returns CHAN2.*/
:BUS<n>:IIS:ALIGnment
Syntax
:BUS<n>:IIS:ALIGnment <align>
:BUS<n>:IIS:ALIGnment?
Description
Sets or queries the alignment mode of the I2S decoding.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2|3|4}
——
<align>
Discrete
{IIS|RJ|LJ}
IIS
Remarks
IIS: first sends MSB of each sample data and then sends LSB.
RJ: data transmission (MSB first) is right-justified to the WS transition.
LJ: data transmission (MSB first) begins at the edge of the WS transition.
Return
Format
The query returns IIS, RJ, or LJ.
Example
:BUS1:IIS:ALIGnment RJ /*Sets the alignment mode of the I2S decoding to RJ.*/
:BUS1:IIS:ALIGnment? /*The query returns RJ.*/
:BUS<n>:IIS:CLOCk:SLOPe
Syntax
:BUS<n>:IIS:CLOCk:SLOPe <slope>
:BUS<n>:IIS:CLOCk:SLOPe?
Description
Sets or queries the clock edge type of I2S decoding.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2|3|4}
——
<slope>
Discrete
{NEGative|POSitive}
POSitive
Return
Format
The query returns POS or NEG.
Example
:BUS1:IIS:CLOCk:SLOPe NEGative /*Sets the clock edge of I2S decoding to
NEGative.*/
:BUS1:IIS:CLOCk:SLOPe? /*The query returns NEG.*/