X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=decoders%2Ftransitioncounter.py;h=6bd97c28a2036a7ac16adf6faee46ced54b24529;hp=a6d331e85fc1af676d87edbebdce96c28d343a0a;hb=4ed59136f8033c2cb745302bfd42d359c541e64b;hpb=9c93add5aeca95c568afab7fe249c0586d8dec6b diff --git a/decoders/transitioncounter.py b/decoders/transitioncounter.py index a6d331e..6bd97c2 100644 --- a/decoders/transitioncounter.py +++ b/decoders/transitioncounter.py @@ -79,10 +79,22 @@ def register(): return { 'id': 'transitioncounter', 'name': 'Transition counter', - 'desc': 'Count rising/falling edges', - 'inputformats': ['raw'], - 'signalnames': {}, # FIXME - 'outputformats': ['transitioncounts'], + 'longname': '...', + 'desc': 'Counts rising/falling edges in the signal.', + 'longdesc': '...', + 'author': 'Uwe Hermann', + 'email': 'uwe@hermann-uwe.de', + 'license': 'gplv2+', + 'in': ['logic'], + 'out': ['transitioncounts'], + 'probes': [ + # All probes. + ], + 'options': { + # No options so far. + }, + # 'start': start, + # 'report': report, } # Use psyco (if available) as it results in huge performance improvements.