aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Common/Common.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-131-20/+21
| | | | tool made by Laszlo Monda
* Reverted modifications to USBInterrupt.h that were intefering with correct ↵Dean Camera2010-09-221-2/+2
| | | | | | | | host mode operation. Fixed SUSPI interrupt not being cleared during device mode enumeration, causing accidental mis-fires on re-enumeration. Fixed JTAG_DEBUG_POINT() and JTAG_DEBUG_BREAK() macros not compiling under pure C99 standards mode.
* Oops - fix mixed "initialize" and "initialise" - opt for American spelling ↵Dean Camera2010-07-301-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-301-3/+3
| | | | EN-GB spelling dictionary.
* Spell check all source files once again to find any typos.Dean Camera2010-07-291-1/+1
|
* Add missing const qualifiers to class drivers.Dean Camera2010-07-211-7/+9
| | | | 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-211-1/+2
| | | | | | | | 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.
* Rewrote the implementation of the SwapEndian_16() and SwapEndian_32() ↵Dean Camera2010-07-091-5/+34
| | | | | | functions so that they compile down in most instances to minimal loads and stores rather than complicated shifts. Fixed SCSI.c implementations of all the demos/projects casting the block count to a 32-bit temporary before calling SwapEndian_16().
* Added new pgm_read_ptr() macro to Common.h for reading of pointers out of ↵Dean Camera2010-06-221-3/+38
| | | | | | flash memory space. Added new SWAPENDIAN_16() and SWAPENDIAN_32() macros to Common.h for statically initialized variables at compile time.
* Renamed SERIAL_STREAM_ASSERT() macro to STDOUT_ASSERT().Dean Camera2010-06-171-12/+12
| | | | Minor tweaks to the library documentation.
* Fix byte ordering of UUIDs in the SDP server - host can now successfully ↵Dean Camera2010-06-021-1/+1
| | | | pair to the Bluetooth device and discover the exposed Serial Port Profile RFCOMM service.
* The SDP UUID lists should be searched and ALL UUIDs matched for a record to ↵Dean Camera2010-06-021-1/+1
| | | | | | | | be retrieved, not partial matches. Change the SDP code so that the entire list must be matched against a service attribute table's contents before it is returned. Change matching algorithm so that it recursively searches through the entire attribute table, and not just pre-specified sequence attributes. Add browse lists and proper descriptions to the Serial Port service.
* Fix spacing of the function parameter descriptions in the Doxygen documentation.Dean Camera2010-05-291-5/+5
|
* Fixed incorrect signature for the ATMEGA32U2 in the DFU bootloader (thanks ↵Dean Camera2010-05-291-1/+1
| | | | | | to Axel Rohde). Partial fix to the Bluetooth SDP code - data should be encoded in big endian, not little endian.
* Fixed RNDISEthernet demos crashing when calculating checksums for ↵Dean Camera2010-05-251-1/+1
| | | | | | Ethernet/TCP packets of more than ~500 bytes due to an overflow in the checksum calculation loop (thanks to Kevin Malec). Removed string Attributes from the Service Discovery Protocol code to minimise the potential points of failure while the base code is being debugged.
* Add UUID Class matching to the Service Discovery Protocol code - SDP is now ↵Dean Camera2010-05-231-3/+3
| | | | correctly matched against the generic Service Discovery Class UUID.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-185/+185
| | | | correctly converted to the target system's native end of line style.
* Use puts_P() and printf_P() instead of the normal variants where possible in ↵Dean Camera2010-04-281-8/+8
| | | | the Host mode Class Driver demos.
* Rename FunctionAttributes.h to Attributes.h, as some attributes are ↵Dean Camera2010-04-151-2/+2
| | | | | | | | 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.
* Add file-level brief documentation.Dean Camera2010-03-291-0/+1
| | | | Remove accidentally duplicated model-specific peripheral driver files.
* Revert changes made for the partial port to the AVR32 architecture.Dean Camera2010-02-241-25/+2
|
* Update Temperature board driver to be AVR32 compatible when the ADC ↵Dean Camera2010-02-231-2/+2
| | | | | | peripheral driver is eventually ported. Make architecture includes explicit for both the AVR32 and the AVR8, to make way for future architecture ports. Add SPI driver aliases for the old function names in the AVR8 driver, so that existing code will still compile against the new version.
* Fixed software PDI/TPI programming mode in the AVRISP project not correctly ↵Dean Camera2010-02-231-1/+1
| | | | | | toggling just the clock pin. Fix broken AVR8 Serial peripheral driver.
* Change over board hardware drivers to use the custom uintN_t and intN_t ↵Dean Camera2010-02-221-0/+6
| | | | native word size types.
* Add drivers for the EVK1101 - begin full port to the AVR32 UC3B line of AVRs.Dean Camera2010-02-221-2/+19
|
* Inline USB management functions in the Class drivers which are standardized ↵Dean Camera2010-01-051-1/+1
| | | | but currently unused, to prevent them from using up unneccesary cycles and flash in the user application.
* Update copyright year to 2010.Dean Camera2009-12-301-2/+2
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-281-7/+7
|
* Add optional double-banking support to the Device mode Class Drivers, on a ↵Dean Camera2009-11-061-5/+1
| | | | per-endpoint, per-interface level.
* Added const modifiers to device mode class drivers.Dean Camera2009-06-281-5/+5
| | | | | | Added parameter directions to function parameter documentation. Added new experimental FAST_STREAM_FUNCTIONS compile time option to speed up stream transfers at the expense of a higher FLASH consumption (needs testing to verify improved throughput).
* Renamed Serial_Stream driver to SerialStream to remain consistent with the ↵Dean Camera2009-04-171-1/+1
| | | | rest of the library's naming scheme for files.
* Fixed GenericHIDHost demo report write routine incorrect for control type ↵Dean Camera2009-04-161-2/+40
| | | | | | | | | | | | | | | | | | requests (thanks to Andrei Krainev). Removed Endpoint_ClearCurrentBank() and Pipe_ClearCurrentBank() in favour of new Endpoint_ClearIN(), Endpoint_ClearOUT(), Endpoint_ClearControlIN(), Endpoint_ClearControlOUT(), Pipe_ClearIN(), Pipe_ClearOUT(), Pipe_ClearControlIN() and Pipe_ClearControlOUT() macros (done to allow for the detection of packets of zero length). Renamed *_ReadWriteAllowed() macros to *_IsReadWriteAllowed() to remain consistent with the rest of the LUFA API. Endpoint_IsSetupReceived() macro has been renamed to Endpoint_IsSETUPReceived(), Endpoint_ClearSetupReceived() macro has been renamed to Endpoint_ClearControlSETUP(), the Pipe_IsSetupSent() macro has been renamed to Pipe_IsSETUPSent() and the Pipe_ClearSetupSent() macro is no longer applicable and should be removed - changes made to compliment the new endpoint and pipe bank management API. Updated all demos, bootloaders and projects to use the new endpoint and pipe management APIs (thanks to Roman Thiel). Updated library doxygen documentation, added groups, changed documentation macro functions to real functions for clarity. Removed old endpoint and pipe aliased read/write/discard routines which did not have an explicit endian specifier for clarity. Removed the ButtLoadTag.h header file, as no one used for its intended purpose anyway.
* All comments in the library, bootloaders, demos and projects have now been ↵Dean Camera2009-04-011-9/+9
| | | | spell-checked and spelling mistakes/typos corrected.
* Removed SetSystemClockPrescaler() macro, the clock_prescale_set() avr-libc ↵Dean Camera2009-03-091-21/+0
| | | | macro has been corrected in recent avr-libc versions
* Moved all source to the trunk directory.Dean Camera2009-02-231-0/+171