diff options
| author | hathach <[email protected]> | 2024-03-22 11:42:33 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-03-22 11:42:33 +0700 |
| commit | 74bd2647589790b3bee49146774133c2061a34fe (patch) | |
| tree | e318a7b93b7f00133f4b658458548b3e4c61270d /src/host/hcd.h | |
| parent | 08b09926a4f33d94b15d7e87b88b1b9a14b95388 (diff) | |
adding deinit() stub for usbh/hcd class driver
add TUSB_VERSION_BUILD, also add TUSB_VERSION_NUMBER
Diffstat (limited to 'src/host/hcd.h')
| -rw-r--r-- | src/host/hcd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/host/hcd.h b/src/host/hcd.h index 2bde289df..d5804c608 100644 --- a/src/host/hcd.h +++ b/src/host/hcd.h @@ -130,6 +130,9 @@ bool hcd_configure(uint8_t rhport, uint32_t cfg_id, const void* cfg_param) TU_AT // Initialize controller to host mode bool hcd_init(uint8_t rhport); +// De-initialize controller +bool hcd_deinit(uint8_t rhport); + // Interrupt Handler void hcd_int_handler(uint8_t rhport, bool in_isr); |
