diff options
| author | Ha Thach <[email protected]> | 2023-08-07 23:10:47 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-08-07 23:10:47 +0700 |
| commit | 51a0889b75fc2da6675530d68f3ae765c44849f4 (patch) | |
| tree | 89f120f72ed9ca19cb89aea45f1df80af130042b /src/host/hcd.h | |
| parent | 1b92108bc33bb87a2d7ca11dde739837c9571d4e (diff) | |
| parent | 4938971aad2f2a6adb71f4d8ce76e1d4b664092d (diff) | |
Merge pull request #2211 from hathach/host-usb-reset
Host usb reset
Diffstat (limited to 'src/host/hcd.h')
| -rw-r--r-- | src/host/hcd.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/host/hcd.h b/src/host/hcd.h index d77dd6e2f..9bcc1c6df 100644 --- a/src/host/hcd.h +++ b/src/host/hcd.h @@ -149,10 +149,11 @@ uint32_t hcd_frame_number(uint8_t rhport); // Get the current connect status of roothub port bool hcd_port_connect_status(uint8_t rhport); -// Reset USB bus on the port +// Reset USB bus on the port. Return immediately, bus reset sequence may not be complete. +// Some port would require hcd_port_reset_end() to be invoked after 10ms to complete the reset sequence. void hcd_port_reset(uint8_t rhport); -// TODO implement later +// Complete bus reset sequence, may be required by some controllers void hcd_port_reset_end(uint8_t rhport); // Get port link speed |
