libsigrok  0.4.0
sigrok hardware access and backend library
Functions
trigger.c File Reference

Creating, using, or destroying triggers. More...

#include <config.h>
#include <libsigrok/libsigrok.h>
#include "libsigrok-internal.h"
+ Include dependency graph for trigger.c:

Go to the source code of this file.

Functions

struct sr_triggersr_trigger_new (const char *name)
 Create a new trigger. More...
 
void sr_trigger_free (struct sr_trigger *trig)
 Free a previously allocated trigger. More...
 
struct sr_trigger_stagesr_trigger_stage_add (struct sr_trigger *trig)
 Allocate a new trigger stage and add it to the specified trigger. More...
 
int sr_trigger_match_add (struct sr_trigger_stage *stage, struct sr_channel *ch, int trigger_match, float value)
 Allocate a new trigger match and add it to the specified trigger stage. More...
 

Detailed Description

Creating, using, or destroying triggers.

Definition in file trigger.c.