diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2023-07-17 18:50:21 +0200 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2023-07-18 21:28:38 +0200 |
commit | e7c6af6eb047bb751c53741f18353e8d1635d8d5 (patch) | |
tree | 0ef0fde5419f75347735985d2c0dd0c573cd1da3 /decoders/mrf24j40 | |
parent | 5eb664089f9123a91841f66535ffb1689d9ddd98 (diff) | |
download | libsigrokdecode-e7c6af6eb047bb751c53741f18353e8d1635d8d5.tar.gz libsigrokdecode-e7c6af6eb047bb751c53741f18353e8d1635d8d5.zip |
i2c: unobfuscate ss/es passing for put, document BITS order
Eliminate how the I2C decoder's put methods take data as arguments and
hiddenly take ss/es from instance variables. This improves readability
during review. Rename .putx() to .putg() to match other decoders (emits
graphical annotations, in contrast to Python and binary).
Document the surprising BITS pdata order, stacked decoders get LSB first
sequences. To keep awareness during maintenance. Keep an explicit copy
of the LSB bits to simplify the implementation of the data byte handler
(sample numbers remain available at indices in their reception order).
Diffstat (limited to 'decoders/mrf24j40')
0 files changed, 0 insertions, 0 deletions