usb_specific_request.h File Reference


Detailed Description

Processing of USB device specific enumeration requests.

This file contains the specific request decoding for enumeration process.

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

Definition in file usb_specific_request.h.

#include "conf_usb.h"

Go to the source code of this file.

Defines

#define GET_MAX_LUN   0xFE
#define HID_DESCRIPTOR   0x21
 HID descriptor types.
#define HID_GET_IDLE   0x02
#define HID_GET_PROTOCOL   0x03
#define HID_GET_REPORT   0x01
 HID-specific requests.
#define HID_PHYSICAL_DESCRIPTOR   0x23
#define HID_REPORT_DESCRIPTOR   0x22
#define HID_REPORT_FEATURE   0x03
#define HID_REPORT_INPUT   0x01
 HID report types.
#define HID_REPORT_OUTPUT   0x02
#define HID_SET_IDLE   0x0A
#define HID_SET_PROTOCOL   0x0B
#define HID_SET_REPORT   0x09
#define MASS_STORAGE_RESET   0xFF

Functions

void usb_user_endpoint_init (U8)
 This function configures the endpoints of the device application.
Bool usb_user_get_descriptor (U8, U8)
 This function returns the size and the pointer on a user information structure.
Bool usb_user_read_request (U8, U8)
 This function is called by the standard USB read request function when the USB request is not supported.

Variables

const
S_usb_user_configuration_descriptor 
usb_conf_desc
const S_usb_device_descriptor usb_dev_desc
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


Define Documentation

#define GET_MAX_LUN   0xFE

Definition at line 67 of file usb_specific_request.h.

Referenced by usb_user_read_request().

#define HID_DESCRIPTOR   0x21

HID descriptor types.

Definition at line 70 of file usb_specific_request.h.

#define HID_GET_IDLE   0x02

Definition at line 81 of file usb_specific_request.h.

#define HID_GET_PROTOCOL   0x03

Definition at line 82 of file usb_specific_request.h.

#define HID_GET_REPORT   0x01

HID-specific requests.

Definition at line 80 of file usb_specific_request.h.

#define HID_PHYSICAL_DESCRIPTOR   0x23

Definition at line 72 of file usb_specific_request.h.

#define HID_REPORT_DESCRIPTOR   0x22

Definition at line 71 of file usb_specific_request.h.

#define HID_REPORT_FEATURE   0x03

Definition at line 77 of file usb_specific_request.h.

#define HID_REPORT_INPUT   0x01

HID report types.

Definition at line 75 of file usb_specific_request.h.

#define HID_REPORT_OUTPUT   0x02

Definition at line 76 of file usb_specific_request.h.

#define HID_SET_IDLE   0x0A

Definition at line 84 of file usb_specific_request.h.

#define HID_SET_PROTOCOL   0x0B

Definition at line 85 of file usb_specific_request.h.

#define HID_SET_REPORT   0x09

Definition at line 83 of file usb_specific_request.h.

#define MASS_STORAGE_RESET   0xFF

Definition at line 66 of file usb_specific_request.h.

Referenced by usb_user_read_request().


Variable Documentation

Definition at line 87 of file usb_descriptors.c.

Definition at line 67 of file usb_descriptors.c.

Definition at line 162 of file usb_descriptors.c.

Referenced by usb_user_get_descriptor().

Definition at line 171 of file usb_descriptors.c.

Referenced by usb_user_get_descriptor().

Definition at line 180 of file usb_descriptors.c.

Referenced by usb_user_get_descriptor().

Definition at line 189 of file usb_descriptors.c.

Referenced by usb_user_get_descriptor().


Generated on Fri Feb 19 02:22:52 2010 for AVR32 - Control Panel demonstration. by  doxygen 1.5.5