STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
usbd_desc.h
Go to the documentation of this file.
1
/* USER CODE BEGIN Header */
2
/**
3
******************************************************************************
4
* @file : usbd_desc.c
5
* @version : v1.0_Cube
6
* @brief : Header for usbd_conf.c file.
7
******************************************************************************
8
* @attention
9
*
10
* Copyright (c) 2026 STMicroelectronics.
11
* All rights reserved.
12
*
13
* This software is licensed under terms that can be found in the LICENSE file
14
* in the root directory of this software component.
15
* If no LICENSE file comes with this software, it is provided AS-IS.
16
*
17
******************************************************************************
18
*/
19
/* USER CODE END Header */
20
/* Define to prevent recursive inclusion -------------------------------------*/
21
#ifndef __USBD_DESC__C__
22
#define __USBD_DESC__C__
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
28
/* Includes ------------------------------------------------------------------*/
29
#include "
usbd_def.h
"
30
31
/* USER CODE BEGIN INCLUDE */
32
33
/* USER CODE END INCLUDE */
34
35
/** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY
36
* @{
37
*/
38
39
/** @defgroup USBD_DESC USBD_DESC
40
* @brief Usb device descriptors module.
41
* @{
42
*/
43
44
/*
45
* User to provide a unique ID to define the USB device serial number
46
* The use of UID_BASE register can be considered as an example
47
*/
48
#define DEVICE_ID1 (UID_BASE)
49
#define DEVICE_ID2 (UID_BASE + 0x4)
50
#define DEVICE_ID3 (UID_BASE + 0x8)
51
52
#define USB_SIZ_STRING_SERIAL 0x1A
53
54
/* USER CODE BEGIN EXPORTED_CONSTANTS */
55
56
/* USER CODE END EXPORTED_CONSTANTS */
57
58
/**
59
* @}
60
*/
61
62
/** @defgroup USBD_DESC_Exported_Defines USBD_DESC_Exported_Defines
63
* @brief Defines.
64
* @{
65
*/
66
67
/* USER CODE BEGIN EXPORTED_DEFINES */
68
69
/* USER CODE END EXPORTED_DEFINES */
70
71
/**
72
* @}
73
*/
74
75
/** @defgroup USBD_DESC_Exported_TypesDefinitions USBD_DESC_Exported_TypesDefinitions
76
* @brief Types.
77
* @{
78
*/
79
80
/* USER CODE BEGIN EXPORTED_TYPES */
81
82
/* USER CODE END EXPORTED_TYPES */
83
84
/**
85
* @}
86
*/
87
88
/** @defgroup USBD_DESC_Exported_Macros USBD_DESC_Exported_Macros
89
* @brief Aliases.
90
* @{
91
*/
92
93
/* USER CODE BEGIN EXPORTED_MACRO */
94
95
/* USER CODE END EXPORTED_MACRO */
96
97
/**
98
* @}
99
*/
100
101
/** @defgroup USBD_DESC_Exported_Variables USBD_DESC_Exported_Variables
102
* @brief Public variables.
103
* @{
104
*/
105
106
/** Descriptor for the Usb device. */
107
extern
USBD_DescriptorsTypeDef
HS_Desc
;
108
109
/* USER CODE BEGIN EXPORTED_VARIABLES */
110
111
/* USER CODE END EXPORTED_VARIABLES */
112
113
/**
114
* @}
115
*/
116
117
/** @defgroup USBD_DESC_Exported_FunctionsPrototype USBD_DESC_Exported_FunctionsPrototype
118
* @brief Public functions declaration.
119
* @{
120
*/
121
122
/* USER CODE BEGIN EXPORTED_FUNCTIONS */
123
124
/* USER CODE END EXPORTED_FUNCTIONS */
125
126
/**
127
* @}
128
*/
129
130
/**
131
* @}
132
*/
133
134
/**
135
* @}
136
*/
137
138
#ifdef __cplusplus
139
}
140
#endif
141
142
#endif
/* __USBD_DESC__C__ */
143
HS_Desc
USBD_DescriptorsTypeDef HS_Desc
Descriptor for the Usb device.
Definition
usbd_desc.c:134
USBD_DescriptorsTypeDef
Definition
usbd_def.h:289
usbd_def.h
General defines for the usb device library.
firmware
Flight_Computer
USB_DEVICE
App
usbd_desc.h
Generated by
1.15.0