Human interface on SAM4L Xplained Pro:
This example shows how to implement a USB Device HID Generic on Atmel MCU with USB module. The application note AVR4905 http://ww1.microchip.com/downloads/en/AppNotes/doc8499.pdf provides information about this implementation.
The example uses the buttons or sensors available on the board to simulate a standard generic. After loading firmware, connect the board (EVKxx,Xplain,...) to the USB Host. When connected to a USB host system this application provides a HID generic application in the Unix/Mac/Windows operating systems. This example uses the native HID driver for these operating systems.
A Atmel PC tool allows to communicate with the HID generic device. This document gives information on integrating the Atmel USB HID DLL functions. Simple code examples that demonstrate different types of implementation are given. http://ww1.microchip.com/downloads/en/AppNotes/doc7645.pdf The PC tool is available here: http://ww1.microchip.com/downloads/en/AppNotes/AVR153.zip Note: Use the PID 0x2402 in tool graphical interface, and the button Firmware Upgrade only disconnects the USB device.
The example uses the following module groups: