libsigrokdecode  0.5.2
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 208 of file libsigrokdecode.h.

Field Documentation

◆ desc

char* srd_channel::desc

The description of the channel.

Must not be NULL.

Definition at line 214 of file libsigrokdecode.h.

◆ id

char* srd_channel::id

The ID of the channel.

Must be non-NULL.

Definition at line 210 of file libsigrokdecode.h.

◆ name

char* srd_channel::name

The name of the channel.

Must not be NULL.

Definition at line 212 of file libsigrokdecode.h.

◆ order

int srd_channel::order

The index of the channel, i.e.

its order in the list of channels.

Definition at line 216 of file libsigrokdecode.h.


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