diff options
| author | hathach <[email protected]> | 2020-08-01 20:14:58 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-08-01 20:14:58 +0700 |
| commit | acde49ccc97466f603dc7face7ab70ea10d38ee3 (patch) | |
| tree | 39faa19822bd0a3fee11bf3d6e05aa3157f70fe4 /docs | |
| parent | 310797a58073dbd6d56eb4c85afd354949ce6630 (diff) | |
enable pull-up in dcd_init() instead of usbd
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/porting.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/porting.md b/docs/porting.md index 473768450..d3c688a81 100644 --- a/docs/porting.md +++ b/docs/porting.md @@ -62,7 +62,7 @@ All of the code for the low-level device API is in `src/portable/<vendor>/<chip ##### dcd_init Initializes the USB peripheral for device mode and enables it. -This function should leave an internal D+/D- pull-up in its default power-on state. `dcd_connect` will be called by the USBD core following `dcd_init`. +This function should enable internal D+/D- pull-up for enumeration. ##### dcd_int_enable / dcd_int_disable |
