mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
first commit
This commit is contained in:
35
S100App/Inc/USB_desc.h
Normal file
35
S100App/Inc/USB_desc.h
Normal file
@@ -0,0 +1,35 @@
|
||||
/******************** (C) COPYRIGHT 2015 e-Design Co., Ltd. ********************
|
||||
File Name : USB_desc.h
|
||||
Version : STM32 USB Disk Ver 3.4 Author : MCD Application Team & bure
|
||||
*******************************************************************************/
|
||||
#ifndef __USB_DESC_H
|
||||
#define __USB_DESC_H
|
||||
|
||||
#ifdef STM32F30X
|
||||
#include "STM32F30x.h"
|
||||
#else
|
||||
#include "STM32F10x.h"
|
||||
#endif
|
||||
|
||||
#define MASS_SIZ_DEVICE_DESC 18
|
||||
#define MASS_SIZ_CONFIG_DESC 32
|
||||
|
||||
#define MASS_SIZ_STRING_LANGID 4
|
||||
#define MASS_SIZ_STRING_VENDOR 38
|
||||
#define MASS_SIZ_STRING_PRODUCT 38
|
||||
#define MASS_SIZ_STRING_SERIAL 26
|
||||
#define MASS_SIZ_STRING_INTERFACE 16
|
||||
|
||||
extern const u8 MASS_DeviceDescriptor[MASS_SIZ_DEVICE_DESC];
|
||||
extern const u8 MASS_ConfigDescriptor[MASS_SIZ_CONFIG_DESC];
|
||||
|
||||
extern const u8 MASS_StringLangID[MASS_SIZ_STRING_LANGID];
|
||||
extern const u8 MASS_StringVendor[MASS_SIZ_STRING_VENDOR];
|
||||
extern const u8 MASS_StringProduct[MASS_SIZ_STRING_PRODUCT];
|
||||
extern u8 MASS_StringSerial[MASS_SIZ_STRING_SERIAL];
|
||||
extern const u8 MASS_StringInterface[MASS_SIZ_STRING_INTERFACE];
|
||||
|
||||
#endif
|
||||
/********************************* END OF FILE ******************************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user