]> sigrok.org Git - libsigrokdecode.git/commit
adf435x: use common bits to number conversion helper
authorGerhard Sittig <redacted>
Fri, 30 Dec 2022 13:09:03 +0000 (14:09 +0100)
committerGerhard Sittig <redacted>
Mon, 9 Jan 2023 19:13:35 +0000 (20:13 +0100)
commit317eaa7fd83fb049db97e863a306992a34fcf490
tree0e80e1dd1731cb4fe524e63a9368612d01607750
parentadb8233a0bf30b1d9ee9176e1caa5dc8ae1830dd
adf435x: use common bits to number conversion helper

Use common support code to convert bit fields to integer numbers. Also
unobfuscate the decode_bits() method and its returned values' layout.
Improves readability and factors out common expressions.
decoders/adf435x/pd.py