MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / handle_command

Method handle_command

libsigrokdecode4DSL/decoders/sle44xx/pd.py:235–242  ·  view source on GitHub ↗
(self, ss, is_start)

Source from the content-addressed store, hash-verified

233 self.state = 'ATR' if has_clk else None
234
235 def handle_command(self, ss, is_start):
236 if is_start:
237 self.flush_queued()
238 key = '{}_SYM'.format('START' if is_start else 'STOP')
239 cls, texts = self.lookup_proto_ann_txt(key, {})
240 self.putx(ss, ss, cls, texts)
241 self.bits = []
242 self.state = 'CMD' if is_start else 'DATA'
243
244 def command_check(self, ctrl, addr, data):
245 '''Interpret CTRL/ADDR/DATA command entry.'''

Callers 1

decodeMethod · 0.95

Calls 4

flush_queuedMethod · 0.95
lookup_proto_ann_txtMethod · 0.95
putxMethod · 0.95
formatMethod · 0.45

Tested by

no test coverage detected