usb_specific_request.h

Go to the documentation of this file.
00001 /*H**************************************************************************
00002 * NAME:         usb_specific_request.h
00003 *----------------------------------------------------------------------------
00004 * Copyright (c) 2004 Atmel.
00005 *----------------------------------------------------------------------------
00006 * RELEASE:      at90usb128-demo-hidgen-1_0_0
00007 * REVISION:     1.1
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 
00043 
00044 
00046 typedef struct {
00047   U8      report[SIZE_OF_REPORT];
00048 }  S_usb_hid_report_descriptor;
00049 
00050 
00051 #endif
00052 

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