]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/adf435x/pd.py
All PDs: Consistently use singular/plural for annotation classes/rows.
[libsigrokdecode.git] / decoders / adf435x / pd.py
index a17eb8426d583503f2c1a6bea0176af29823fbc5..c60ed4e47469a3cfcc0b84d3d73be8c7048a72d9 100644 (file)
@@ -95,16 +95,20 @@ class Decoder(srd.Decoder):
     desc = 'Wideband synthesizer with integrated VCO.'
     license = 'gplv3+'
     inputs = ['spi']
-    outputs = ['adf435x']
+    outputs = []
+    tags = ['Clock/timing', 'IC', 'Wireless/RF']
     annotations = (
         # Sent from the host to the chip.
-        ('register', 'Register written to the device'),
+        ('write', 'Register write'),
     )
     annotation_rows = (
-        ('registers', 'Register writes', (ANN_REG,)),
+        ('writes', 'Register writes', (ANN_REG,)),
     )
 
     def __init__(self):
+        self.reset()
+
+    def reset(self):
         self.bits = []
 
     def start(self):