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

Information on single channel. More...

#include <libsigrok.h>

+ Collaboration diagram for sr_channel:

Data Fields

struct sr_dev_inst * sdi
 The device this channel is attached to. More...
 
int index
 The index of this channel, 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...
 
void * priv
 Private data for driver use. More...
 

Detailed Description

Information on single channel.

Definition at line 601 of file libsigrok.h.

Field Documentation

gboolean sr_channel::enabled

Is this channel enabled?

Definition at line 610 of file libsigrok.h.

Referenced by sr_dev_channel_enable(), sr_next_enabled_channel(), and sr_session_start().

int sr_channel::index

The index of this channel, starting at 0.

Logic channels will be encoded according to this index in SR_DF_LOGIC packets.

Definition at line 606 of file libsigrok.h.

char* sr_channel::name

Name of channel.

Definition at line 612 of file libsigrok.h.

Referenced by sr_dev_channel_name_set().

void* sr_channel::priv

Private data for driver use.

Definition at line 614 of file libsigrok.h.

struct sr_dev_inst* sr_channel::sdi

The device this channel is attached to.

Definition at line 603 of file libsigrok.h.

Referenced by sr_dev_channel_enable().

int sr_channel::type

Channel type (SR_CHANNEL_LOGIC, ...)

Definition at line 608 of file libsigrok.h.

Referenced by sr_trigger_match_add().


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