refractor ehci test files
adding some code for async_advance_isr add test for async_advance_isr
This commit is contained in:
@@ -48,7 +48,9 @@
|
||||
//--------------------------------------------------------------------+
|
||||
// MACRO CONSTANT TYPEDEF
|
||||
//--------------------------------------------------------------------+
|
||||
extern ehci_data_t ehci_data;
|
||||
ehci_data_t ehci_data;
|
||||
LPC_USB0_Type lpc_usb0;
|
||||
LPC_USB1_Type lpc_usb1;
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
// IMPLEMENTATION
|
||||
|
||||
@@ -55,10 +55,17 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern ehci_data_t ehci_data;
|
||||
|
||||
void ehci_controller_run(uint8_t hostid);
|
||||
void ehci_controller_device_plug(uint8_t hostid, tusb_speed_t speed);
|
||||
void ehci_controller_device_unplug(uint8_t hostid);
|
||||
|
||||
ehci_registers_t* const get_operational_register(uint8_t hostid);
|
||||
ehci_link_t* const get_period_frame_list(uint8_t list_idx);
|
||||
ehci_qhd_t* const get_async_head(uint8_t hostid);
|
||||
ehci_qhd_t* const get_period_head(uint8_t hostid);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user