OpenCores
URL https://opencores.org/ocsvn/gecko3/gecko3/trunk

Subversion Repositories gecko3

[/] [gecko3/] [trunk/] [GECKO3COM/] [gecko3com-fw/] [firmware/] [include/] [usb_descriptors.h] - Blame information for rev 9

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 9 nussgipfel
/* GECKO3COM
2
 *
3
 * Copyright (C) 2008 by
4
 *   ___    ____  _   _
5
 *  (  _`\ (  __)( ) ( )
6
 *  | (_) )| (_  | |_| |   Berne University of Applied Sciences
7
 *  |  _ <'|  _) |  _  |   School of Engineering and
8
 *  | (_) )| |   | | | |   Information Technology
9
 *  (____/'(_)   (_) (_)
10
 *
11
 *
12
 * This program is free software: you can redistribute it and/or modify
13
 * it under the terms of the GNU General Public License as published by
14
 * the Free Software Foundation, either version 3 of the License, or
15
 * (at your option) any later version.
16
 *
17
 * This program is distributed in the hope that it will be useful,
18
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20
 * GNU General Public License for more details.
21
 * You should have received a copy of the GNU General Public License
22
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
23
 */
24
 
25
/*********************************************************************/
26
/** \file     usb_descriptors.h
27
 *********************************************************************
28
 * \brief     header file for the USB descriptors. The descriptors are
29
 *            defined outside in the usb_descriptor.a51 file.
30
 *
31
 * \author    GNUradio, Christoph Zimmermann bfh.ch
32
 *
33
*/
34
 
35
/** USB High speed device descriptor */
36
extern xdata const char high_speed_device_descr[];
37
/** USB High speed device qualifier descriptor */
38
extern xdata const char high_speed_devqual_descr[];
39
/** USB High speed configuration descriptor */
40
extern xdata const char high_speed_config_descr[];
41
 
42
/** USB Full speed device descriptor */
43
extern xdata const char full_speed_device_descr[];
44
/** USB Full speed device qualifier descriptor */
45
extern xdata const char full_speed_devqual_descr[];
46
/** USB Full speed configuration descriptor */
47
extern xdata const char full_speed_config_descr[];
48
 
49
#ifdef USB_DFU_SUPPORT
50
/** USB DFU mode device descriptor */
51
extern xdata const char dfu_mode_device_descr[];
52
/** USB DFU mode configuration descriptor */
53
extern xdata const char dfu_mode_config_descr[];
54
/** USB DFU mode functional descriptor */
55
extern xdata const char dfu_mode_functional_descr[];
56
#endif
57
 
58
/** Number of USB String descriptors available */
59
extern xdata unsigned char nstring_descriptors;
60
 
61
/** USB String descriptors */
62
extern xdata char * xdata string_descriptors[];
63
 
64
/** We patch these locations with info read from the config eeprom */
65
extern xdata char usb_desc_hw_rev_binary_patch_location_0[];
66
/** We patch these locations with info read from the config eeprom */
67
extern xdata char usb_desc_hw_rev_binary_patch_location_1[];
68
/** We patch these locations with info read from the config eeprom */
69
extern xdata char usb_desc_hw_rev_binary_patch_location_2[];
70
/** We patch these locations with info read from the config eeprom */
71
/*extern xdata char usb_desc_hw_rev_ascii_patch_location_0[];*/
72
/** We patch these locations with info read from the config eeprom */
73
extern xdata char usb_desc_serial_number_ascii[];
74
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.