allow configure host/device by controller basic

- make changes to adapt
add mcu_capacity.h
This commit is contained in:
hathach
2013-03-04 16:21:41 +07:00
parent 656da2992d
commit 94c004724c
9 changed files with 135 additions and 30 deletions

View File

@@ -435,8 +435,8 @@ typedef struct {
// ehci_itd_t itd[EHCI_MAX_ITD] ; ///< Iso Transfer Pool
struct {
ehci_qhd_t async_head[TUSB_CFG_HOST_CONTROLLER_NUM]; /// head qhd of async list, also is used as control endpoint for address 0
ehci_qhd_t period_head[TUSB_CFG_HOST_CONTROLLER_NUM];
ehci_qhd_t async_head[CONTROLLER_HOST_NUMBER]; /// head qhd of async list, also is used as control endpoint for address 0
ehci_qhd_t period_head[CONTROLLER_HOST_NUMBER];
ehci_qtd_t addr0_qtd[3];
}controller; ///< Static Interrupt Queue Head