NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
usb_desc.c File Reference

Descriptors for Virtual Com Port Demo. More...

#include "usb_lib.h"
#include "usb_desc.h"
Include dependency graph for usb_desc.c:

Variables

const uint8_t Virtual_Com_Port_DeviceDescriptor []
 
const uint8_t Virtual_Com_Port_ConfigDescriptor []
 
const uint8_t Virtual_Com_Port_StringLangID [VIRTUAL_COM_PORT_SIZ_STRING_LANGID]
 
const uint8_t Virtual_Com_Port_StringVendor [VIRTUAL_COM_PORT_SIZ_STRING_VENDOR]
 
const uint8_t Virtual_Com_Port_StringProduct [VIRTUAL_COM_PORT_SIZ_STRING_PRODUCT]
 
uint8_t Virtual_Com_Port_StringSerial [VIRTUAL_COM_PORT_SIZ_STRING_SERIAL]
 

Detailed Description

Descriptors for Virtual Com Port Demo.

Author
MCD Application Team
Version
V4.0.0
Date
21-January-2013
Attention

© COPYRIGHT 2013 STMicroelectronics

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

   http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Variable Documentation

const uint8_t Virtual_Com_Port_ConfigDescriptor[]
const uint8_t Virtual_Com_Port_DeviceDescriptor[]
Initial value:
= { 0x12,
0x00, 0x02,
0x02,
0x00,
0x00,
0x40,
0x83, 0x04,
0x40, 0x57,
0x00, 0x02,
1,
2,
3,
0x01
}
#define USB_DEVICE_DESCRIPTOR_TYPE
Definition: usb_desc.h:37
const uint8_t Virtual_Com_Port_StringLangID[VIRTUAL_COM_PORT_SIZ_STRING_LANGID]
Initial value:
= {
}
#define USB_STRING_DESCRIPTOR_TYPE
Definition: usb_desc.h:39
#define VIRTUAL_COM_PORT_SIZ_STRING_LANGID
Definition: usb_desc.h:48
const uint8_t Virtual_Com_Port_StringProduct[VIRTUAL_COM_PORT_SIZ_STRING_PRODUCT]
Initial value:
= {
'S', 0, 'T', 0, 'M', 0, '3', 0, '2', 0, ' ', 0, 'V', 0, 'i', 0, 'r', 0, 't', 0, 'u', 0, 'a', 0, 'l', 0, ' ', 0, 'C', 0, 'O', 0, 'M', 0, ' ', 0, 'P', 0, 'o', 0, 'r', 0, 't', 0, ' ', 0, ' ', 0 }
#define USB_STRING_DESCRIPTOR_TYPE
Definition: usb_desc.h:39
#define VIRTUAL_COM_PORT_SIZ_STRING_PRODUCT
Definition: usb_desc.h:50
uint8_t Virtual_Com_Port_StringSerial[VIRTUAL_COM_PORT_SIZ_STRING_SERIAL]
Initial value:
= {
'S', 0, 'T', 0, 'M', 0, '3', 0, '2', 0 }
#define USB_STRING_DESCRIPTOR_TYPE
Definition: usb_desc.h:39
#define VIRTUAL_COM_PORT_SIZ_STRING_SERIAL
Definition: usb_desc.h:51
const uint8_t Virtual_Com_Port_StringVendor[VIRTUAL_COM_PORT_SIZ_STRING_VENDOR]
Initial value:
= {
'S', 0, 'T', 0, 'M', 0, 'i', 0, 'c', 0, 'r', 0, 'o', 0, 'e', 0, 'l', 0, 'e', 0, 'c', 0, 't', 0, 'r', 0, 'o', 0, 'n', 0, 'i', 0, 'c', 0, 's', 0 }
#define USB_STRING_DESCRIPTOR_TYPE
Definition: usb_desc.h:39
#define VIRTUAL_COM_PORT_SIZ_STRING_VENDOR
Definition: usb_desc.h:49