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

Method check_bit

libsigrokdecode4DSL/decoders/sle44xx/pd.py:446–448  ·  view source on GitHub ↗
(self, d)

Source from the content-addressed store, hash-verified

444 self.handle_data_byte(ss, es, data, bits)
445
446 def check_bit(self, d):
447 v = self.matched & (1 << d)
448 return (v >> d) == 1
449
450 def decode(self):
451 '''Decoder's main data interpretation loop.''&#x27;

Callers 1

decodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected