libsigrok  0.4.0
sigrok hardware access and backend library
Data Fields
sr_trigger_match Struct Reference

A channel to match and what to match it on. More...

#include <libsigrok.h>

+ Collaboration diagram for sr_trigger_match:

Data Fields

struct sr_channelchannel
 The channel to trigger on. More...
 
int match
 The trigger match to use. More...
 
float value
 If the trigger match is one of SR_TRIGGER_OVER or SR_TRIGGER_UNDER, this contains the value to compare against. More...
 

Detailed Description

A channel to match and what to match it on.

Definition at line 422 of file libsigrok.h.

Field Documentation

struct sr_channel* sr_trigger_match::channel

The channel to trigger on.

Definition at line 424 of file libsigrok.h.

Referenced by sr_trigger_match_add().

int sr_trigger_match::match

The trigger match to use.

For logic channels, only the following matches may be used: SR_TRIGGER_ZERO SR_TRIGGER_ONE SR_TRIGGER_RISING SR_TRIGGER_FALLING SR_TRIGGER_EDGE

For analog channels, only these matches may be used: SR_TRIGGER_RISING SR_TRIGGER_FALLING SR_TRIGGER_OVER SR_TRIGGER_UNDER

Definition at line 440 of file libsigrok.h.

Referenced by sr_trigger_match_add().

float sr_trigger_match::value

If the trigger match is one of SR_TRIGGER_OVER or SR_TRIGGER_UNDER, this contains the value to compare against.

Definition at line 443 of file libsigrok.h.

Referenced by sr_trigger_match_add().


The documentation for this struct was generated from the following file: