summaryrefslogtreecommitdiff
path: root/src/portable/st/stm32_fsdev/fsdev_common.h
diff options
context:
space:
mode:
authorZixun LI <[email protected]>2025-11-27 11:34:37 +0100
committerZixun LI <[email protected]>2025-11-27 11:34:37 +0100
commit9742ba734f8ef780fb2b4c94848c4bd534afdafe (patch)
tree7da0d258f26488c59bd8ebc6a405637427c5dd89 /src/portable/st/stm32_fsdev/fsdev_common.h
parent5d56828e43ef5f894c4586e7e7a61c3fbbbbfaf9 (diff)
Add fsdev_deinit
Signed-off-by: Zixun LI <[email protected]>
Diffstat (limited to 'src/portable/st/stm32_fsdev/fsdev_common.h')
-rw-r--r--src/portable/st/stm32_fsdev/fsdev_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/portable/st/stm32_fsdev/fsdev_common.h b/src/portable/st/stm32_fsdev/fsdev_common.h
index 9cf61031d..0c67ee0c7 100644
--- a/src/portable/st/stm32_fsdev/fsdev_common.h
+++ b/src/portable/st/stm32_fsdev/fsdev_common.h
@@ -314,6 +314,9 @@ TU_ATTR_ALWAYS_INLINE static inline void btable_set_count(uint32_t ep_id, uint8_
// Reset the USB Core
void fsdev_core_reset(void);
+// De-initialize the USB Core
+void fsdev_deinit(void);
+
// Aligned buffer size according to hardware
uint16_t pma_align_buffer_size(uint16_t size, uint8_t* blsize, uint8_t* num_block);