add test & code for open bulk transfer to hcd_pipe_open()

This commit is contained in:
hathach
2013-03-05 23:08:00 +07:00
parent c0bbc2aded
commit b3775b631b
7 changed files with 133 additions and 52 deletions

View File

@@ -60,8 +60,11 @@
//--------------------------------------------------------------------+
// MACRO CONSTANT TYPEDEF
//--------------------------------------------------------------------+
typedef uint32_t pipe_handle_t;
typedef struct {
uint8_t dev_addr;
uint8_t xfer_type;
uint8_t index;
} pipe_handle_t;
//--------------------------------------------------------------------+
// USBH-HCD API