summaryrefslogtreecommitdiff
path: root/src/device/dcd.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/device/dcd.h
parentd0373f4749e320c7cb3fac9cce068b4398e60f2f (diff)
parentd707ea56b47e2fbbe5eaa4854a427a3a7873dea3 (diff)
Merge branch 'master' into test-mode-support
Diffstat (limited to 'src/device/dcd.h')
-rw-r--r--src/device/dcd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/device/dcd.h b/src/device/dcd.h
index 0dca4b9f6..b71b99869 100644
--- a/src/device/dcd.h
+++ b/src/device/dcd.h
@@ -131,6 +131,9 @@ void dcd_dcache_clean_invalidate(void const* addr, uint32_t data_size) TU_ATTR_W
// Initialize controller to device mode
void dcd_init(uint8_t rhport);
+// Deinitialize controller, unset device mode.
+bool dcd_deinit(uint8_t rhport);
+
// Interrupt Handler
void dcd_int_handler(uint8_t rhport);