ESP-IDF Firmware
Firmware architecture and call graph
Loading...
Searching...
No Matches
tinyusb_types.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
#ifdef __cplusplus
10
extern
"C"
{
11
#endif
12
13
#define USB_ESPRESSIF_VID 0x303A
14
#define USB_STRING_DESCRIPTOR_ARRAY_SIZE 8
// (4 + TINYUSB_STR_DESC_LEN)
15
16
typedef
enum
{
17
TINYUSB_USBDEV_0
,
18
}
tinyusb_usbdev_t
;
19
20
typedef
const
char
*
tusb_desc_strarray_device_t
[
USB_STRING_DESCRIPTOR_ARRAY_SIZE
];
21
22
#ifdef __cplusplus
23
}
24
#endif
tinyusb_usbdev_t
tinyusb_usbdev_t
Definition
tinyusb_types.h:16
TINYUSB_USBDEV_0
@ TINYUSB_USBDEV_0
Definition
tinyusb_types.h:17
USB_STRING_DESCRIPTOR_ARRAY_SIZE
#define USB_STRING_DESCRIPTOR_ARRAY_SIZE
Definition
tinyusb_types.h:14
tusb_desc_strarray_device_t
const char * tusb_desc_strarray_device_t[8]
Definition
tinyusb_types.h:20
components
espressif__esp_tinyusb
include
tinyusb_types.h
Generated by
1.16.1