ESP-IDF Firmware
Firmware architecture and call graph
Loading...
Searching...
No Matches
descriptors_control.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#pragma once
8
9#include "tusb.h"
10#include "tinyusb_types.h"
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16void tusb_set_descriptor(const tusb_desc_device_t *dev_desc, const char **str_desc, const uint8_t *cfg_desc);
17tusb_desc_device_t *tusb_get_active_desc(void);
18char **tusb_get_active_str_desc(void);
19void tusb_clear_descriptor(void);
20
21#ifdef __cplusplus
22}
23#endif
char ** tusb_get_active_str_desc(void)
tusb_desc_device_t * tusb_get_active_desc(void)
void tusb_set_descriptor(const tusb_desc_device_t *dev_desc, const char **str_desc, const uint8_t *cfg_desc)
void tusb_clear_descriptor(void)