Microchip® Advanced Software Framework

udi_hid_generic.h File Reference

USB Device Human Interface Device (HID) generic interface.

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

#include "conf_usb.h"
#include "usb_protocol.h"
#include "usb_protocol_hid.h"
#include "udc_desc.h"
#include "udi.h"

Data Structures

struct  udi_hid_generic_desc_t
 Interface descriptor structure for HID generic. More...
 
struct  udi_hid_generic_report_desc_t
 Report descriptor for HID generic. More...
 

Macros

#define UDI_HID_GENERIC_DESC
 Content of HID generic interface descriptor for all speed. More...
 
#define UDI_HID_GENERIC_STRING_ID   0
 By default no string associated to this interface. More...
 

Functions

bool udi_hid_generic_send_report_in (uint8_t *data)
 Routine used to send a report to USB Host. More...
 

Variables

UDC_DESC_STORAGE udi_api_t udi_api_hid_generic
 Global structure which contains standard UDI API for UDC. More...