Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
USB Device Interface (UDI) for Human Interface Device (HID) Generic Class

Common APIs used by high level application to use this USB class.

See Quick start guide for USB device generic module (UDI generic).

Modules

 
 Quick Start Guide(s)
 In this section you can find a list of all Quick Start guides related to the USB Device Interface (UDI) for Human Interface Device (HID) Generic Class.
 
 Interface with USB Device Core (UDC)
 Structures and functions required by UDC.
 
 Implementation of UDI HID Generic
 Class internal implementation.
 
 USB device descriptors for a single interface
 The following structures provide the USB device descriptors required for USB Device with a single interface HID generic.
 
 USB interface descriptors
 The following structures provide predefined USB interface descriptors.
 

Functions

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

bool udi_hid_generic_send_report_in ( uint8_t *  data)

Routine used to send a report to USB Host.

Parameters
dataPointer on the report to send (size = UDI_HID_REPORT_IN_SIZE)
Returns
1 if function was successfully done, otherwise 0.

References cpu_irq_restore(), cpu_irq_save(), udd_ep_run(), udi_hid_generic_b_report_in_free, UDI_HID_GENERIC_EP_IN, and udi_hid_generic_report_in.