diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2023-07-14 17:28:32 +0200 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2023-07-18 21:09:40 +0200 |
commit | 4f139c2887542954b7bea19ef22495033ea59261 (patch) | |
tree | b3b017791ed3a3a4f7dfeda4cd3fb411912b2022 /decoders/nes_gamepad | |
parent | 14ba515be7d292a7c4e0f623d83b6631203cf1e8 (diff) | |
download | libsigrokdecode-4f139c2887542954b7bea19ef22495033ea59261.tar.gz libsigrokdecode-4f139c2887542954b7bea19ef22495033ea59261.zip |
i2c: add support for 10bit slave addresses
Slave addresses can be of 7bit or 10bit type, which occupies one or two
bytes at the start of the frame. Detect when a 10bit address is seen,
and classify the following byte as yet another address byte (which the
previous implementation incorrectly classified as data byte).
This commit only accumulates the address value and adjusts the class of
annotations. It does not introduce new annotation classes or rows, to
not change the decoder in incompatible ways.
Diffstat (limited to 'decoders/nes_gamepad')
0 files changed, 0 insertions, 0 deletions