stm32fsdev: set dcd_connect API definitions to strong, Modify documentation.

This commit is contained in:
Nathan Conrad
2020-04-10 10:23:56 -04:00
parent 715c4dbbf8
commit 5bd9d14fc1
3 changed files with 7 additions and 7 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.
If the MCU has an internal pull-up, this function should leave it disabled.
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`.
#### dcd_int_enable / dcd_int_disable
@@ -81,7 +81,7 @@ Called to remote wake up host when suspended (e.g hid keyboard)
##### dcd_connect / dcd_disconnect
Connect or disconnect the data-line pull-up resistor. Define as a weak function if the MCU has an internal pull-up, otherwise do not define.
Connect or disconnect the data-line pull-up resistor. Define only if MCU has an internal pull-up. (BSP may define for MCU without internal pull-up.)
#### Special events
You must let TinyUSB know when certain events occur so that it can continue its work. There are a few methods you can call to queue events for TinyUSB to process.