diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-07-23 17:23:24 +0200 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-07-26 14:38:18 +0200 |
commit | 4a3c854ca958340507eb69adaaeaf31c6e678df6 (patch) | |
tree | 0fa40279570411d9988477b0cd1cea1e7e5f74d1 /decoders/i2cfilter | |
parent | bd7efe23c7a2e6c6698a3652fc0ce0a0d5dab156 (diff) | |
download | libsigrokdecode-4a3c854ca958340507eb69adaaeaf31c6e678df6.tar.gz libsigrokdecode-4a3c854ca958340507eb69adaaeaf31c6e678df6.zip |
common: add LSB/MSB first bitpack variant with optional index
The CAN decoder collects bits in MSB first order. The SIRC decoder keeps
lists of tuples with bits and their ss/es. Introduce common logic for
LSB and MSB first arguments, and optional array index access, to reduce
redundancy at callers'.
Diffstat (limited to 'decoders/i2cfilter')
0 files changed, 0 insertions, 0 deletions