X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=decoders%2Fusb_signalling%2F__init__.py;h=eae188704076903947ee8a2802ca170032e9f7de;hp=026875c538d210e0244ae241e8f4df5315ad1aa1;hb=4539e9ca58966ce3c9cad4801b16c315e86ace01;hpb=2dc6d41c64a8235308e61b4f9b509c7fecb2b502 diff --git a/decoders/usb_signalling/__init__.py b/decoders/usb_signalling/__init__.py index 026875c..eae1887 100644 --- a/decoders/usb_signalling/__init__.py +++ b/decoders/usb_signalling/__init__.py @@ -1,5 +1,5 @@ ## -## This file is part of the sigrok project. +## This file is part of the libsigrokdecode project. ## ## Copyright (C) 2012 Uwe Hermann ## @@ -14,12 +14,11 @@ ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +## along with this program; if not, see . ## ''' -USB (low-speed and full-speed) signalling protocol decoder. +This PD decodes the USB (low-speed and full-speed) signalling protocol. Electrical/signalling layer (USB spec, chapter 7): @@ -43,13 +42,9 @@ Data is transferred at a rate of 1.5Mbit/s (low-speed) / 12Mbit/s (full-speed). The SE0 transmitted to signal an end-of-packet is two bit intervals long (low-speed: 1.25uS - 1.50uS, full-speed: 160ns - 175ns). -Protocol output format: -TODO - Details: https://en.wikipedia.org/wiki/USB http://www.usb.org/developers/docs/ ''' -from .usb_signalling import * - +from .pd import Decoder