]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/sdcard_sd/pd.py
cjtag: Use an exact copy of the jtag PD as basis for cjtag.
[libsigrokdecode.git] / decoders / sdcard_sd / pd.py
index 6f9d2cb2d63e9cb9a8f94835296dc25cc0f098a6..f5d6834aa0553289e0e68099c20bcfc13ace6b3a 100644 (file)
@@ -28,8 +28,8 @@ class Decoder(srd.Decoder):
     desc = 'Secure Digital card (SD mode) low-level protocol.'
     license = 'gplv2+'
     inputs = ['logic']
-    outputs = ['sdcard_sd']
-    tags = ['Logic', 'Memory']
+    outputs = []
+    tags = ['Memory']
     channels = (
         {'id': 'cmd',  'name': 'CMD',  'desc': 'Command'},
         {'id': 'clk',  'name': 'CLK',  'desc': 'Clock'},
@@ -43,22 +43,22 @@ class Decoder(srd.Decoder):
     annotations = \
         tuple(('cmd%d' % i, 'CMD%d' % i) for i in range(64)) + \
         tuple(('acmd%d' % i, 'ACMD%d' % i) for i in range(64)) + ( \
-        ('bits', 'Bits'),
+        ('bit', 'Bit'),
         ('field-start', 'Start bit'),
         ('field-transmission', 'Transmission bit'),
         ('field-cmd', 'Command'),
         ('field-arg', 'Argument'),
         ('field-crc', 'CRC'),
         ('field-end', 'End bit'),
-        ('decoded-bits', 'Decoded bits'),
-        ('decoded-fields', 'Decoded fields'),
+        ('decoded-bit', 'Decoded bit'),
+        ('decoded-field', 'Decoded field'),
     )
     annotation_rows = (
         ('raw-bits', 'Raw bits', (128,)),
         ('decoded-bits', 'Decoded bits', (135,)),
         ('decoded-fields', 'Decoded fields', (136,)),
         ('fields', 'Fields', tuple(range(129, 135))),
-        ('cmd', 'Commands', tuple(range(128))),
+        ('commands', 'Commands', tuple(range(128))),
     )
 
     def __init__(self):