libsigrok  0.3.0
sigrok hardware access and backend library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
sr_output Struct Reference

Output (file) format struct. More...

#include <libsigrok.h>

+ Collaboration diagram for sr_output:

Data Fields

struct sr_output_formatformat
 A pointer to this output's format. More...
 
const struct sr_dev_instsdi
 The device for which this output module is creating output. More...
 
GHashTable * params
 An optional parameter which the frontend can pass in to the output module. More...
 
void * internal
 A generic pointer which can be used by the module to keep internal state between calls into its callback functions. More...
 

Detailed Description

Output (file) format struct.

Definition at line 432 of file libsigrok.h.

Field Documentation

struct sr_output_format* sr_output::format

A pointer to this output's format.

Definition at line 434 of file libsigrok.h.

Referenced by sr_output_free(), sr_output_new(), and sr_output_send().

void* sr_output::internal

A generic pointer which can be used by the module to keep internal state between calls into its callback functions.

For example, the module might store a pointer to a chunk of output there, and only flush it when it reaches a certain size.

Definition at line 456 of file libsigrok.h.

GHashTable* sr_output::params

An optional parameter which the frontend can pass in to the output module.

How the string is interpreted is entirely up to the module.

Definition at line 447 of file libsigrok.h.

Referenced by sr_output_new().

const struct sr_dev_inst* sr_output::sdi

The device for which this output module is creating output.

This can be used by the module to find out channel names and numbers.

Definition at line 440 of file libsigrok.h.

Referenced by sr_output_new().


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