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

Method state_DEVAD

libsigrokdecode4DSL/decoders/mdio/pd.py:252–264  ·  view source on GitHub ↗
(self, mdio)

Source from the content-addressed store, hash-verified

250 self.state = 'DEVAD'
251
252 def state_DEVAD(self, mdio):
253 if self.devad == -1:
254 self.devad = 0
255 if self.clause45:
256 prtad = ['PRTAD: %02d' % self.portad, 'PRT', 'P']
257 else:
258 prtad = ['PHYAD: %02d' % self.portad, 'PHY', 'P']
259 self.putff([2, prtad])
260 self.ss_frame_field = self.samplenum
261 self.devad_bits -= 1
262 self.devad |= mdio << self.devad_bits
263 if not self.devad_bits:
264 self.state = 'TA'
265
266 def state_TA(self, mdio):
267 if self.ta_invalid == -1:

Callers

nothing calls this directly

Calls 1

putffMethod · 0.95

Tested by

no test coverage detected