X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fjtag%2Fpd.py;h=25f26342183ba14bebc181fbeffeb85d4616ee58;hb=bf69977d12886794ac597083403859ac99ab38ac;hp=21bd44b12693192a15dfd9b9023d68a3cbf863db;hpb=6a15597a7b3f901b566b7bfc8c484a14e0fb6a11;p=libsigrokdecode.git diff --git a/decoders/jtag/pd.py b/decoders/jtag/pd.py index 21bd44b..25f2634 100644 --- a/decoders/jtag/pd.py +++ b/decoders/jtag/pd.py @@ -23,11 +23,11 @@ import sigrokdecode as srd ''' OUTPUT_PYTHON format: -JTAG packet: -[, ] +Packet: +[, ] - is one of: - - 'NEW STATE': is the new state of the JTAG state machine. +: + - 'NEW STATE': is the new state of the JTAG state machine. Valid values: 'TEST-LOGIC-RESET', 'RUN-TEST/IDLE', 'SELECT-DR-SCAN', 'CAPTURE-DR', 'SHIFT-DR', 'EXIT1-DR', 'PAUSE-DR', 'EXIT2-DR', 'UPDATE-DR', 'SELECT-IR-SCAN', 'CAPTURE-IR', 'SHIFT-IR', 'EXIT1-IR', 'PAUSE-IR', @@ -54,7 +54,7 @@ jtag_states = [ ] class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'jtag' name = 'JTAG' longname = 'Joint Test Action Group (IEEE 1149.1)'