aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Magstripe/Descriptors.c
Commit message (Collapse)AuthorAgeFilesLines
* Add branch for the conversion of demos to use standard C header files for ↵Dean Camera2012-05-101-2/+2
| | | | configuration, rather than makefile defined macros.
* Update file contributor copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Update file header copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* USB_CONFIG_ATTR_BUSPOWERED constant renamed to USB_CONFIG_ATTR_RESERVED, as ↵Dean Camera2012-01-021-1/+1
| | | | this was misnamed (thanks to NXP Semiconductors).
* Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ↵Dean Camera2011-07-191-1/+1
| | | | ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors.
* Oops - fix missing constants in the TempDataLogger FatFS diskio.h header file.Dean Camera2011-02-061-6/+6
| | | | Add const to all project descriptor definitions for safety.
* Add new HID_DESCRIPTOR_VENDOR() macro, change over all projects and Device ↵Dean Camera2011-01-301-32/+4
| | | | | | | | | | | | ClassDriver demos to use it. Fix reversed byte ordering of multi-byte HID data. Added support to the HID parser for extended USAGE items that contain the usage page as well as the usage index. Removed the HID_IOF_NON_VOLATILE and HID_IOF_VOLATILE flags from HID INPUT items where the flag is invalid. Changed over HID OUTPUT items to use HID_IOF_NON_VOLATILE. Change over MagStripe project to use HID_DESCRIPTOR_KEYBOARD() for its HID report. Change over MouseHostDevice demo to use HID_DESCRIPTOR_MOUSE() for its HID report.
* Abuse the the C preprocessor so that the HID macros can automatically encode ↵Dean Camera2011-01-171-34/+31
| | | | data into the array from the HID macros automagically, by specifying the bit-width of the data, and the data itself as a single integer value of that width.
* New HID report item macros (with HID_RI_ prefix) to allow for easy creation ↵Dean Camera2011-01-161-23/+35
| | | | | | | | and editing of HID report descriptors. Changed over all project and demo HID report descriptors to use the new HID report item macros. Moved the HIDParser.c source file to the LUFA/Drivers/USB/Class/Common/ directory from the LUFA/Drivers/USB/Class/Host/.
* Update copyright year on all source files.Dean Camera2011-01-011-2/+2
|
* Fixed broken input in the MagStripe reader project due to an incorrect HID ↵Dean Camera2010-11-071-1/+1
| | | | report descriptor.
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-281-1/+1
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* Add descriptor class, subclass and protocol constants to the class drivers, ↵Dean Camera2010-10-251-6/+6
| | | | | | | | modify all demos to use them where possible. Move out private/internal host class driver constants to the common class driver headers, so that they can be used in the Low Level host mode demos. Ensure all demos, projects and bootloaders use the class driver constants where possible to minimise code repetition.
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-131-34/+35
| | | | tool made by Laszlo Monda
* Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction ↵Dean Camera2010-09-301-1/+1
| | | | | | | | | | on the configuration order instead to ensure maximum reliability. Altered all low level device and host mode demos to ensure that endpoints and pipes are configured in ascending order properly. Rewrote all low level host mode demos' configuration descriptor parser code to ensure that pipes are enumerated in ascending order, and to ensure maximum compatibility with devices. Incremented all device mode demo's device descriptor revision numbers to ensure that any descriptor changes are re-fetched on machines which have enumerated previous versions.
* Move out many of the common class driver constants into grouped enums, to ↵Dean Camera2010-09-281-4/+4
| | | | | | | | make them more managable. Add new CDC descriptor structs to the CDC class driver, so that the CDC demos can use human readable field names. Rename prefix for Still Image Host class driver functions from "SImage_" to "SI_" to remain consistent with the rest of the driver.
* Added class specific descriptor type defines with standard USB-IF element ↵Dean Camera2010-09-091-2/+2
| | | | naming.
* Changed the signature of the CALLBACK_USB_GetDescriptor() callback function ↵Dean Camera2010-08-241-10/+10
| | | | so that the descriptor pointer is const, to remove the need for extra casting inside the callback (thanks to Jonathan Kollasch).
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-211-1/+3
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-247/+247
| | | | correctly converted to the target system's native end of line style.
* Standardized the naming scheme given to configuration descriptor ↵Dean Camera2010-03-221-4/+4
| | | | | | sub-elements in the Device mode demos, bootloaders and projects. Fix errors in the MouseHostWithParser demo from incorrect use of the HID_ALIGN_DATA() macro.
* Update copyright year to 2010.Dean Camera2009-12-301-3/+3
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-281-7/+7
|
* Added explicit attribute masks to the device mode demos' descriptors.Dean Camera2009-08-131-1/+1
|
* Rename TOTAL_NUM_CONFIGURATIONS to FIXED_NUM_CONFIGURATIONS, to match the ↵Dean Camera2009-08-021-1/+1
| | | | existing FIXED_CONTROL_ENDPOINT_SIZE compile time option. Add FIXED_NUM_CONFIGURATIONS to the descriptors of each project using the option.
* Extend the automatic serial number descriptor code to read out and send all ↵Dean Camera2009-07-281-1/+1
| | | | 10 bytes (20 characters) of the internal serial number on supported AVRs, rather than just the first 6 bytes (12 characters).
* Minor updates to the Magstripe and MissileLauncher projects to fix bugs and ↵Dean Camera2009-07-161-1/+1
| | | | | | improve performance. Fixed error in GenericHID descriptors preventing it from passing the USB-IF HID tests (thanks to Søren Greiner).
* Reduce struct name pollution - group typedef struct names by class driver ↵Dean Camera2009-06-261-2/+2
| | | | name where appropriate.
* Commit of new class abstraction APIs for all device demos other than the ↵Dean Camera2009-06-011-1/+1
| | | | | | | | | | 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.
* Deleted StdDescriptors.c, renamed USB_GetDescriptor() to ↵Dean Camera2009-05-221-1/+1
| | | | CALLBACK_USB_GetDescriptor, moved ConfigDescriptor.c/.h from the LUFA/Drivers/USB/Class/ directory to LUFA/Drivers/USB/HighLevel/ in preperation for the new USB class APIs.
* Removed DESCRIPTOR_ADDRESS() macro as it was largely supurflous and only ↵Dean Camera2009-05-171-7/+7
| | | | served to obfuscate code.
* Renamed the the TotalHIDReports element of the HID descriptor structure in ↵Dean Camera2009-05-071-1/+1
| | | | the HID class demos to TotalReportDescriptors, to be more accurate of the element's function (thanks to Brian Dickman).
* Changed PIPE_CONTROLPIPE_DEFAULT_SIZE from 8 to 64 to try to prevent ↵Dean Camera2009-05-041-1/+1
| | | | | | problems with faulty devices which do not respect the given wLength value when reading in the device descriptor. Further documentation improvements - removed file view from the main library documentation, replaced file references in the documentation with group references.
* Applied STATIC_ENDPOINT_CONFIGURATION and FIXED_CONTROL_SIZE tokens to all ↵Dean Camera2009-04-221-1/+1
| | | | Device mode demos to reduce binary size.
* Changed over all deprecated GCC structure tag initializers to the ↵Dean Camera2009-04-201-49/+49
| | | | standardized C99 format (thanks to Mike Alexander).
* All comments in the library, bootloaders, demos and projects have now been ↵Dean Camera2009-04-011-1/+1
| | | | spell-checked and spelling mistakes/typos corrected.
* Fixed MagStripe keyboard interface polling interval, increased to 4ms from ↵Dean Camera2009-03-291-1/+1
| | | | 2ms to maintain compatibility with Apple MacOS X. Fixed changelog comments on the size of the track buffers when compiling for the AT90USBXXX6/7.
* Moved all source to the trunk directory.Dean Camera2009-02-231-0/+247