Справочник Пользователя для Rigol MSO1074Z-S 4-channel oscilloscope, Digital Storage oscilloscope, MSO1074Z-S
Модели
MSO1074Z-S
RIGOL
DS1000Z Programming Guide
2-125
:TRIGger:IIC:WHEN
Syntax
:TRIGger:IIC:WHEN <trig_type>
:TRIGger:IIC:WHEN?
:TRIGger:IIC:WHEN?
Description
Set or query the trigger condition in I2C trigger.
Parameter
Name
Type
Range
Default
<trig_type> Discrete {STARt|RESTart|STOP|NACKnowledge|ADD
Ress|DATA|ADATa}
STARt
Explanation
STARt: trigger when SDA data transitions from high to low while SCL is high.
RESTart: trigger when another start condition occurs before a stop condition.
STOP: trigger when SDA data transitions from low to high while SCL is high.
NACKnowledge: trigger when the SDA data is high during any acknowledgement
of 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.
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?
:TRIGger:IIC:AWIDth?
Description
Set or query the address bits when the trigger condition is ADDRess or ADATa in I2C
trigger.
Parameter
Name
Type
Range
Default
<bits>
Discrete {7|8|10}
7
Return Format
The query returns 7, 8 or 10.
Example
:TRIGger:IIC:AWIDth 10
Related
Command