HIDDTransferDriver.h
Default mainpage
at91lib
usb
device
hid-transfer
HIDDTransferDriver.h
Description
Overview
Description
Purpose
Definition of methods for using a HID transfer device driver.
Usage
Re-implement the
USBDCallbacks_RequestReceived
callback to forward requests to
HIDDTransferDriver_RequestHandler
. This is done automatically unless the NOAUTOCALLBACK symbol is defined during compilation.
Initialize the driver using
HIDDTransferDriver_Initialize
. The USB driver is automatically initialized by this method.
Call the
HIDDTransferDriver_Write
method when sendint data to host.
Call the HIDDTransferRead, HIDDTransferReadReport when checking and getting received data from host.