aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA
Commit message (Collapse)AuthorAgeFilesLines
* Renamed the PRNT_Host_SendString(), CDC_Host_SendString() and ↵Dean Camera2011-01-3010-27/+142
| | | | | | CDC_Device_SendString() functions to *_SendData(), and added new versions of the *_SendString() routines that expect a null terminated string instead. Added new Serial_SendData() function to the Serial driver.
* Removed SerialStream module, rolled functionality into the base USART Serial ↵Dean Camera2011-01-3011-436/+338
| | | | | | | | peripheral driver instead through the new Serial_CreateStream() and Serial_CreateBlockingStream() methods. Renamed the Serial byte send/receive functions to remain consistent with the CDC driver's byte functions. Altered the serial byte receive function to make it non-blocking.
* Oops - forgot to add in LOGICAL MINIMUM and LOGICAL MAXIMUM report items ↵Dean Camera2011-01-301-5/+11
| | | | into the standard library Joystick HID report descriptor macro. Add in support for joystick resolution reporting via PHYSICAL_MINIMUM and PHYSICAL_MAXIMUM items.
* Add new HID_DESCRIPTOR_VENDOR() macro, change over all projects and Device ↵Dean Camera2011-01-307-145/+178
| | | | | | | | | | | | 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.
* Added new KeyboardMouseMultiReport Device ClassDriver demo.Dean Camera2011-01-269-20/+48
| | | | | | Fixed ReportID not being removed from the feature/out report data array in the HID class driver when Report IDs are used. Added new MAX() and MIN() convenience macros.
* Added new HID_DESCRIPTOR_MOUSE, HID_DESCRIPTOR_KEYBOARD and ↵Dean Camera2011-01-232-1/+156
| | | | HID_DESCRIPTOR_JOYSTICK macros for easy automatic creation of basic USB HID device reports.
* Change over Joystick demo HID report descriptor to use USAGE_MINIMUM and ↵Dean Camera2011-01-231-0/+1
| | | | USAGE_MAXIMUM when describing the joystick buttons, to allow for easy extension of the number of supported buttons.
* Changed AVRISP-MKII project to use the Watchdog interrupt for command ↵Dean Camera2011-01-222-0/+3
| | | | timeouts, to reduce CPU usage and free timer 0 for other uses in the future.
* Fixed incorrect definition of the HID_KEYBOARD_SC_RIGHT_ARROW constant in ↵Dean Camera2011-01-172-2/+4
| | | | | | the HID class driver (thanks to Joby Taffey). Add in newHID_KEYBOARD_SC_POWER keyboard scancode constant.
* Abuse the the C preprocessor so that the HID macros can automatically encode ↵Dean Camera2011-01-171-32/+41
| | | | 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.
* Fixed several functions in the Host mode Still Image Class driver returning ↵Dean Camera2011-01-162-4/+6
| | | | an error code from the incorrect error code enum (thanks to Daniel Seibert).
* Minor documentation corrections for the new HID report item constant defines.Dean Camera2011-01-164-4/+3
|
* New HID report item macros (with HID_RI_ prefix) to allow for easy creation ↵Dean Camera2011-01-1610-182/+155
| | | | | | | | 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/.
* Added new ADC_GET_CHANNEL_MASK() convenience macro to the ADC driver.Dean Camera2011-01-163-2/+25
|
* Added new high level TWI packet read/write commands, altered behaviour of ↵Dean Camera2011-01-1310-45/+201
| | | | | | the TWI_StartTransmission() function. Spell check source code files.
* Changed TempDataLogger project's DS1307 driver to simplify the function ↵Dean Camera2011-01-131-0/+1
| | | | interface and prevent a possible race condition.
* Fix typos and outdated information.Dean Camera2011-01-101-1/+1
|
* Call USB_USBTask() in the Endpoint stream functions between packets if ↵Dean Camera2011-01-105-20/+6
| | | | INTERRUPT_CONTROL_ENDPOINT is not set. Remove calls to USB_USBTask in the Mass Storage class driver stream read/write continuation checks, since this is now done inside the stream function.
* Altered all endpoint/pipe stream transfers so that the new BytesProcessed ↵Dean Camera2011-01-1042-607/+967
| | | | | | | | | | parameter now points to a location where the number of bytes in the transfer that have been completed can be stored (or NULL if entire transaction should be performed in one chunk). Added new Endpoint_Null_Stream() and Pipe_Null_stream() functions. Removed the NO_STREAM_CALLBACKS compile time option due to the new partial stream transfer feature replacing it. Fixed errors in the incomplete Test and Measurement device demo preventing proper operation (thanks to Pavel Plotnikov).
* Oops - fix type preventing compilation of demos using the class drivers.Dean Camera2011-01-081-1/+1
|
* Minor documentation improvements.Dean Camera2011-01-0848-324/+329
|
* The FAST_STREAM_TRANSFERS compile time option has been removed due to lack ↵Dean Camera2011-01-087-172/+17
| | | | | | of use and low cost/benefit ratio. Add GCC_FORCE_POINTER_ACCESS() macro use to the RingBuffer library header, to attempt to force GCC into producing more efficient code for manipulating the buffers.
* Add custom footer to the main library documentation.Dean Camera2011-01-033-3/+4
|
* Update Doxygen documentation configuration file for the main project ↵Dean Camera2011-01-034-77/+211
| | | | documentation to the latest version. Add missing data structure documentation briefs.
* Update copyright year on all source files.Dean Camera2011-01-01159-316/+316
|
* Fixed incorrect byte ordering in the Audio_Device_WriteSample24 function ↵Dean Camera2010-12-312-1/+2
| | | | (thanks to WZab).
* Rename RingBuffer header functions and typedefs from RingBuff_* to ↵Dean Camera2010-12-311-10/+10
| | | | RingBuffer_* so that it matches the header name.
* Fixed inverted Minimus board LEDs.Dean Camera2010-12-286-11/+12
|
* Fix compile errors from the changes to the SerialStream and board ↵Dean Camera2010-12-264-13/+16
| | | | Temperature drivers.
* More minor documentation corrections.Dean Camera2010-12-262-20/+20
|
* Documentation improvements - put driver example code into its own section, ↵Dean Camera2010-12-2646-59/+98
| | | | fix incorrect and missing section names.
* Added basic driver example use code to the library documentation.Dean Camera2010-12-2617-21/+264
| | | | Made the USARTStream global public and documented in the SerialStream module, allowing for the serial USART stream to be accessed via its handle rather than via the implicit stdout and stdin streams.
* Make a new general RingBuffer.h misc library driver, instead of the ↵Dean Camera2010-12-264-3/+269
| | | | | | | | per-application LightweightRingBuff.h ring buffers. Change over projects to use the new driver. Add ORDERED_EP_CONFIG to the device Projects (only) that use only a single class driver, or where the endpoint ordering is fixed, to save on compiled binary size. Added new GCC_FORCE_POINTER_ACCESS() macro to correct GCC's mishandling of struct pointers.
* Combined page and word ISP programming mode code in the AVRISP-MKII clone ↵Dean Camera2010-12-251-0/+2
| | | | project to reduce compiled size and increase maintainability of the code.
* Fixed possible programming problem in the AVRISP-MKII clone project when ↵Dean Camera2010-12-252-1/+6
| | | | programming specific patterns into a target memory space that is only byte (not page) addressable.
* Much more efficient algorithm for the Endpoint/Pipe configuration routine of ↵Dean Camera2010-12-242-79/+69
| | | | unordered endpoints/pipes - only reconfigure the endpoints and pipes above the newly configured endpoint/pipe, and don't cache existing endpoint/pipe configuration before use to save SRAM.
* Re-add in old Endpoint/Pipe workaround for unordered pipes - add new ↵Dean Camera2010-12-249-3/+123
| | | | ORDERED_EP_CONFIG compile time option to override the workaround and use the previous behaviour that imposes correct Endpoint/Pipe ordering but produces smaller compiled code.
* Fix a few more incorrectly ordered endpoint initialisations in the device demos.Dean Camera2010-12-171-1/+1
|
* Fixed incorrect endpoint initialisation order in the LowLevel ↵Dean Camera2010-12-172-0/+2
| | | | DualVirtualSerial demo (thanks to Rick Drolet).
* Fixed incorrect definition of the HID_KEYBOARD_SC_D constant in the HID ↵Dean Camera2010-12-132-2/+4
| | | | | | class driver (thanks to Opendous Inc.). Add extra comments to the ISPTarget.c source file in the AVRISP-MKII clone project.
* Fixed possible lost data in the XPLAINBridge, USBtoSerial and Benito ↵Dean Camera2010-12-121-0/+2
| | | | projects when the host exceeds the packet timeout period on received packets as set by USB_STREAM_TIMEOUT_MS (thanks to Justin Rajewski).
* Added new RingBuffer_Peek() function to the lightweight ring buffer headers.Dean Camera2010-12-122-0/+2
|
* Added new completed MIDIToneGenerator project.Dean Camera2010-12-032-2/+3
|
* Fixed HID hpst class driver incorrectly binding to HID devices that do not ↵Dean Camera2010-12-022-1/+5
| | | | have an OUT endpoint.
* Refactored Host mode Class Driver *_Host_ConfigurePipes() routines to be ↵Dean Camera2010-12-0219-66/+242
| | | | | | more space efficient when compiled. Added new *_ENUMERROR_PipeConfigurationFailed error codes for the *_Host_ConfigurePipes() routines.
* Fixed broken USBFOO board drivers due to missing BOARD_USBFOO define.Dean Camera2010-11-302-1/+4
|
* Fixed broken HID_REQ_GetReport request handler in the Low Level GenericHID demo.Dean Camera2010-11-292-2/+3
|
* Fixed broken DFU bootloader, added XPLAIN support for bootloader start when ↵Dean Camera2010-11-271-0/+1
| | | | XCK jumpered to ground.
* Added ability to write protect Mass Storage disk write operations from the ↵Dean Camera2010-11-261-0/+1
| | | | host OS.
* Changed the XPLAINBridge software UART to use the regular CTC mode instead ↵Dean Camera2010-11-251-2/+3
| | | | of the alternative CTC mode via the Input Capture register, to reduce user confusion.