RIGOL 2 Command System
2-268 DS2000E Programming Guide
:TRIGger:IIC:WHEN
Syntax
:TRIGger:IIC:WHEN <trig_type>
:TRIGger:IIC:WHEN?
Description
Set or query the trigger condition of I2C trigger.
Parameter
Name Type Range Default
<trig_type> Discrete {STARt|RESTart|STOP|NACKnowledge|ADDRess|DATA|ADATa} STARt
Explanation
STARt: trigger when SDA data transitions from high level to low level while SCL is high level.
RESTart: trigger when another start condition occurs before a stop condition.
STOP: trigger when SDA data transitions from low level to high level while SCL is high level.
NACKnowledge: trigger when the SDA data is high level during any acknowledgement of SCL clock
bit.
ADDRess: the trigger searches for the specified address value and trigger on the read/write bit.
DATA: the trigger searches for the specified data value on the SDA and trigger on th SCL jumping
edge of the last bit of the data.
ADATa: search for the specified address and data values at the same time and trigger when the
"Address" and "Data" conditions are met at the same time.
Return Format
The query returns STAR, REST, STOP, NACK, ADDR, DATA, or ADAT.