Changeset 4b4c797 in mainline for uspace/lib/usb/include
- Timestamp:
- 2010-11-20T14:07:05Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1b22bd4
- Parents:
- 0e126be7
- Location:
- uspace/lib/usb/include/usb
- Files:
-
- 10 moved
-
classes/classes.h (moved) (moved from uspace/lib/usb/classes.h )
-
classes/hid.h (moved) (moved from uspace/lib/usb/hid.h )
-
classes/hidut.h (moved) (moved from uspace/lib/usb/hidut.h )
-
classes/hidutkbd.h (moved) (moved from uspace/lib/usb/hidutkbd.h )
-
classes/hub.h (moved) (moved from uspace/lib/usb/hub.h )
-
descriptor.h (moved) (moved from uspace/lib/usb/descriptor.h )
-
devreq.h (moved) (moved from uspace/lib/usb/devreq.h ) (1 diff)
-
hcdhubd.h (moved) (moved from uspace/lib/usb/hcdhubd.h ) (1 diff)
-
usb.h (moved) (moved from uspace/lib/usb/usb.h ) (1 diff)
-
usbdrv.h (moved) (moved from uspace/lib/usb/usbdrv.h )
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/devreq.h
r0e126be7 r4b4c797 75 75 uint16_t value; 76 76 }; 77 /** Auxil ary parameter to the request.77 /** Auxiliary parameter to the request. 78 78 * Typically, it is offset to something. 79 79 */ -
uspace/lib/usb/include/usb/hcdhubd.h
r0e126be7 r4b4c797 38 38 #include <adt/list.h> 39 39 #include <driver.h> 40 #include "usb.h" 41 #include "hcd.h" 40 #include <usb/usb.h> 42 41 43 42 /** Endpoint properties. */ -
uspace/lib/usb/include/usb/usb.h
r0e126be7 r4b4c797 98 98 typedef ipcarg_t usb_handle_t; 99 99 100 /** USB packet identifier. */ 101 typedef enum { 102 #define _MAKE_PID_NIBBLE(tag, type) \ 103 ((uint8_t)(((tag) << 2) | (type))) 104 #define _MAKE_PID(tag, type) \ 105 ( \ 106 _MAKE_PID_NIBBLE(tag, type) \ 107 | ((~_MAKE_PID_NIBBLE(tag, type)) << 4) \ 108 ) 109 USB_PID_OUT = _MAKE_PID(0, 1), 110 USB_PID_IN = _MAKE_PID(2, 1), 111 USB_PID_SOF = _MAKE_PID(1, 1), 112 USB_PID_SETUP = _MAKE_PID(3, 1), 113 114 USB_PID_DATA0 = _MAKE_PID(0 ,3), 115 USB_PID_DATA1 = _MAKE_PID(2 ,3), 116 117 USB_PID_ACK = _MAKE_PID(0 ,2), 118 USB_PID_NAK = _MAKE_PID(2 ,2), 119 USB_PID_STALL = _MAKE_PID(3 ,2), 120 121 USB_PID_PRE = _MAKE_PID(3 ,0), 122 /* USB_PID_ = _MAKE_PID( ,), */ 123 #undef _MAKE_PID 124 #undef _MAKE_PID_NIBBLE 125 } usb_packet_id; 126 100 127 #endif 101 128 /**
Note:
See TracChangeset
for help on using the changeset viewer.
