]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/transitioncounter.py
Python decoders: Add more metadata.
[libsigrokdecode.git] / decoders / transitioncounter.py
index a6d331e85fc1af676d87edbebdce96c28d343a0a..6bd97c28a2036a7ac16adf6faee46ced54b24529 100644 (file)
@@ -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.