ARMEBS4  revision-26.06.2015
usbd_msc_data.h
1 #include "heivs/config.h"
2 #if (USE_STM32_USB_USE_DEVICE_MODE)
3 /**
4  ******************************************************************************
5  * @file usbd_msc_data.h
6  * @author MCD Application Team
7  * @version V1.1.0
8  * @date 19-March-2012
9  * @brief header for the usbd_msc_data.c file
10  ******************************************************************************
11  * @attention
12  *
13  * <h2><center>&copy; COPYRIGHT 2012 STMicroelectronics</center></h2>
14  *
15  * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
16  * You may not use this file except in compliance with the License.
17  * You may obtain a copy of the License at:
18  *
19  * http://www.st.com/software_license_agreement_liberty_v2
20  *
21  * Unless required by applicable law or agreed to in writing, software
22  * distributed under the License is distributed on an "AS IS" BASIS,
23  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24  * See the License for the specific language governing permissions and
25  * limitations under the License.
26  *
27  ******************************************************************************
28  */
29 
30 /* Define to prevent recursive inclusion -------------------------------------*/
31 
32 #ifndef _USBD_MSC_DATA_H_
33 #define _USBD_MSC_DATA_H_
34 
35 /* Includes ------------------------------------------------------------------*/
36 #include "config/usbd_conf.h"
37 #include <stdint.h>
38 /** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY
39  * @{
40  */
41 
42 /** @defgroup USB_INFO
43  * @brief general defines for the usb device library file
44  * @{
45  */
46 
47 /** @defgroup USB_INFO_Exported_Defines
48  * @{
49  */
50 #define MODE_SENSE6_LEN 8
51 #define MODE_SENSE10_LEN 8
52 #define LENGTH_INQUIRY_PAGE00 7
53 #define LENGTH_FORMAT_CAPACITIES 20
54 
55 /**
56  * @}
57  */
58 
59 
60 /** @defgroup USBD_INFO_Exported_TypesDefinitions
61  * @{
62  */
63 /**
64  * @}
65  */
66 
67 
68 
69 /** @defgroup USBD_INFO_Exported_Macros
70  * @{
71  */
72 
73 /**
74  * @}
75  */
76 
77 /** @defgroup USBD_INFO_Exported_Variables
78  * @{
79  */
80 extern const uint8_t MSC_Page00_Inquiry_Data[];
81 extern const uint8_t MSC_Mode_Sense6_data[];
82 extern const uint8_t MSC_Mode_Sense10_data[] ;
83 
84 /**
85  * @}
86  */
87 
88 /** @defgroup USBD_INFO_Exported_FunctionsPrototype
89  * @{
90  */
91 
92 /**
93  * @}
94  */
95 
96 #endif /* _USBD_MSC_DATA_H_ */
97 
98 /**
99  * @}
100  */
101 
102 /**
103 * @}
104 */
105 
106 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
107 #endif /* (USE_STM32_USB_HOST_MODE || USE_STM32_USB_USE_DEVICE_MODE || USE_STM32_USB_OTG_MODE) */
libheivs configuration file