diff options
| author | HiFiPhile <[email protected]> | 2024-05-13 21:08:11 +0200 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2024-05-13 21:08:11 +0200 |
| commit | 0fce7d1f54f5fc405bee3ac20ad6bbdb966abcd0 (patch) | |
| tree | 1c3c32588f98b69f4fdca963d937ec5289ffc078 /src/device/dcd.h | |
| parent | d0373f4749e320c7cb3fac9cce068b4398e60f2f (diff) | |
| parent | d707ea56b47e2fbbe5eaa4854a427a3a7873dea3 (diff) | |
Merge branch 'master' into test-mode-support
Diffstat (limited to 'src/device/dcd.h')
| -rw-r--r-- | src/device/dcd.h | 3 |
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); |
