add hcd_ehci.h as interface for ehci port

This commit is contained in:
hathach
2021-02-24 13:10:47 +07:00
parent 2d15e11830
commit 1dd2cd43dd
4 changed files with 56 additions and 8 deletions
+1 -4
View File
@@ -37,6 +37,7 @@
#include "host/hcd.h"
#include "host/usbh_hcd.h"
#include "hcd_ehci.h"
#include "ehci.h"
//--------------------------------------------------------------------+
@@ -49,10 +50,6 @@
// Periodic frame list must be 4K alignment
CFG_TUSB_MEM_SECTION TU_ATTR_ALIGNED(4096) static ehci_data_t ehci_data;
// EHCI portable
uint32_t hcd_ehci_register_addr(uint8_t rhport);
bool hcd_ehci_init (uint8_t rhport); // TODO move later
//--------------------------------------------------------------------+
// PROTOTYPE
//--------------------------------------------------------------------+