RIGOL
:TRIGger:IIC:WHEN
Syntax
:TRIGger:IIC:WHEN <trig_type>
:TRIGger:IIC:WHEN?
Description
Set or query the trigger condition in I2C trigger.
Parameter
Name
<trig_type>
Explanation
Return Format
The query returns STAR, STOP, NACK, REST, ADDR, DATA or ADAT.
Example
:TRIGger:IIC:WHEN RESTart
:TRIGger:IIC:AWIDth
Syntax
:TRIGger:IIC:AWIDth <bits>
:TRIGger:IIC:AWIDth?
Description
Set or query the address bits when the trigger condition is ADDRess or ADATa in I2C
trigger.
Parameter
Return Format
The query returns 7, 8 or 10.
Example
:TRIGger:IIC:AWIDth 10
Related
:TRIGger:IIC:DIRection
Commands
:TRIGger:IIC:ADDRess
2-126
Type
Discrete
STARt: trigger when the SDA data transitions from high to low while the SCL is
high.
RESTart: trigger when another start condition occurs before a stop condition.
STOP: trigger when the SDA data transitions from low to high while the SCL is
high.
NACKnowledge: trigger when the SDA data is high during any acknowledgement
of the SCL clock position.
ADDRess: trigger on the clock (SCL) edge corresponding to the byte of data
(SDA) behind the preset address (Write, Read or R/W direction).
DATA: the trigger searches for the control byte value on the data line (SDA)
following which there is a reading bit and an acknowledgement bit and then
searches for the specified data value. When this event occurs, the oscilloscope
will trigger on the clock edge of the acknowledgement bit behind the data byte.
ADATa: trigger when the "Address" and "Data" conditions are met at the same
time.
Name
Type
<bits>
Discrete
Range
{STARt|RESTart|STOP|NACKnowledge|ADD
Ress|DATA|ADATa}
Range
{7|8|10}
Chapter 2 Command System
Default
STARt
Default
7
DS1000Z Programming Guide