Microchip® Advanced Software Framework

udi_hid.c File Reference

USB Device Human Interface Device (HID) interface.

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

#include "conf_usb.h"
#include "usb_protocol.h"
#include "udd.h"
#include "udc.h"
#include "udi_hid.h"

Functions

static bool udi_hid_reqstdifaceget_descriptor (uint8_t *report_desc)
 Send the specific descriptors requested by SETUP request. More...
 
bool udi_hid_setup (uint8_t *rate, uint8_t *protocol, uint8_t *report_desc, bool(*setup_report)(void))
 Decode HID setup request. More...