X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=decoders%2Frtc8564%2Fpd.py;fp=decoders%2Frtc8564%2Fpd.py;h=6108c267239b4d488789ae4d42845ca83de34de9;hp=8a2fbf9592abb7a5597d8eb8f762a8e6096cb6af;hb=780770f1295b7fdeb4481eb42623bad5da1e19a7;hpb=84c1c0b52820af2418186ac3ecf93a5c6373a22e diff --git a/decoders/rtc8564/pd.py b/decoders/rtc8564/pd.py index 8a2fbf9..6108c26 100644 --- a/decoders/rtc8564/pd.py +++ b/decoders/rtc8564/pd.py @@ -33,13 +33,11 @@ class Decoder(srd.Decoder): license = 'gplv2+' inputs = ['i2c'] outputs = ['rtc8564'] - probes = [] optional_probes = [ {'id': 'clkout', 'name': 'CLKOUT', 'desc': 'Clock output'}, {'id': 'clkoe', 'name': 'CLKOE', 'desc': 'Clock output enable'}, {'id': 'int', 'name': 'INT#', 'desc': 'Interrupt'}, ] - options = {} annotations = \ [['reg-0x%02x' % i, 'Register 0x%02x' % i] for i in range(8 + 1)] + [ ['read', 'Read date/time'],