]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/usb/__init__.py
srd: usb: Add long description of the PIDs.
[libsigrokdecode.git] / decoders / usb / __init__.py
index 1a16f8f9f93e10a037768ffcd5654457dd19646e..313c4955adf0fe2dd8dac50b5bbd173e9dad0159 100644 (file)
@@ -21,6 +21,8 @@
 '''
 USB (low-speed and full-speed) protocol decoder.
 
+Electrical/signalling layer (USB spec, chapter 7):
+
 USB signalling consists of two signal lines, both driven at 3.3V
 logic levels. The signals are DP (D+) and DM (D-), and normally operate in
 differential mode.
@@ -41,6 +43,8 @@ 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 layer (USB spec, chapter 8):
+
 Bit/byte ordering: Bits are sent onto the bus LSB-first. Multibyte fields
 are transmitted in little-endian order (i.e., LSB to MSB).