aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers
Commit message (Collapse)AuthorAgeFilesLines
* More documentation fixes.Dean Camera2010-06-035-17/+17
|
* Minor documentation cleanups.Dean Camera2010-06-0330-68/+68
|
* Oops - descriptor pointer should be assigned, not incremented with the new ↵Dean Camera2010-06-021-1/+1
| | | | type-safe code.
* Better fix to avoid void pointer arithmetic in ConfigDescriptor.h to regain ↵Dean Camera2010-06-021-16/+4
| | | | C++ compatibility (thanks to Michael Hennebry).
* Remove void* arithmetic in the USB_GetNextDescriptor() static inline ↵Dean Camera2010-05-312-50/+61
| | | | function, to make the header file C++ compatible once again. Implement workaround for an obscure GCC bug which can cause incorrect code generation under some circumstances when the void* is re-cast.
* Small tweaks to ConfigDescriptor.c/.h to ensure pointers use the correct ↵Dean Camera2010-05-302-10/+8
| | | | type, and to remove const attribute from the descriptor comparator callback function pointer type define, and into the function prototype instead.
* Fixed internal device serial not being accessible on the ATMEGAXXU2 AVRs ↵Dean Camera2010-05-303-4/+7
| | | | (thanks to Axel Rohde).
* Fix spacing of the function parameter descriptions in the Doxygen documentation.Dean Camera2010-05-2920-158/+158
|
* The EEPROM stream read/write functions now use eeprom_update_byte() instead ↵Dean Camera2010-05-262-6/+6
| | | | | | of eeprom_write_byte(), so that only changed bytes are written to EEPROM to preserve its lifespan. Changed over the AVRISP-MKII and TemperatureDataLogger projects to use eeprom_update_byte() when writing non-volatile parameters to EEPROM to preserve its lifespan.
* Added new ADC_DisableChannel() function (thanks to Mich Davis).Dean Camera2010-05-181-0/+43
|
* Remove incorrect check for the current device state in the Set Configuration ↵Dean Camera2010-05-131-3/+0
| | | | | | request handler of DevChapter9, which broke Set Configuration requests to the device under most circumstances. Move out the SPI prescaler list to a PROGMEM module-level variable in ISPTarget.c.
* Fixed possible device lockup when INTERRUPT_CONTROL_ENDPOINT is enabled and ↵Dean Camera2010-05-132-2/+6
| | | | the control endpoint is not properly selected when the ISR completes.
* Fix nasty bug in USBInterrupt.c which would cause a lockup if the control ↵Dean Camera2010-05-111-4/+4
| | | | endpoint was not selected at the point the USB endpoint interrupt fires when INTERRUPT_CONTROL_ENDPOINT is defined.
* Add new ReportType parameter to the HID class driver device callback and ↵Dean Camera2010-05-0916-80/+82
| | | | | | host report sending routines. Renamed internal Host mode Class driver descriptor comparator callback routines so that they all start with a uniform DCOMP_{Class Abbreviation}_ prefix.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-08130-26336/+26336
| | | | correctly converted to the target system's native end of line style.
* Device mode class driver callbacks are now fired before the control request ↵Dean Camera2010-05-075-20/+15
| | | | | | status stage is sent to prevent the host from timing out if another request is immediately fired and the device has a lengthy callback routine. Inlined currently unused MIDI ProcessControlRequest routine.
* Change over unix line-endings to dos line endings.Dean Camera2010-05-071-1/+1
|
* Added new EVENT_CDC_Device_BreakSent() event and CDC_Host_SendBreak() ↵Dean Camera2010-05-065-2/+56
| | | | function to the Device and Host CDC Class drivers.
* Ensure that the CDC class drivers return 0 if the number of unread bytes is ↵Dean Camera2010-05-062-9/+18
| | | | queried and the bank has become empty.
* Fix up the ADC driver for the U4 parts to remove a typo on one of the ↵Dean Camera2010-05-041-2/+2
| | | | register names.
* Fixed INTERRUPT_CONTROL_ENDPOINT compile time option preventing other ↵Dean Camera2010-05-042-0/+4
| | | | interrupts from occuring while the control endpoint request is being processed, causing possible lockups if a USB interrupt occurs during a transfer.
* Fixed Host mode HID class driver not sending the correct report type when ↵Dean Camera2010-05-041-1/+1
| | | | HID_Host_SendReportByID() was called and the HID_HOST_BOOT_PROTOCOL_ONLY compile time option is set.
* Fixed device state not being reset back to the default state if the host ↵Dean Camera2010-05-042-23/+24
| | | | | | | | sets the address to 0x00. Fixed Set Configuration requests not being stalled until the host has set the device's address. Fixed possibility of internal signature retrieval being corrupted if an interrupt occurs during a signature byte read (thanks to Andrei Krainev).
* Added new ENDPOINT_*_BusSuspended error code to the Endpoint function, so ↵Dean Camera2010-05-034-5/+27
| | | | that the stream functions early-abort if the bus is suspended before or during a transfer.
* The Audio_Device_IsSampleReceived() and Audio_Device_IsReadyForNextSample() ↵Dean Camera2010-04-292-31/+27
| | | | functions are now inline, to reduce overhead.
* Use puts_P() and printf_P() instead of the normal variants where possible in ↵Dean Camera2010-04-281-10/+4
| | | | the Host mode Class Driver demos.
* Oops - relocated USBInterrupt.h header file requires adjusted include paths ↵Dean Camera2010-04-281-3/+3
| | | | for the other USB driver header files.
* Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the ↵Dean Camera2010-04-285-8/+7
| | | | LowLevel directory as it is hardware-dependent.
* USB_Init() no longer calls sei() to enable global interrupts - this must now ↵Dean Camera2010-04-282-4/+6
| | | | be done in the user application once all init code has run.
* Fixed HID Device Class Driver not allocating a temporary buffer when the ↵Dean Camera2010-04-202-4/+9
| | | | | | host requests a report via the control endpoint and the user has set the PrevReportINBuffer driver configuration element to NULL (thanks to Lars Noschinski). Clean up incomplete BluetoothHost debugging commands to use GCC extension to avoid NULL parameters when no formatting is required.
* Rename FunctionAttributes.h to Attributes.h, as some attributes are ↵Dean Camera2010-04-152-5/+5
| | | | | | | | applicable to variables also. Add new ATTR_NOINIT attribute for global variables. Add the beginnings of a SDP implentation to the incomplete BluetoothHost demo. Add const attribute to the Mass Storage Host driver functions where it was applicable, but missing.
* Fixed Set/Clear Feature requests directed to a non-configured endpoint not ↵Dean Camera2010-04-142-15/+15
| | | | | | returning a stall to the host. Make TeensyHID bootloader use an 8 byte control endpoint to match the official Teensy, just in case Paul decides to authenticate on that attribute in the future.
* Removed two-step endpoint/pipe bank clear and switch sequence for smaller, ↵Dean Camera2010-04-1312-29/+69
| | | | | | | | faster endpoint/pipe code. Added spacing between multiple paragraphs in Doxygen \note sections. Removed call to the clock prescaler reset function in the Teensy bootloader to save space - the user application is accessed via a watchdog reset anyway, so the prescale reset would only affect the speed of the bootloader itself.
* Oops, incorrectly edited the Benito buttons driver file instead of the ↵Dean Camera2010-03-303-20/+15
| | | | | | JM-DB-U2 buttons driver file. Fix up preprocessor guards in the new board driver files.
* Add missing board Buttons driver for the USBTINY MKII board target.Dean Camera2010-03-302-0/+99
|
* Oops - make sure board driver dispatch headers test for the correct BOARD ↵Dean Camera2010-03-304-8/+112
| | | | | | define values. Add button support for the BENITO board target.
* Added support for the JM-DB-U2 board hardware.Dean Camera2010-03-304-0/+228
|
* Added board hardware driver support for the Benito programmer.Dean Camera2010-03-302-1/+132
|
* Added board hardware driver support for Tom's USBTINY MKII programmer.Dean Camera2010-03-306-11/+139
|
* Add briefs for the library core structures.Dean Camera2010-03-2966-78/+373
|
* Add file-level brief documentation.Dean Camera2010-03-2995-416/+444
| | | | Remove accidentally duplicated model-specific peripheral driver files.
* All Class Driver Host mode demos now correctly set the board LEDs to READY ↵Dean Camera2010-03-253-12/+14
| | | | | | once the enumeration process has completed. Fixed Still Image Host class driver not resetting the transaction ID when a new session is opened, fixed driver not sending a valid session ID to the device.
* Added new Relay Controller Board project (thanks to OBinou).Dean Camera2010-03-242-4/+130
| | | | Added hardware board driver support for the PJRC Teensy line of USB AVR boards.
* Fixed incorrect definition of HID_ALIGN_DATA() causing incorrect HID report ↵Dean Camera2010-03-241-1/+1
| | | | item data alignment.
* Fixed compilation error in the AudioInput demos when ↵Dean Camera2010-03-242-4/+4
| | | | | | | | MICROPHONE_BIASED_TO_HALF_RAIL is defined (thanks to C. Scott Ananian). Minor documentation cleanups. Make sure HID class driver uses properly cast pointers when writing to the report buffer.
* Software PDI mode breaks unless the software USART has 100 cycles between bits.Dean Camera2010-03-171-5/+4
|
* Improve documentation for the ADC and TWI drivers.Dean Camera2010-03-152-2/+10
|
* Fixed ADC routines not correctly returning the last result when multiple ↵Dean Camera2010-03-131-21/+29
| | | | | | channels were read. Fixed ADC routines failing to read the extended channels (Channels 8 to 13, Internal Temperature Sensor) on the U4 series USB AVR parts.
* Fix incorrect LED mask name in the Webserver project.Dean Camera2010-03-092-3/+5
| | | | Fix missing text from the Host Mode States enum documentation.
* Fix TWI driver not aborting when faced with no response after attempting to ↵Dean Camera2010-02-251-2/+2
| | | | address a device on the bus.