![]() |
libsigrokdecode
0.5.2
sigrok protocol decoding library
|
#include <libsigrokdecode.h>
Data Fields | |
struct srd_decoder * | decoder |
struct srd_session * | sess |
void * | py_inst |
char * | inst_id |
GSList * | pd_output |
int | dec_num_channels |
int * | dec_channelmap |
int | data_unitsize |
uint8_t * | channel_samples |
GSList * | next_di |
GSList * | condition_list |
List of conditions a PD wants to wait for. More... | |
GArray * | match_array |
Array of booleans denoting which conditions matched. More... | |
uint64_t | abs_start_samplenum |
Absolute start sample number. More... | |
uint64_t | abs_end_samplenum |
Absolute end sample number. More... | |
const uint8_t * | inbuf |
Pointer to the buffer/chunk of input samples. More... | |
uint64_t | inbuflen |
Length (in bytes) of the input sample buffer. More... | |
uint64_t | abs_cur_samplenum |
Absolute current samplenumber. More... | |
GArray * | old_pins_array |
Array of "old" (previous sample) pin values. More... | |
GThread * | thread_handle |
Handle for this PD stack's worker thread. More... | |
gboolean | got_new_samples |
Indicates whether new samples are available for processing. More... | |
gboolean | handled_all_samples |
Indicates whether the worker thread has handled all samples. More... | |
gboolean | want_wait_terminate |
Requests termination of wait() and decode(). More... | |
int | decoder_state |
Indicates the current state of the decoder stack. More... | |
GCond | got_new_samples_cond |
GCond | handled_all_samples_cond |
GMutex | data_mutex |
Definition at line 232 of file libsigrokdecode.h.
uint64_t srd_decoder_inst::abs_cur_samplenum |
Absolute current samplenumber.
Definition at line 263 of file libsigrokdecode.h.
uint64_t srd_decoder_inst::abs_end_samplenum |
Absolute end sample number.
Definition at line 254 of file libsigrokdecode.h.
uint64_t srd_decoder_inst::abs_start_samplenum |
Absolute start sample number.
Definition at line 251 of file libsigrokdecode.h.
uint8_t* srd_decoder_inst::channel_samples |
Definition at line 241 of file libsigrokdecode.h.
Referenced by srd_inst_new().
GSList* srd_decoder_inst::condition_list |
List of conditions a PD wants to wait for.
Definition at line 245 of file libsigrokdecode.h.
GMutex srd_decoder_inst::data_mutex |
Definition at line 285 of file libsigrokdecode.h.
int srd_decoder_inst::data_unitsize |
Definition at line 240 of file libsigrokdecode.h.
int* srd_decoder_inst::dec_channelmap |
Definition at line 239 of file libsigrokdecode.h.
Referenced by srd_inst_new().
int srd_decoder_inst::dec_num_channels |
Definition at line 238 of file libsigrokdecode.h.
Referenced by srd_inst_channel_set_all(), srd_inst_initial_pins_set_all(), and srd_inst_new().
struct srd_decoder* srd_decoder_inst::decoder |
Definition at line 233 of file libsigrokdecode.h.
Referenced by srd_inst_channel_set_all(), srd_inst_new(), and srd_inst_option_set().
int srd_decoder_inst::decoder_state |
Indicates the current state of the decoder stack.
Definition at line 281 of file libsigrokdecode.h.
gboolean srd_decoder_inst::got_new_samples |
Indicates whether new samples are available for processing.
Definition at line 272 of file libsigrokdecode.h.
GCond srd_decoder_inst::got_new_samples_cond |
Definition at line 283 of file libsigrokdecode.h.
gboolean srd_decoder_inst::handled_all_samples |
Indicates whether the worker thread has handled all samples.
Definition at line 275 of file libsigrokdecode.h.
GCond srd_decoder_inst::handled_all_samples_cond |
Definition at line 284 of file libsigrokdecode.h.
const uint8_t* srd_decoder_inst::inbuf |
Pointer to the buffer/chunk of input samples.
Definition at line 257 of file libsigrokdecode.h.
uint64_t srd_decoder_inst::inbuflen |
Length (in bytes) of the input sample buffer.
Definition at line 260 of file libsigrokdecode.h.
char* srd_decoder_inst::inst_id |
Definition at line 236 of file libsigrokdecode.h.
Referenced by srd_inst_channel_set_all(), srd_inst_new(), srd_inst_option_set(), and srd_inst_stack().
GArray* srd_decoder_inst::match_array |
Array of booleans denoting which conditions matched.
Definition at line 248 of file libsigrokdecode.h.
GSList* srd_decoder_inst::next_di |
Definition at line 242 of file libsigrokdecode.h.
Referenced by srd_inst_stack().
GArray* srd_decoder_inst::old_pins_array |
Array of "old" (previous sample) pin values.
Definition at line 266 of file libsigrokdecode.h.
GSList* srd_decoder_inst::pd_output |
Definition at line 237 of file libsigrokdecode.h.
void* srd_decoder_inst::py_inst |
Definition at line 235 of file libsigrokdecode.h.
Referenced by srd_inst_option_set().
struct srd_session* srd_decoder_inst::sess |
Definition at line 234 of file libsigrokdecode.h.
Referenced by srd_inst_find_by_id(), srd_inst_new(), srd_inst_stack(), srd_session_destroy(), srd_session_metadata_set(), srd_session_new(), srd_session_send(), srd_session_start(), and srd_session_terminate_reset().
GThread* srd_decoder_inst::thread_handle |
Handle for this PD stack's worker thread.
Definition at line 269 of file libsigrokdecode.h.
gboolean srd_decoder_inst::want_wait_terminate |
Requests termination of wait() and decode().
Definition at line 278 of file libsigrokdecode.h.