aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers
Commit message (Collapse)AuthorAgeFilesLines
...
* Clarify in the documentation that the Audio demos and driver is for the ↵Dean Camera2010-08-213-7/+7
| | | | Audio 1.0 specification, not the newer (and more advanced/less supported) 2.0 specification.
* Fixed critical pipe/endpoint memory allocation issue where the bank memory ↵Dean Camera2010-08-202-17/+75
| | | | address space could be silently overlapped in the USB controller if the endpoints or pipes were allocated in anything other than ascending order (thanks to Martin Degelsegger).
* Added new SCSI_ASENSE_NOT_READY_TO_READY_CHANGE constant to the Mass Storage ↵Dean Camera2010-08-201-0/+5
| | | | class driver, to indicate when a previously not ready removable medium has now become ready for the host's use (thanks to Martin Degelsegger)
* Fixed USB_GetHIDReportItemInfo() function modifying the given report item's ↵Dean Camera2010-08-102-6/+8
| | | | data when the report item does not exist within the supplied report of a multiple report HID device.
* Removed complicated logic for the Endpoint_ConfigureEndpoint() function to ↵Dean Camera2010-08-093-140/+111
| | | | | | use inlined or function called versions depending of if the given bank size is a compile time constant, as the compiler does a better job of optimizing with basic code. Changed over all device demos to use a clearer algorithm for the configuring of the application's endpoints.
* Hide the PROGMEM attribute from Doxygen, as it appears to confuse the parser ↵Dean Camera2010-08-021-30/+30
| | | | in some situations.
* Fix XPLAINBridge project discarding characters from the USB interface due to ↵Dean Camera2010-08-015-32/+27
| | | | | | | | | | | | | | a double read from the endpoint. Make XPLAINBridge and USBtoSerial projects more reliable by forcing a flush if the UART-to-USB buffer becomes nearly full. Reduce locking in the LightweightRingBuffer.h header files by only locking on the update of the buffer count, and require insertions and removals from each buffer to occur in only one execution thread. Fix CDC_*_ReceiveByte() returning 0 when the interface is not configured, instead of the new -1 error value. Fix CDC_Host_ReceiveByte() not re-freezing the pipe if no packet has been received. Remove redundant Pipe token set commands in the CDC and RNDIS host class drivers.
* Fixed Serial peripheral driver not turning off the USART before ↵Dean Camera2010-07-311-9/+11
| | | | reconfiguring it, which would cause incorrect operation to occur (thanks to Bob Paddock).
* Oops - fix mixed "initialize" and "initialise" - opt for American spelling ↵Dean Camera2010-07-302-2/+2
| | | | due to its wide use in technical standards.
* More spell checking of all source files -- correct missed errors, switch to ↵Dean Camera2010-07-3022-24/+24
| | | | EN-GB spelling dictionary.
* Altered the CDC Deivice and Host Class drivers' receive byte routines, so ↵Dean Camera2010-07-304-37/+60
| | | | | | that no data is indicated by a negative return value. Added auto flushing of OUT data to the CDC Host Class driver's USBTask function to automatically flush the send pipe buffer.
* Spell check all source files once again to find any typos.Dean Camera2010-07-292-7/+7
|
* Add special support to the AVRISP-MKII for the new model USBTINY-MKII's ↵Dean Camera2010-07-291-1/+4
| | | | | | | | additional LED to indicate target power source. Add support to the USBTINY-MKII's additional LED in the board's LED driver header. Changed LED indicator masks for the AVRISP-MKII project, so that there are defined roles for each LED.
* Oops - remove duplicated SPI driver init mask.Dean Camera2010-07-291-3/+0
|
* Added support to the AVRISP-MKII project for ISP speeds slower than 125KHz ↵Dean Camera2010-07-291-1/+10
| | | | | | via a new software SPI driver. Added new SPI_ORDER_* data order masks to the SPI peripheral driver.
* Use static inline intermediatary functions in Endpoint.h to handle the ↵Dean Camera2010-07-271-14/+36
| | | | masking for the private endpoint configuration routine, instead of performing the masking in the Endpoint_ConfigureEndpoint() macro.
* Move over message ID specific header data to unions inside the standard TMC ↵Dean Camera2010-07-271-2/+2
| | | | header structure, so that all header data is read in one chunk in the incomplete TMC demo.
* Rename reserved members of all structs so that they are uniformly named ↵Dean Camera2010-07-262-7/+7
| | | | | | across all demos/projects/bootloaders. Added start of the Incomplete TMC demo's command parser code.
* Update size of compiled Mouse demo in documentation, fix indenting in Device.h.Dean Camera2010-07-231-1/+1
|
* Convert over internal pseudo-function macros to true inline functions for ↵Dean Camera2010-07-2217-1025/+1586
| | | | added type-safety and compile-checking.
* Replace internal Pipe_BytesToEPSizeMask() routine with a new version which ↵Dean Camera2010-07-211-12/+10
| | | | results in smaller code.
* Add missing const qualifiers to class drivers.Dean Camera2010-07-2165-276/+524
| | | | Indent core library function parameters so that there is only one parameter per line, to increase readability.
* Move and rename DevChaper9.c/.h and HostChapter9.c/.h to the HighLevel ↵Dean Camera2010-07-2115-46/+58
| | | | | | | | directory, new named DeviceStandardReq.c/.h and HostStandardReq.c/.h. Rename LowLevel.c/.h to USBController.c/.h. Remove dependancies on the complete <avr/io.h> header in the HighLevel USB driver directory, to ensure less work is required in later (possible) ports.
* Add missing const qualifier to the parameters of the ↵Dean Camera2010-07-213-208/+198
| | | | | | USB_GetNextDescriptorComp() function. Reduce spacing of the structure elements in StdDescriptors.h to make the code more readable.
* Fixed MIDI_Device_SendEventPacket() not correctly waiting for the endpoint ↵Dean Camera2010-07-201-1/+1
| | | | to become ready (thanks to Robin Green).
* Update makefiles to use the latest WinAVR/Atmel toolchain makefile template.Dean Camera2010-07-1927-44/+45
| | | | Add new module source variables to the library core makefile, so that module sources can be added to a project's makefile on a per-module rather than per-file basis.
* Removed the automated checking of event names in the demo, project and ↵Dean Camera2010-07-156-19/+11
| | | | | | bootloader makefiles due to inconsistancies between the behaviour of the command line tools used to perform the check on each platform. Removed the internal endpoint and pipe memory allocation macros, as this is already performed directly in the code. Simplify the endpoint and pipe reset procedure.
* Fixed HID device class driver still using PrevReportINBuffer for GetReport ↵Dean Camera2010-07-151-1/+1
| | | | control requests even when it has been set to NULL by the user application (thanks to Axel Rohde).
* Added const attributes to some of the class driver function parameters that ↵Dean Camera2010-07-1316-41/+43
| | | | were missing it.
* Add missing eol-style properties to new source files.Dean Camera2010-07-121-52/+52
|
* Make main readme file easier to read, and make documentation build ↵Dean Camera2010-07-061-2/+2
| | | | instructions clearer.
* Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific ↵Dean Camera2010-07-023-50/+72
| | | | | | functions that are more complicated than simple macros. Moved USB_Device_SendRemoteWakeup() to the new Device.c source file and corrected it to unfreeze and restart the USB controller clock before issuing a Remote Wakeup request. Removed the USB_Device_IsRemoteWakeupSent() and USB_Device_IsUSBSuspended() macros, as they are now obsolete.
* Renamed SERIAL_STREAM_ASSERT() macro to STDOUT_ASSERT().Dean Camera2010-06-1742-880/+887
| | | | Minor tweaks to the library documentation.
* Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as ↵Dean Camera2010-06-1616-28/+28
| | | | the new 1.7 Doxygen's default stylesheet is much better.
* Fix HID parser documentation for the default maximum report/path/etc. ↵Dean Camera2010-06-151-2/+2
| | | | elements so that it matches the current code values.
* Change over Doxygen \note documentation to \pre where applicable.Dean Camera2010-06-1513-114/+109
|
* Slight improvements to the reliability of the software UART in the ↵Dean Camera2010-06-121-1/+1
| | | | XPLAINBridge project.
* Speed up calls to Pipe_IsPipeBound() by immediately skipping unconfigured ↵Dean Camera2010-06-122-5/+8
| | | | pipes, rather than performing token check first.
* Add missing ATTR_NON_NULL_PTR_ARG and ATTR_ALWAYS_INLINE attributes to class ↵Dean Camera2010-06-0810-45/+63
| | | | driver functions.
* Fixed incorrect function references in the Mass Storage Class driver ↵Dean Camera2010-06-032-2/+4
| | | | documentation.
* 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
|