|
ESP-IDF Firmware
Firmware architecture and call graph
|
#include <stdbool.h>#include "esp_err.h"#include "tusb.h"#include "tusb_option.h"#include "tusb_config.h"#include "tinyusb_types.h"Go to the source code of this file.
Data Structures | |
| struct | tinyusb_config_t |
| Configuration structure of the TinyUSB core. More... | |
Functions | |
| esp_err_t | tinyusb_driver_install (const tinyusb_config_t *config) |
| This is an all-in-one helper function, including: | |
| esp_err_t tinyusb_driver_install | ( | const tinyusb_config_t * | config | ) |
This is an all-in-one helper function, including:
| config | tinyusb stack specific configuration |
| ESP_ERR_INVALID_ARG | Install driver and tinyusb stack failed because of invalid argument |
| ESP_FAIL | Install driver and tinyusb stack failed because of internal error |
| ESP_OK | Install driver and tinyusb stack successfully |
Definition at line 32 of file tinyusb.c.
References tinyusb_config_t::configuration_descriptor, descriptor_cfg_kconfig, descriptor_dev_kconfig, descriptor_str_kconfig, tinyusb_config_t::device_descriptor, ESP_OK, ESP_RETURN_ON_ERROR, tinyusb_config_t::external_phy, phy_hdl, tinyusb_config_t::self_powered, tinyusb_config_t::string_descriptor, TAG, tusb_run_task(), tusb_set_descriptor(), USBPHY_OEN_NUM, USBPHY_RCV_NUM, USBPHY_VM_NUM, USBPHY_VMO_NUM, USBPHY_VP_NUM, USBPHY_VPO_NUM, and tinyusb_config_t::vbus_monitor_io.
Referenced by app_main().