libsigrokdecode  0.4.0
sigrok protocol decoding library
Data Fields
srd_channel Struct Reference

Structure which contains information about one protocol decoder channel. More...

#include <libsigrokdecode.h>

+ Collaboration diagram for srd_channel:

Data Fields

char * id
 The ID of the channel. More...
 
char * name
 The name of the channel. More...
 
char * desc
 The description of the channel. More...
 
int order
 The index of the channel, i.e. More...
 

Detailed Description

Structure which contains information about one protocol decoder channel.

For example, I2C has two channels, SDA and SCL.

Definition at line 196 of file libsigrokdecode.h.

Field Documentation

char* srd_channel::desc

The description of the channel.

Must not be NULL.

Definition at line 202 of file libsigrokdecode.h.

char* srd_channel::id

The ID of the channel.

Must be non-NULL.

Definition at line 198 of file libsigrokdecode.h.

Referenced by srd_inst_channel_set_all().

char* srd_channel::name

The name of the channel.

Must not be NULL.

Definition at line 200 of file libsigrokdecode.h.

int srd_channel::order

The index of the channel, i.e.

its order in the list of channels.

Definition at line 204 of file libsigrokdecode.h.

Referenced by srd_inst_channel_set_all().


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