X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fadns5020%2Fpd.py;h=b03fcaa693ddc0477d374c33cbc4a4da83a57d9c;hb=17b2579a517489ce06756943529986921e194ef9;hp=cd72eca8b46d93432379469b33d10031296b9d5f;hpb=c2faaa6952073ba9305834728a768f9e7b5361fb;p=libsigrokdecode.git diff --git a/decoders/adns5020/pd.py b/decoders/adns5020/pd.py index cd72eca..b03fcaa 100644 --- a/decoders/adns5020/pd.py +++ b/decoders/adns5020/pd.py @@ -42,19 +42,20 @@ class Decoder(srd.Decoder): api_version = 3 id = 'adns5020' name = 'ADNS-5020' - longname = 'Avago ADNS-5020 optical mouse sensor' - desc = 'Bidirectional command and data over an SPI-like protocol.' + longname = 'Avago ADNS-5020' + desc = 'Bidirectional optical mouse sensor protocol.' license = 'gplv2+' inputs = ['spi'] - outputs = ['adns5020'] + outputs = [] + tags = ['IC', 'PC', 'Sensor'] annotations = ( - ('read', 'Register read commands'), - ('write', 'Register write commands'), - ('warning', 'Warnings'), + ('read', 'Register read'), + ('write', 'Register write'), + ('warning', 'Warning'), ) annotation_rows = ( - ('read', 'Read', (0,)), - ('write', 'Write', (1,)), + ('reads', 'Reads', (0,)), + ('writes', 'Writes', (1,)), ('warnings', 'Warnings', (2,)), )