usb_descriptors.c File Reference

,vUSB parameters. More...

#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 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
code S_usb_hid_report_descriptor usb_hid_report_descriptor


Detailed Description

,vUSB parameters.

Copyright (c) 2004 Atmel.

Use of this program is subject to Atmel's End User License Agreement. Please read file license.txt for copyright notice.

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

Version:
1.3 at90usb128-demo-hidgen-1_0_0
Id
usb_descriptors.c,v 1.3 2006/03/17 13:06:34 rletendu Exp
Todo:
Bug:

Definition in file usb_descriptors.c.


Variable Documentation

code S_usb_device_descriptor usb_dev_desc
 

Initial value:

{
  sizeof(usb_dev_desc)
, DEVICE_DESCRIPTOR
, Usb_write_word_enum_struc( 0x0200 )
,  0 
,  0 
,  0 
,  64 
, Usb_write_word_enum_struc( 0x03EB )
, Usb_write_word_enum_struc( 0x201D )
, Usb_write_word_enum_struc( 0x1000 )
,  0x01 
,  0x02 
,  0x03 
,  1 
}

Definition at line 38 of file usb_descriptors.c.

code S_usb_user_configuration_descriptor usb_conf_desc
 

Definition at line 57 of file usb_descriptors.c.

code S_usb_manufacturer_string_descriptor usb_user_manufacturer_string_descriptor
 

Initial value:

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

Definition at line 102 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)
, STRING_DESCRIPTOR
,  { ((U16)( 'A' ))   ,((U16)( 'V' ))   ,((U16)( 'R' ))   ,((U16)( ' ' ))   ,((U16)( 'U' ))   ,((U16)( 'S' ))   ,((U16)( 'B' ))   ,((U16)( ' ' ))   ,((U16)( 'H' ))   ,((U16)( 'I' ))   ,((U16)( 'D' ))   ,((U16)( ' ' ))   ,((U16)( 'D' ))   ,((U16)( 'E' ))   ,((U16)( 'M' ))   ,((U16)( 'O' ))  } 
}

Definition at line 111 of file usb_descriptors.c.

Referenced by usb_user_get_descriptor().

code S_usb_serial_number usb_user_serial_number
 

Initial value:

 {
  sizeof(usb_user_serial_number)
, STRING_DESCRIPTOR
,  { ((U16)( '1' ))   ,((U16)( '.' ))   ,((U16)( '0' ))   ,((U16)( '.' ))   ,((U16)( '0' ))  } 
}

Definition at line 120 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 129 of file usb_descriptors.c.

Referenced by usb_user_get_descriptor().

code S_usb_hid_report_descriptor usb_hid_report_descriptor
 

Initial value:

 {
      0x06, 0xFF, 0xFF,         
      0x09, 0x01,               
      0xA1, 0x01,               
      
      0x09, 0x02,               
      0x09, 0x03,               
      0x15, 0x00,               
      0x26 ,0xFF,0x00,           
      0x75, 0x08,               
      0x95,  0x08 ,   
      0x81, 0x02,               
      
      0x09, 0x04,               
      0x09, 0x05,               
      0x15, 0x00,               
      0x26, 0xFF,0x00,           
      0x75, 0x08,               
      0x95,  0x08 ,   
      0x91, 0x02,               
      
      0x09, 0x06,               
      0x09, 0x07,               
      0x15, 0x00,               
      0x26, 0xFF,0x00,          
      0x75, 0x08,               
      0x95, 0x04,               
      0xB1, 0x02,               
      0xC0                      
 }

Definition at line 136 of file usb_descriptors.c.

Referenced by hid_get_report().


Generated on Fri Mar 17 16:02:07 2006 for Atmel by  doxygen 1.4.6-NO