Implements tuh_deinit() and tud_deinit() to uninitialize host/device mode.

This commit is contained in:
Felix "xq" Queißner
2023-01-02 17:09:45 +01:00
committed by hathach
parent bc10394e66
commit 47c12a07f2
4 changed files with 27 additions and 1 deletions

View File

@@ -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.
void dcd_deinit(uint8_t rhport);
// Interrupt Handler
void dcd_int_handler(uint8_t rhport);