aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Common/Common.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix UC3B architecture compile errors and ensure the architecture can be ↵Dean Camera2011-03-051-0/+2
| | | | compiled with no special makefile tokens defined.
* Porting updates for the UC3B architecture - get UC3B partially enumerating ↵Dean Camera2011-03-051-5/+36
| | | | using a modified mouse demo on the EVK1101. Implement a software FIFO for the endpoint banks; datasheet hints that this can be done through hardware as on the AVR8 architecture, but the correct method to do this not discovered yet.
* Add in USB_INT_RegisterHandlers() internal function to register the ↵Dean Camera2011-02-281-1/+3
| | | | | | interrupt handler routines used by LUFA. Add dummy loads after clearing the interrupt lines according to the datasheet. Add in temporary global interrupts enable/disable macros.
* Fix USB Host mode compile errors for the UC3B architecture.Dean Camera2011-02-271-0/+1
|
* Move out common architecture-independent core definitions into the ↵Dean Camera2011-02-271-0/+1
| | | | appropriate core dispatch header files.
* More AVR32 UC3B architecture ports - USB device mode applications can now be ↵Dean Camera2011-02-271-0/+12
| | | | sucessfully compiled, although they will be currently non-functional.
* Update board driver common APIs to use uint_reg_t.Dean Camera2011-02-201-5/+6
|
* Added start of a port of the core USB driver code to the AVR32 UC3B ↵Dean Camera2011-02-201-0/+11
| | | | architecture.
* More updates to remove architecture-specific comments from the ↵Dean Camera2011-02-201-7/+8
| | | | documentation, alter USBMode.h preprocessor logic to support future architectures more easily.
* More Doxygen updates for multiple architecture support.Dean Camera2011-02-201-4/+6
|
* Start update of documentation to support possible multiple architectures in ↵Dean Camera2011-02-201-4/+6
| | | | the future - alter \file documentation to automatically copy in the module documentation where possible.
* Add new ARCH option to the makefiles to (eventually) specify the target ↵Dean Camera2011-02-191-54/+76
| | | | device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support.
* Added new KeyboardMouseMultiReport Device ClassDriver demo.Dean Camera2011-01-261-0/+24
| | | | | | 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.
* Minor documentation improvements.Dean Camera2011-01-081-10/+10
|
* Update copyright year on all source files.Dean Camera2011-01-011-2/+2
|
* Fix compile errors from the changes to the SerialStream and board ↵Dean Camera2010-12-261-2/+2
| | | | Temperature drivers.
* Added basic driver example use code to the library documentation.Dean Camera2010-12-261-4/+8
| | | | 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-261-2/+12
| | | | | | | | 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.
* 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.
* 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.