Atmel Software Framework

udi_hid.c File Reference

USB Device Human Interface Device (HID) interface.

Copyright (c) 2009-2012 Atmel Corporation. All rights reserved.

#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(*set_report)(void))
 Decode HID setup request. More...