## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-# MEMSIC MXC6225XU protocol decoder
-
import sigrokdecode as srd
# Definitions of various bits in MXC6225XU registers.
license = 'gplv2+'
inputs = ['i2c']
outputs = ['mxc6225xu']
- probes = []
optional_probes = [
{'id': 'int', 'name': 'INT', 'desc': 'DTOS interrupt output pin'},
]
- options = {}
annotations = [
- ['Text', 'Human-readable text'],
+ ['text', 'Human-readable text'],
]
def __init__(self, **kwargs):
self.state = 'IDLE'
def start(self):
- # self.out_proto = self.register(srd.OUTPUT_PYTHON)
+ # self.out_python = self.register(srd.OUTPUT_PYTHON)
self.out_ann = self.register(srd.OUTPUT_ANN)
def putx(self, data):