Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | mjames | 1 | /* USER CODE BEGIN Header */ |
2 | /** |
||
3 | ****************************************************************************** |
||
4 | * @file : usb_device.h |
||
5 | * @version : v2.0_Cube |
||
6 | * @brief : Header for usb_device.c file. |
||
7 | ****************************************************************************** |
||
8 | * @attention |
||
9 | * |
||
10 | * <h2><center>© Copyright (c) 2019 STMicroelectronics. |
||
11 | * All rights reserved.</center></h2> |
||
12 | * |
||
13 | * This software component is licensed by ST under Ultimate Liberty license |
||
14 | * SLA0044, the "License"; You may not use this file except in compliance with |
||
15 | * the License. You may obtain a copy of the License at: |
||
16 | * www.st.com/SLA0044 |
||
17 | * |
||
18 | ****************************************************************************** |
||
19 | */ |
||
20 | /* USER CODE END Header */ |
||
21 | |||
22 | /* Define to prevent recursive inclusion -------------------------------------*/ |
||
23 | #ifndef __USB_DEVICE__H__ |
||
24 | #define __USB_DEVICE__H__ |
||
25 | |||
26 | #ifdef __cplusplus |
||
27 | extern "C" { |
||
28 | #endif |
||
29 | |||
30 | /* Includes ------------------------------------------------------------------*/ |
||
31 | #include "stm32f1xx.h" |
||
32 | #include "stm32f1xx_hal.h" |
||
33 | #include "usbd_def.h" |
||
34 | |||
35 | /* USER CODE BEGIN INCLUDE */ |
||
36 | |||
37 | /* USER CODE END INCLUDE */ |
||
38 | |||
39 | /** @addtogroup USBD_OTG_DRIVER |
||
40 | * @{ |
||
41 | */ |
||
42 | |||
43 | /** @defgroup USBD_DEVICE USBD_DEVICE |
||
44 | * @brief Device file for Usb otg low level driver. |
||
45 | * @{ |
||
46 | */ |
||
47 | |||
48 | /** @defgroup USBD_DEVICE_Exported_Variables USBD_DEVICE_Exported_Variables |
||
49 | * @brief Public variables. |
||
50 | * @{ |
||
51 | */ |
||
52 | |||
53 | /* Private variables ---------------------------------------------------------*/ |
||
54 | /* USER CODE BEGIN PV */ |
||
55 | |||
56 | /* USER CODE END PV */ |
||
57 | |||
58 | /* Private function prototypes -----------------------------------------------*/ |
||
59 | /* USER CODE BEGIN PFP */ |
||
60 | |||
61 | /* USER CODE END PFP */ |
||
62 | |||
63 | /* |
||
64 | * -- Insert your variables declaration here -- |
||
65 | */ |
||
66 | /* USER CODE BEGIN VARIABLES */ |
||
67 | |||
68 | /* USER CODE END VARIABLES */ |
||
69 | /** |
||
70 | * @} |
||
71 | */ |
||
72 | |||
73 | /** @defgroup USBD_DEVICE_Exported_FunctionsPrototype USBD_DEVICE_Exported_FunctionsPrototype |
||
74 | * @brief Declaration of public functions for Usb device. |
||
75 | * @{ |
||
76 | */ |
||
77 | |||
78 | /** USB Device initialization function. */ |
||
79 | void MX_USB_DEVICE_Init(void); |
||
80 | |||
81 | /* |
||
82 | * -- Insert functions declaration here -- |
||
83 | */ |
||
84 | /* USER CODE BEGIN FD */ |
||
85 | |||
86 | /* USER CODE END FD */ |
||
87 | /** |
||
88 | * @} |
||
89 | */ |
||
90 | |||
91 | /** |
||
92 | * @} |
||
93 | */ |
||
94 | |||
95 | /** |
||
96 | * @} |
||
97 | */ |
||
98 | |||
99 | #ifdef __cplusplus |
||
100 | } |
||
101 | #endif |
||
102 | |||
103 | #endif /* __USB_DEVICE__H__ */ |
||
104 | |||
105 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |