libsigrok  0.5.2
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 596 of file libsigrok.h.

Field Documentation

gboolean sr_channel::enabled

Is this channel enabled?

Definition at line 605 of file libsigrok.h.

Referenced by sr_dev_channel_enable(), 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 601 of file libsigrok.h.

Referenced by sr_channel_lists_differ(), and sr_session_load().

char* sr_channel::name

Name of channel.

Definition at line 607 of file libsigrok.h.

Referenced by sr_channels_differ(), and sr_dev_channel_name_set().

void* sr_channel::priv

Private data for driver use.

Definition at line 609 of file libsigrok.h.

struct sr_dev_inst* sr_channel::sdi

The device this channel is attached to.

Definition at line 598 of file libsigrok.h.

Referenced by sr_dev_channel_enable().

int sr_channel::type

Channel type (SR_CHANNEL_LOGIC, ...)

Definition at line 603 of file libsigrok.h.

Referenced by sr_channels_differ(), and sr_trigger_match_add().


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