Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

usb_user_enum.h

Go to the documentation of this file.
00001 /*H************************************************************************** 00002 * $RCSfile: usb_user_enum.h,v $ 00003 *---------------------------------------------------------------------------- 00004 * Copyright (c) 2004 Atmel. 00005 *---------------------------------------------------------------------------- 00006 * RELEASE: $Name: c5131-usb-generic-1_2_0 $ 00007 * REVISION: $Revision: 1.3.2.1 $ 00008 * FILE_CVSID: $Id: usb_user_enum.h,v 1.3.2.1 2006/01/05 15:21:07 lguilhau Exp $ 00009 *---------------------------------------------------------------------------- 00010 * PURPOSE: 00011 * This file contains the user call-back functions corresponding to the 00012 * application: 00013 * MASS STORAGE DEVICE 00014 *****************************************************************************/ 00015 00016 #ifndef _USB_USER_ENUM_H_ 00017 #define _USB_USER_ENUM_H_ 00018 00019 /*_____ I N C L U D E S ____________________________________________________*/ 00020 00021 #include "config.h" 00022 00023 /*_____ M A C R O S ________________________________________________________*/ 00024 00025 extern code S_usb_device_descriptor usb_dev_desc_hid; 00026 extern code S_usb_user_configuration_descriptor usb_conf_desc_hid_hs; 00027 extern code S_usb_user_configuration_descriptor usb_conf_desc_hid_fs; 00028 extern code S_usb_user_configuration_descriptor usb_other_conf_desc_ms; 00029 extern code S_usb_device_qualifier_descriptor usb_qual_desc_ms; 00030 extern code S_usb_manufacturer_string_descriptor usb_user_manufacturer_string_descriptor; 00031 extern code S_usb_product_string_descriptor usb_user_product_string_descriptor; 00032 extern code S_usb_serial_number usb_user_serial_number; 00033 extern code S_usb_language_id usb_user_language_id; 00034 00035 #define HID_SET_REPORT 0x09 00036 #define HID_SET_IDLE 0x0A 00037 #define HID_GET_IDLE 0x02 00038 #define HID_CONTROL_DATA_LENGTH 4 00039 00040 #define HID_DESCRIPTOR 0x21 00041 #define HID_REPORT_DESCRIPTOR 0x22 00042 00043 /*_____ D E F I N I T I O N ________________________________________________*/ 00044 Bool usb_user_read_request(U8, U8); 00045 Bool usb_user_get_descriptor(U8 , U8); 00046 void usb_user_endpoint_init(U8); 00047 00048 #endif 00049

Generated on Mon Apr 10 17:23:30 2006 for Atmel by doxygen 1.3.7