usb_descriptors.c File Reference


Detailed Description

USB identifiers.

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

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

Definition in file usb_descriptors.c.

#include "conf_usb.h"
#include "usb_drv.h"
#include "usb_descriptors.h"
#include "usb_standard_request.h"
#include "usb_specific_request.h"
#include "hid.h"
#include "audio_example.h"

Go to the source code of this file.

Variables

const
S_usb_user_configuration_descriptor 
usb_conf_desc
const S_usb_device_descriptor usb_dev_desc
const U8 usb_hid_report_descriptor_kbd [USB_HID_REPORT_DESC_KBD]
const S_usb_language_id usb_user_language_id
const
S_usb_manufacturer_string_descriptor 
usb_user_manufacturer_string_descriptor
const
S_usb_product_string_descriptor 
usb_user_product_string_descriptor
const S_usb_serial_number usb_user_serial_number


Variable Documentation

Definition at line 90 of file usb_descriptors.c.

Referenced by usb_user_read_request().

Initial value:

{
  sizeof(S_usb_device_descriptor),
  DEVICE_DESCRIPTOR,
  Usb_format_mcu_to_usb_data(16, USB_SPECIFICATION),
  DEVICE_CLASS,
  DEVICE_SUB_CLASS,
  DEVICE_PROTOCOL,
  EP_CONTROL_LENGTH,
  Usb_format_mcu_to_usb_data(16, VENDOR_ID),
  Usb_format_mcu_to_usb_data(16, PRODUCT_ID),
  Usb_format_mcu_to_usb_data(16, RELEASE_NUMBER),
  MAN_INDEX,
  PROD_INDEX,
  SN_INDEX,
  NB_CONFIGURATION
}

Definition at line 70 of file usb_descriptors.c.

const U8 usb_hid_report_descriptor_kbd[USB_HID_REPORT_DESC_KBD]

Initial value:

{
    0x05, 0x0c,                    
    0x09, 0x01,                    
    0xa1, 0x01,                    
    0x15, 0x00,                    
    0x25, 0x01,                    
    0x09, 0xE9,                    
    0x09, 0xEA,                    
    0x75, 0x01,                    
    0x95, 0x02,                    
    0x81, 0x02,                    
    0x09, 0xCD,                    
    0x09, 0xB5,                    
    0x09, 0xB6,                    
    0x09, 0xB3,                    
    0x09, 0xB4,                    
    0x95, 0x05,                    
    0x81, 0x06,                    
    0x95, 0x01,                    
    0x81, 0x01,                    
    0xc0                           
}

Definition at line 413 of file usb_descriptors.c.

Referenced by usb_user_read_request().

Initial value:

{
  sizeof(S_usb_language_id),
  STRING_DESCRIPTOR,
  Usb_format_mcu_to_usb_data(16, LANGUAGE_ID)
}

Definition at line 378 of file usb_descriptors.c.

Referenced by usb_user_get_descriptor().

Initial value:

Definition at line 387 of file usb_descriptors.c.

Referenced by usb_user_get_descriptor().

Initial value:

{
  sizeof(S_usb_product_string_descriptor),
  STRING_DESCRIPTOR, 
  USB_PRODUCT_NAME
}

Definition at line 396 of file usb_descriptors.c.

Referenced by usb_user_get_descriptor().

Initial value:

{
  sizeof(S_usb_serial_number), 
  STRING_DESCRIPTOR, 
  USB_SERIAL_NUMBER
}

Definition at line 405 of file usb_descriptors.c.

Referenced by usb_user_get_descriptor().


Generated on Fri Feb 19 02:32:15 2010 for AVR32 - USB AUDIO Example by  doxygen 1.5.5