aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Host/HIDParser.c
Commit message (Collapse)AuthorAgeFilesLines
* Added new Pipe_IsFrozen() macro to determine if the currently selected pipe ↵Dean Camera2009-09-201-0/+21
| | | | | | | | is frozen. Added new USB_GetHIDReportSize() function to the HID report parser to retrieve the size of a given report by its ID. More additions to the unfinished HID Host Class Driver.
* Change HID report parser so that it can calculate and record the sizes (IN, ↵Dean Camera2009-09-091-16/+39
| | | | | | OUT and FEATURE) of each report within the device, by report ID. This will be required in host mode, so that the host can determine how many bytes of data must be read in for each report. Add to MouseHostWithParser and KeyboardHostWithParser demos to print out the report sizes when a valid device is connected.
* Finish Still Image Host class driver.Dean Camera2009-09-091-1/+1
|
* Add user-filtering to the HID report parser, so that the user code can ↵Dean Camera2009-09-021-42/+31
| | | | decide which items are to be stored into the HID_ReportInfo_t structure and which should be discarded to save on RAM usage.
* Changed HIDParser to only zero out important values in the Parsed HID Report ↵Dean Camera2009-09-011-2/+7
| | | | Item Information structure to save cycles.
* Add return codes to the CDC Host Class driver String/Byte transmission ↵Dean Camera2009-08-311-1/+2
| | | | functions.
* Added flag to the HID report parser to indicate if a device has multiple ↵Dean Camera2009-08-111-4/+9
| | | | | | | | | | reports. SetIdle requests to the HID device driver with a 0 idle period (send changes only) now only affect the requested HID interface within the device, not all HID interfaces. Apply correct fix to the HID report parser for PUSH items - current HID item attribute stack was being copied in the wrong direction. Fixed HID report parser not resetting the FEATURE item count when a REPORT ID item is encountered.
* Fixed swapped paremeters in the HID state memory copy call while processing ↵Dean Camera2009-08-111-43/+32
| | | | | | | | | | a HID PUSH item in the HID report parser. Fixed memory corruption HID report parser when too many COLLECTION or PUSH items were processed. Make RNDIS device class driver include the CDC device class driver header, so that it can inherrit the required CDC functional descriptor macro. Make HID host class driver include the HID report parser.
* Fixed report data alignment issues in the MouseHostWithParser demo when X ↵Dean Camera2009-07-281-0/+2
| | | | | | and Y movement data size is not a multiple of 8 bits. Fixed HID Report Descriptor Parser not correctly resetting internal states when a REPORT ID element is encountered.
* Fixed broken HIDReportParser.c.Dean Camera2009-06-151-1/+3
|
* Add host mode USB Class driver stubs, add beginnings of a CDC host class driver.Dean Camera2009-06-141-0/+3
| | | | | | Split out common defines/types from class drivers into a seperate common class driver directory. Make central USB Class driver dispatch headers, used for both device and host modes.
* Commit of new class abstraction APIs for all device demos other than the ↵Dean Camera2009-06-011-0/+326
MIDI demo - not documented yet. Removed scheduler and memory allocation libraries. Added new EVENT_USB_StartOfFrame event in the library to indicate the start of each USB frame (when generated). Removed Tx interrupt from the USBtoSerial demo; now sends characters via polling to ensure more time for the Rx interrupt.