2022-01-03 21:17:32 -05:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2020-03-06 09:04:06 -05:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2022-02-10 08:49:11 -05:00
|
|
|
#include "tusb.h"
|
|
|
|
#include "tinyusb_types.h"
|
2020-03-06 09:04:06 -05:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2022-02-10 08:49:11 -05:00
|
|
|
void tusb_set_descriptor(const tusb_desc_device_t *dev_desc, const char **str_desc, const uint8_t *cfg_desc);
|
2020-03-06 09:04:06 -05:00
|
|
|
tusb_desc_device_t *tusb_get_active_desc(void);
|
|
|
|
char **tusb_get_active_str_desc(void);
|
|
|
|
void tusb_clear_descriptor(void);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|