##
-## This file is part of the sigrok project.
+## This file is part of the libsigrokdecode project.
##
## Copyright (C) 2012 Iztok Jeras <iztok.jeras@gmail.com>
##
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-# Maxim DS28EA00 protocol decoder
-
import sigrokdecode as srd
# Dictionary of FUNCTION commands and their names.
]
options = {}
annotations = [
- ['Text', 'Human-readable text'],
+ ['text', 'Human-readable text'],
]
def __init__(self, **kwargs):
self.state = 'ROM'
self.rom = 0x0000000000000000
- def start(self, metadata):
- self.out_ann = self.add(srd.OUTPUT_ANN, 'maxim_ds28ea00')
-
- def report(self):
- pass
+ def start(self):
+ self.out_ann = self.register(srd.OUTPUT_ANN)
def putx(self, data):
self.put(self.ss, self.es, self.out_ann, data)