]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/usb_packet/__init__.py
license: remove FSF postal address from boiler plate license text
[libsigrokdecode.git] / decoders / usb_packet / __init__.py
index 555dc7f90578d16b3cf7fd1e46ab5369c381b8ac..5cd7c56b750953d4b691c4d7764611231efabf03 100644 (file)
 ## 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 <http://www.gnu.org/licenses/>.
 ##
 
 '''
-USB (low-speed and full-speed) packet protocol decoder.
+This decoder stacks on top of the 'usb_signalling' PD and decodes the USB
+(low-speed and full-speed) packet protocol.
 
 Protocol layer (USB spec, chapter 8):
 
@@ -35,13 +35,9 @@ PID: A PID (packet identifier) follows the SYNC field of every packet. A PID
 consists of a 4-bit packet type field, and a 4 bit check field.
 The check field is the one's complement of the packet type field.
 
-Protocol output format:
-TODO
-
 Details:
 https://en.wikipedia.org/wiki/USB
 http://www.usb.org/developers/docs/
 '''
 
-from .pd import *
-
+from .pd import Decoder