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

@@ -37,9 +37,12 @@ extern "C" {
// Application API
//--------------------------------------------------------------------+
// Init device stack
// Init device stack on roothub port
bool tud_init (uint8_t rhport);
// Deinit device stack on roothub port
void tud_deinit(uint8_t rhport);
// Check if device stack is already initialized
bool tud_inited(void);