summaryrefslogtreecommitdiff
path: root/decoders/rgb_led_ws281x
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2023-07-14 17:28:32 +0200
committerGerhard Sittig <gerhard.sittig@gmx.net>2023-07-18 21:09:40 +0200
commit4f139c2887542954b7bea19ef22495033ea59261 (patch)
treeb3b017791ed3a3a4f7dfeda4cd3fb411912b2022 /decoders/rgb_led_ws281x
parent14ba515be7d292a7c4e0f623d83b6631203cf1e8 (diff)
downloadlibsigrokdecode-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/rgb_led_ws281x')
0 files changed, 0 insertions, 0 deletions