]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/parallel/__init__.py
All PDs: Only import the 'Decoder' object.
[libsigrokdecode.git] / decoders / parallel / __init__.py
index a338c43ae4bf01c0c78e8575870f57a2d0e82344..a7077bb93363fbe286ad2c661d11a3cc5037b113 100644 (file)
 
 '''
 This protocol decoder can decode synchronous parallel buses with various
-number of data bits/probes and one clock line.
+number of data bits/channels and one (optional) clock line.
 
-It is required to use the lowest data probes, and use consecutive ones.
-For example, for a 4-bit sync parallel bus, probes D0/D1/D2/D3 (and CLK)
+If no clock line is supplied, the decoder works slightly differently in
+that it interprets every transition on any of the supplied data channels
+like there had been a clock transition.
+
+It is required to use the lowest data channels, and use consecutive ones.
+For example, for a 4-bit sync parallel bus, channels D0/D1/D2/D3 (and CLK)
 should be used. Using combinations like D7/D12/D3/D15 is not supported.
 For an 8-bit bus you should use D0-D7, for a 16-bit bus use D0-D15 and so on.
 '''
 
-from .pd import *
-
+from .pd import Decoder