1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-22 01:23:08 +02:00

atusb/fw/usb/usb.h: define PID types (LS/FS)

This commit is contained in:
Werner Almesberger 2013-11-17 02:37:28 -03:00
parent c5f9cc1259
commit a80ba86476

View File

@ -19,6 +19,20 @@
#include <stdint.h>
/*
* Packet identifier types
*/
#define PID_OUT 0x1
#define PID_IN 0x9
#define PID_SOF 0x5
#define PID_SETUP 0xd
#define PID_DATA0 0x3
#define PID_DATA1 0xb
#define PID_ACK 0x2
#define PID_NAK 0xa
#define PID_STALL 0xe
/*
* Descriptor types
*