summaryrefslogtreecommitdiff
path: root/decoders/transitioncounter.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2011-02-06 17:29:44 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2011-02-06 17:29:44 +0100
commit4ed59136f8033c2cb745302bfd42d359c541e64b (patch)
tree92488d4ae7807e7fc237b0360b15410194da8a48 /decoders/transitioncounter.py
parent959933226cb93b87d3c07c01c8af63840200671e (diff)
downloadlibsigrokdecode-4ed59136f8033c2cb745302bfd42d359c541e64b.tar.gz
libsigrokdecode-4ed59136f8033c2cb745302bfd42d359c541e64b.zip
Python decoders: Add more metadata.
Make the list of metadata info match the spec in the wiki more closely.
Diffstat (limited to 'decoders/transitioncounter.py')
-rw-r--r--decoders/transitioncounter.py20
1 files changed, 16 insertions, 4 deletions
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.