Xmega Application Note | |||||
This file contains the usb parameters that uniquely identify the application through descriptor tables.
Copyright (c) 2010, Atmel Corporation All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. The name of ATMEL may not be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file usb_descriptors.c.
#include "config.h"
#include "conf_usb.h"
#include "usb_drv.h"
#include "usb_descriptors.h"
#include "usb_standard_request.h"
#include "usb_specific_request.h"
Go to the source code of this file.
usb_user_configuration_descriptor FS
Definition at line 79 of file usb_descriptors.c.
Initial value:
{ sizeof(usb_dev_desc), DEVICE_DESCRIPTOR, Usb_write_word_enum_struc(USB_SPECIFICATION), DEVICE_CLASS, DEVICE_SUB_CLASS, DEVICE_PROTOCOL, EP_CONTROL_LENGTH, Usb_write_word_enum_struc(VENDOR_ID), Usb_write_word_enum_struc(PRODUCT_ID), Usb_write_word_enum_struc(RELEASE_NUMBER), MAN_INDEX, PROD_INDEX, SN_INDEX, NB_CONFIGURATION, }
Definition at line 59 of file usb_descriptors.c.
Initial value:
{ sizeof(usb_if0_descriptor), STRING_DESCRIPTOR, USB_IF0_DESCRIPT }
Definition at line 206 of file usb_descriptors.c.
Referenced by usb_user_get_descriptor().
Initial value:
usb_user_language_idDefinition at line 197 of file usb_descriptors.c.
Referenced by usb_user_get_descriptor().
Initial value:
usb_user_manufacturer_string_descriptorDefinition at line 170 of file usb_descriptors.c.
Referenced by usb_user_get_descriptor().
Initial value:
usb_user_product_string_descriptorDefinition at line 179 of file usb_descriptors.c.
Referenced by usb_user_get_descriptor().
Initial value:
{ sizeof(usb_user_serial_number), STRING_DESCRIPTOR, USB_SERIAL_NUMBER }
Definition at line 188 of file usb_descriptors.c.
Generated on Mon Jan 18 09:26:11 2010 for AVR1907 Xplain USB Gateway by ![]() |