summaryrefslogtreecommitdiff
path: root/src/host/hcd.h
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2024-05-13 21:08:11 +0200
committerHiFiPhile <[email protected]>2024-05-13 21:08:11 +0200
commit0fce7d1f54f5fc405bee3ac20ad6bbdb966abcd0 (patch)
tree1c3c32588f98b69f4fdca963d937ec5289ffc078 /src/host/hcd.h
parentd0373f4749e320c7cb3fac9cce068b4398e60f2f (diff)
parentd707ea56b47e2fbbe5eaa4854a427a3a7873dea3 (diff)
Merge branch 'master' into test-mode-support
Diffstat (limited to 'src/host/hcd.h')
-rw-r--r--src/host/hcd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/host/hcd.h b/src/host/hcd.h
index 2bde289df..5547c7cc5 100644
--- a/src/host/hcd.h
+++ b/src/host/hcd.h
@@ -125,11 +125,14 @@ bool hcd_dcache_clean_invalidate(void const* addr, uint32_t data_size) TU_ATTR_W
//--------------------------------------------------------------------+
// optional hcd configuration, called by tuh_configure()
-bool hcd_configure(uint8_t rhport, uint32_t cfg_id, const void* cfg_param) TU_ATTR_WEAK;
+bool hcd_configure(uint8_t rhport, uint32_t cfg_id, const void* cfg_param);
// Initialize controller to host mode
bool hcd_init(uint8_t rhport);
+// De-initialize controller
+bool hcd_deinit(uint8_t rhport);
+
// Interrupt Handler
void hcd_int_handler(uint8_t rhport, bool in_isr);