diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2017-09-02 12:52:32 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2018-02-15 19:17:44 +0100 |
commit | fb1870b00fe4490eb9d4cd2b777629321416f763 (patch) | |
tree | 9dd862508027e5494a389e94040b97af3a27c6cb /decoders/usb_packet/pd.py | |
parent | e710d006ee7edbfa09126c60000b47f7cd65498a (diff) | |
download | libsigrokdecode-fb1870b00fe4490eb9d4cd2b777629321416f763.tar.gz libsigrokdecode-fb1870b00fe4490eb9d4cd2b777629321416f763.zip |
ir_nec: optionally accept input signals that include the carrier
Introduce optional detection of a carrier signal. Immediately "go active"
when edges are seen. "Go inactive" again in the absence of edges in a
specified period of time. Cope with input signals that already had the
carrier removed.
By default carrier detection is disabled, to remain pixel compatible to
the previous implementation. When a carrier frequency is specified and
thus detection is enabled, edges of already filtered input are shifted
by one carrier period, and thus changes the output of the decoder. For
unfiltered inputs that still contain the carrier, detection of activity
is reliable and immediate, but the active phase is extended by one
period of the carrier frequency (which is considered acceptable).
Diffstat (limited to 'decoders/usb_packet/pd.py')
0 files changed, 0 insertions, 0 deletions