add code for ehci interrupt handler

- interrupt source identifying
- for async list process
refractor control_xfer to use insert_qtd_to_qhd
- add test for control xfer interrupt processing
- add code for faking ehci controller async list scheduling & processing
- add prototype for void usbh_isr(pipe_handle_t pipe_hdl, uint8_t class_code);
This commit is contained in:
hathach
2013-03-10 17:51:53 +07:00
parent 889f267e12
commit c1848b8114
9 changed files with 322 additions and 52 deletions
+1 -1
View File
@@ -43,7 +43,7 @@
#include "hal.h"
#include "mock_osal.h"
#include "hcd.h"
#include "usbh_hcd.h"
#include "mock_usbh_hcd.h"
#include "ehci.h"
extern ehci_data_t ehci_data;