summaryrefslogtreecommitdiff
path: root/src/host/hcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-12-07 23:35:42 +0700
committerhathach <[email protected]>2018-12-07 23:35:42 +0700
commite0199162637465b576b9f082404cf163c7cb1fef (patch)
treec9c1be2bccb9a5db26d302928284b94cc316d247 /src/host/hcd.h
parent98dd0c4d4d181181e62c99d9e43f3a2aaea7662f (diff)
clean up ehci, support only 1 controller
Diffstat (limited to 'src/host/hcd.h')
-rw-r--r--src/host/hcd.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/host/hcd.h b/src/host/hcd.h
index 77d8aa8fc..db80994c0 100644
--- a/src/host/hcd.h
+++ b/src/host/hcd.h
@@ -113,8 +113,6 @@ static inline bool pipehandle_is_equal(pipe_handle_t x, pipe_handle_t y)
// USBH-HCD API
//--------------------------------------------------------------------+
bool hcd_init(void);
-void hal_hcd_isr(uint8_t hostid);
-
void hcd_int_enable (uint8_t rhport);
void hcd_int_disable(uint8_t rhport);
@@ -128,9 +126,8 @@ void hcd_event_handler(hcd_event_t const* event, bool in_isr);
//--------------------------------------------------------------------+
bool hcd_edpt_open(uint8_t rhport, uint8_t dev_addr, tusb_desc_endpoint_t const* ep_desc);
bool hcd_edpt_close(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr);
-bool hcd_edpt_xfer(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr, uint8_t * buffer, uint16_t buflen);
-
bool hcd_setup_send(uint8_t rhport, uint8_t dev_addr, uint8_t const setup_packet[8]);
+bool hcd_edpt_xfer(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr, uint8_t * buffer, uint16_t buflen);
//--------------------------------------------------------------------+
// PIPE API