summaryrefslogtreecommitdiff
path: root/decoders/ade77xx/pd.py
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2022-04-23 19:20:42 +0200
committerGerhard Sittig <gerhard.sittig@gmx.net>2022-04-23 20:02:36 +0200
commit1fc5b8a515eb06e759e109728b6f18ccdef0c686 (patch)
tree64c764f5f427705151123267d4e304ca037fbd3d /decoders/ade77xx/pd.py
parent42d4d65c3d34ae9bfa74c40fafd1ca657d05a91b (diff)
downloadlibsigrokdecode-1fc5b8a515eb06e759e109728b6f18ccdef0c686.tar.gz
libsigrokdecode-1fc5b8a515eb06e759e109728b6f18ccdef0c686.zip
uart: handle two stop bits configuration
Sample and process multiple STOP bits as specified, add 2.0 to the list of supported configurations. This implementation works as expected with integer numbers of STOP bits (0, 1, 2). For half-bits the sample point as well as the annotation position will be incorrect (as a result of an internal implementation detail of the existing decoder which is not easy to address). This commit reduces the diff size, and remains backwards bug-compatible. Fixing the bit boundaries in annotations including support for half-bits is more involved, and remains for a later commit.
Diffstat (limited to 'decoders/ade77xx/pd.py')
0 files changed, 0 insertions, 0 deletions