enable pull-up in dcd_init() instead of usbd

This commit is contained in:
hathach
2020-08-01 20:14:58 +07:00
parent 310797a580
commit acde49ccc9
12 changed files with 17 additions and 13 deletions

View File

@@ -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