Files
esp-idf/components/tinyusb/additions/include_private/usb_descriptors.h
T

28 lines
571 B
C
Raw Normal View History

2022-01-04 10:17:32 +08:00
/*
* SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
2020-03-06 15:04:06 +01:00
#pragma once
#include "tusb.h"
#include "tinyusb_types.h"
2020-03-06 15:04:06 +01:00
#ifdef __cplusplus
extern "C" {
#endif
2020-03-06 15:04:06 +01:00
#define _PID_MAP(itf, n) ((CFG_TUD_##itf) << (n))
2020-03-06 15:04:06 +01:00
extern tusb_desc_device_t descriptor_tinyusb;
extern tusb_desc_strarray_device_t descriptor_str_tinyusb;
2020-03-06 15:04:06 +01:00
extern const tusb_desc_device_t descriptor_dev_kconfig;
extern tusb_desc_strarray_device_t descriptor_str_kconfig;
extern const uint8_t descriptor_cfg_kconfig[];
2020-03-06 15:04:06 +01:00
#ifdef __cplusplus
}
#endif