usb_specific_request.h

Go to the documentation of this file.
00001 /*H**************************************************************************
00002 * NAME:         usb_specific_request.h
00003 *----------------------------------------------------------------------------
00004 * Copyright (c) 2006 Atmel.
00005 *----------------------------------------------------------------------------
00006 * RELEASE:      at90usb128-demo-hidgen-std-2_0_0
00007 * REVISION:     1.2
00008 *----------------------------------------------------------------------------
00009 * PURPOSE:
00010 * This file contains the user call-back functions corresponding to the
00011 * application:
00012 * MASS STORAGE DEVICE
00013 *****************************************************************************/
00014 
00015 #ifndef _USB_USER_ENUM_H_
00016 #define _USB_USER_ENUM_H_
00017 
00018 /*_____ I N C L U D E S ____________________________________________________*/
00019 
00020 #include "config.h"
00021 
00022 /*_____ M A C R O S ________________________________________________________*/
00023 
00024 extern  code S_usb_device_descriptor usb_dev_desc;
00025 extern  code S_usb_user_configuration_descriptor usb_conf_desc;
00026 extern  code S_usb_manufacturer_string_descriptor usb_user_manufacturer_string_descriptor;
00027 extern  code S_usb_product_string_descriptor usb_user_product_string_descriptor;
00028 extern  code S_usb_serial_number usb_user_serial_number;
00029 extern  code S_usb_language_id usb_user_language_id;
00030 
00031 
00032 
00033 /*_____ D E F I N I T I O N ________________________________________________*/
00034 Bool  usb_user_read_request(U8, U8);
00035 Bool  usb_user_get_descriptor(U8 , U8);
00036 void  usb_user_endpoint_init(U8);
00037 void hid_get_report(void);
00038 void hid_set_report(void);
00039 void usb_hid_get_interface(void);
00040 void usb_hid_set_idle(void);
00041 void hid_get_hid_descriptor(void);
00042 void usb_hid_user_set_hid_report(void);
00043 
00044 
00045 
00047 typedef struct {
00048   U8      report[SIZE_OF_REPORT];
00049 }  S_usb_hid_report_descriptor;
00050 
00051 
00052 #endif
00053 

Generated on Fri Jan 26 17:33:01 2007 for Atmel by  doxygen 1.5.1-p1