Microchip® Advanced Software Framework

udi_hid_mouse_desc.c File Reference

Default descriptors for a USB Device with a single interface HID mouse.

Copyright (c) 2009-2018 Microchip Technology Inc. and its subsidiaries.

#include "conf_usb.h"
#include "udd.h"
#include "udc_desc.h"
#include "udi_hid.h"
#include "udi_hid_mouse.h"

Data Structures

struct  udc_desc_t
 Structure for USB Device Configuration Descriptor. More...
 

Macros

#define USB_DEVICE_NB_INTERFACE   1
 Only one interface for this device. More...
 
#define USB_VERSION   USB_V2_1
 

Variables

COMPILER_WORD_ALIGNED
UDC_DESC_STORAGE udc_desc_t 
udc_desc
 USB Device Configuration Descriptor filled for FS and HS. More...
 
COMPILER_WORD_ALIGNED
UDC_DESC_STORAGE
usb_dev_desc_t 
udc_device_desc
 USB Device Descriptor. More...
 
COMPILER_WORD_ALIGNED
UDC_DESC_STORAGE
usb_dev_lpm_desc_t 
udc_device_lpm
 USB Device Qualifier Descriptor. More...
 
UDC structures which contains all USB Device definitions
UDC_DESC_STORAGE udi_api_tudi_apis [USB_DEVICE_NB_INTERFACE]
 Associate an UDI for each USB interface. More...
 
UDC_DESC_STORAGE udc_config_speed_t udc_config_fshs [1]
 Add UDI with USB Descriptors FS & HS. More...
 
UDC_DESC_STORAGE udc_config_t udc_config
 Add all information about USB Device in global structure for UDC. More...