diff options
| author | hathach <[email protected]> | 2021-08-23 15:40:57 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-08-23 15:40:57 +0700 |
| commit | a490a3fe616205115ed351ddbc0bd202bcbdc3db (patch) | |
| tree | 0f6696d5702189c9f7b6457dda812659377b37d6 /src/host/hcd.h | |
| parent | 4ca176c291a138f19ecf2426d636609d8c25da06 (diff) | |
add hcd attr, add note for ehci framelist on NXP derivative
Diffstat (limited to 'src/host/hcd.h')
| -rw-r--r-- | src/host/hcd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/host/hcd.h b/src/host/hcd.h index 62ff8b3f2..e1d21bf45 100644 --- a/src/host/hcd.h +++ b/src/host/hcd.h @@ -30,6 +30,7 @@ #include "common/tusb_common.h" #include "osal/osal.h" #include "common/tusb_fifo.h" +#include "hcd_attr.h" #ifdef __cplusplus extern "C" { @@ -62,6 +63,7 @@ typedef struct struct { uint8_t hub_addr; uint8_t hub_port; + uint8_t speed; } connection; // XFER_COMPLETE @@ -140,7 +142,7 @@ bool hcd_edpt_xfer(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr, uint8_t * bool hcd_edpt_clear_stall(uint8_t dev_addr, uint8_t ep_addr); //--------------------------------------------------------------------+ -// Event API (implemented by stack) +// USBH implemented API //--------------------------------------------------------------------+ // Called by HCD to notify stack |
