summaryrefslogtreecommitdiff
path: root/libsigrokdecode.h
diff options
context:
space:
mode:
authorSoeren Apel <soeren@apelpie.net>2020-06-26 20:16:15 +0200
committerSoeren Apel <soeren@apelpie.net>2021-02-13 23:19:06 +0100
commitb8c8dc8a649ad0a76bccbfae7198cc9c8cb2ccda (patch)
tree6bab9eeaf2240c9c1423aa6d84bac8cc9afdd3bf /libsigrokdecode.h
parent9b6c0354ce4bab15c524928f2c0059f1df543ad9 (diff)
downloadlibsigrokdecode-b8c8dc8a649ad0a76bccbfae7198cc9c8cb2ccda.tar.gz
libsigrokdecode-b8c8dc8a649ad0a76bccbfae7198cc9c8cb2ccda.zip
Rename logic_class to logic_group and output as group-wise RLE
Diffstat (limited to 'libsigrokdecode.h')
-rw-r--r--libsigrokdecode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libsigrokdecode.h b/libsigrokdecode.h
index 30282f5..0870276 100644
--- a/libsigrokdecode.h
+++ b/libsigrokdecode.h
@@ -326,9 +326,9 @@ struct srd_proto_data_binary {
const unsigned char *data;
};
struct srd_proto_data_logic {
- int logic_class;
- uint64_t size;
- const unsigned char *data;
+ int logic_group;
+ uint64_t repeat_count; /* Number of times the value in data was repeated. */
+ const unsigned char *data; /* Bitfield containing the states of the logic outputs */
};
typedef void (*srd_pd_output_callback)(struct srd_proto_data *pdata,