Atmel Software Framework

services/usb/_asf_v1/class/hid/examples/enum/device/usb_specific_request.h File Reference
#include "conf_usb.h"
#include "hid.h"

Macros

#define USB_HID_REPORT_DESC_MOUSE   52
 

Functions

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

Variables

const
S_usb_user_configuration_descriptor 
usb_conf_desc_fs
 
const
S_usb_user_configuration_descriptor 
usb_conf_desc_hs
 
const S_usb_device_descriptor usb_dev_desc
 
const uint8_t usb_hid_report_descriptor_mouse [USB_HID_REPORT_DESC_MOUSE]
 
const
S_usb_device_qualifier_descriptor 
usb_qualifier_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 USB_HID_REPORT_DESC_MOUSE   52

const S_usb_user_configuration_descriptor usb_conf_desc_fs
const S_usb_user_configuration_descriptor usb_conf_desc_hs
const S_usb_device_descriptor usb_dev_desc
const uint8_t usb_hid_report_descriptor_mouse[USB_HID_REPORT_DESC_MOUSE]

Referenced by usb_user_read_request().

const S_usb_device_qualifier_descriptor usb_qualifier_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