mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Create readme Started commenting the files in english NO Optimisations yet, just trying to get it all working over as is first Using newer STM StdPeriph libs (i think they are newer?)
36 lines
1.2 KiB
C
36 lines
1.2 KiB
C
/******************** (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 ******************************/
|
|
|
|
|