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

Method handle_reset

libsigrokdecode4DSL/decoders/sle44xx/pd.py:227–233  ·  view source on GitHub ↗
(self, ss, es, has_clk)

Source from the content-addressed store, hash-verified

225 self.state = None
226
227 def handle_reset(self, ss, es, has_clk):
228 self.flush_queued()
229 key = '{}_SYM'.format('RESET' if has_clk else 'INTR')
230 cls, texts = self.lookup_proto_ann_txt(key, {})
231 self.putx(ss, es, cls, texts)
232 self.bits = []
233 self.state = 'ATR' if has_clk else None
234
235 def handle_command(self, ss, is_start):
236 if is_start:

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