Allow users to set initial pin states for decoders.
authorUwe Hermann <uwe@hermann-uwe.de>
Thu, 11 May 2017 20:58:58 +0000 (22:58 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Mon, 5 Jun 2017 16:15:26 +0000 (18:15 +0200)
commit407c9ebeb13200fb7f28a33cab00e996c018f8dc
treeb45eb0a3fa3ad4b664f2c79548366811b74e1bb6
parent7ba8dbe5272f1d16a620c61ac86492a3de7aa747
Allow users to set initial pin states for decoders.

This uses the new srd_inst_initial_pins_set_all() libsigrokdecode API
which allows frontends to set the assumed initial pins (i.e., the assumed
state of the pins before the first sample of a capture) to user-specified
values.

The assumed initial pins can be either low, or high, or "use same value
as the first sample of the capture".
pv/data/decode/decoder.cpp
pv/data/decode/decoder.hpp
pv/view/decodetrace.cpp
pv/view/decodetrace.hpp