usb_descriptors.c File Reference

#include "config.h"
#include "conf_usb.h"
#include "lib_mcu/usb/usb_drv.h"
#include "usb_descriptors.h"
#include "modules/usb/device_chap9/usb_standard_request.h"
#include "usb_specific_request.h"
#include "lib_mcu/flash/flash_drv.h"

Include dependency graph for usb_descriptors.c:

Go to the source code of this file.

Variables

code
S_usb_device_descriptor 
usb_dev_desc
code
S_usb_user_configuration_descriptor 
usb_conf_desc
code
S_usb_manufacturer_string_descriptor 
usb_user_manufacturer_string_descriptor
code
S_usb_product_string_descriptor 
usb_user_product_string_descriptor
code S_usb_serial_number usb_user_serial_number
code S_usb_language_id usb_user_language_id


Detailed Description

Mass Storage USB parameters.

This file contains the usb parameters that uniquely identify the application through descriptor tables.

Author:
Atmel Corporation: http://www.atmel.com
Support and FAQ: http://support.atmel.no/

Definition in file usb_descriptors.c.


Variable Documentation

code S_usb_device_descriptor usb_dev_desc

Initial value:

{
  sizeof(usb_dev_desc)
, DESCRIPTOR_DEVICE
, Usb_write_word_enum_struc( 0x0200 )
,  0 
,  0 
,  0 
,  64 
, Usb_write_word_enum_struc( VID_ATMEL )
, Usb_write_word_enum_struc( 0x0000 )
, Usb_write_word_enum_struc( 0x1000 )
,  0x01 
,  0x02 
,  0x03 
,  1 
}

Definition at line 69 of file usb_descriptors.c.

code S_usb_user_configuration_descriptor usb_conf_desc

Definition at line 88 of file usb_descriptors.c.

code S_usb_manufacturer_string_descriptor usb_user_manufacturer_string_descriptor

Initial value:

 {
  sizeof(usb_user_manufacturer_string_descriptor)
, DESCRIPTOR_STRING
,  { ((U16)( 'A' ))  , ((U16)( 'T' ))  , ((U16)( 'M' ))  , ((U16)( 'E' ))  , ((U16)( 'L' ))  } 
}

Definition at line 154 of file usb_descriptors.c.

Referenced by usb_user_get_descriptor().

code S_usb_product_string_descriptor usb_user_product_string_descriptor

Initial value:

 {
  sizeof(usb_user_product_string_descriptor)
, DESCRIPTOR_STRING
,  { ((U16)( 'A' ))   ,((U16)( 'V' ))   ,((U16)( 'R' ))   ,((U16)( ' ' ))   ,((U16)( 'U' ))   ,((U16)( 'S' ))   ,((U16)( 'B' ))   ,((U16)( ' ' ))   ,((U16)( 'D' ))   ,((U16)( 'E' ))   ,((U16)( 'V' ))   ,((U16)( 'I' ))   ,((U16)( 'C' ))   ,((U16)( 'E' ))  } 
}

Definition at line 163 of file usb_descriptors.c.

Referenced by usb_user_get_descriptor().

code S_usb_serial_number usb_user_serial_number

Initial value:

Definition at line 172 of file usb_descriptors.c.

Referenced by usb_user_get_descriptor().

code S_usb_language_id usb_user_language_id

Initial value:

Definition at line 186 of file usb_descriptors.c.

Referenced by usb_user_get_descriptor().


Generated on Fri Sep 11 15:02:35 2009 for ATMEL by  doxygen 1.5.3