libsigrok  0.3.0
sigrok hardware access and backend library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Fields
sr_channel Struct Reference

Information on single channel. More...

#include <libsigrok.h>

+ Collaboration diagram for sr_channel:

Data Fields

int index
 Number of channels, starting at 0. More...
 
int type
 Channel type (SR_CHANNEL_LOGIC, ...) More...
 
gboolean enabled
 Is this channel enabled? More...
 
char * name
 Name of channel. More...
 
char * trigger
 Trigger string, format like used by sigrok-cli. More...
 

Detailed Description

Information on single channel.

Definition at line 537 of file libsigrok.h.

Field Documentation

gboolean sr_channel::enabled

Is this channel enabled?

Definition at line 543 of file libsigrok.h.

Referenced by sr_dev_channel_enable(), sr_parse_triggerstring(), and sr_session_save().

int sr_channel::index

Number of channels, starting at 0.

Definition at line 539 of file libsigrok.h.

Referenced by sr_dev_channel_enable(), sr_dev_channel_name_set(), sr_dev_trigger_set(), and sr_parse_triggerstring().

char* sr_channel::name

Name of channel.

Definition at line 545 of file libsigrok.h.

Referenced by sr_dev_channel_name_set(), sr_parse_triggerstring(), and sr_session_save().

char* sr_channel::trigger

Trigger string, format like used by sigrok-cli.

Definition at line 547 of file libsigrok.h.

Referenced by sr_dev_trigger_set(), and sr_parse_triggerstring().

int sr_channel::type

Channel type (SR_CHANNEL_LOGIC, ...)

Definition at line 541 of file libsigrok.h.

Referenced by sr_session_save().


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