summaryrefslogtreecommitdiff
path: root/src/device/dcd.h
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2024-04-08 21:44:14 +0200
committerHiFiPhile <[email protected]>2024-04-08 21:44:14 +0200
commitadc7a78fd6fbdccbe5f586391997052f2becd149 (patch)
tree68108df608468572c43c1e65c578f6954aecf69f /src/device/dcd.h
parent9570836cece0beb6c61f1cc97e5de25dac136394 (diff)
parent42decf28f1bf7512a4c3e7402c9daf83ee241191 (diff)
Merge branch 'master' of github.com:HiFiPhile/tinyusb into vendor_fifo
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 69c26bcf4..d4f105aa3 100644
--- a/src/device/dcd.h
+++ b/src/device/dcd.h
@@ -122,6 +122,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);