docs: tinyusb documentation

This commit is contained in:
Andrei Gramakov
2020-08-18 11:51:32 +02:00
parent 3663c6df0d
commit c863b4c777
11 changed files with 195 additions and 36 deletions

View File

@@ -71,9 +71,9 @@ extern "C" {
* @brief Configuration structure of the tinyUSB core
*/
typedef struct {
tusb_desc_device_t *descriptor;
char **string_descriptor;
bool external_phy;
tusb_desc_device_t *descriptor; /*!< Pointer to a device descriptor */
char **string_descriptor; /*!< Pointer to an array of string descriptors */
bool external_phy; /*!< Should USB use an external PHY */
} tinyusb_config_t;
esp_err_t tinyusb_driver_install(const tinyusb_config_t *config);