aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Common
Commit message (Collapse)AuthorAgeFilesLines
...
* Renamed USB_Host_ClearPipeStall() to USB_Host_ClearEndpointStall() as the ↵Dean Camera2011-08-241-16/+16
| | | | | | | | | | function works on an endpoint address within the attached device, and not a Pipe within the host. Updated MS_Host_ResetMSInterface() to now perform a full Mass Storage reset sequence to prevent data corruption in the event of a device lock up or timeout (thanks to David Lyons). Add parenthesis around the library Endianness macros that do nothing on a particular architecture to prevent operator precedence issues depending on usage. Minor documentation corrections.
* Minor documentation fixes.Dean Camera2011-08-231-2/+2
| | | | Add extra parenthesis around terms in the common MIN() and MAX() macros to prevent issues with non-trivial macro inputs (thanks to David Lyons).
* Renamed the JTAG_DEBUG_ASSERT() macro to JTAG_ASSERT().Dean Camera2011-08-221-3/+3
| | | | | | | | Changed the reports in the GenericHID device demos to control the board LEDs, to reduce user confusion over the callback routines. Fixed swapped TWI_ADDRESS_READ and TWI_ADDRESS_WRITE values. Fixed TWI_ReadPacket() not releasing the TWI bus on read completion.
* Pull out architecture specific macros and other definitions into a new ↵Dean Camera2011-08-163-73/+148
| | | | common header file. Add new JTAG_DISABLE() macro for the AVR8s to software-disable JTAG debugging using cycle-safe assembly code.
* Add shortcuts to SwapEndian_16() and SwapEndian_32() internal functions to ↵Dean Camera2011-08-162-5/+11
| | | | improve optimization if called with constant inputs.
* Add missing SVN eol-style property to files where it was missing.Dean Camera2011-07-153-658/+658
|
* Add new STRINGIFY() and STRINGIFY_EXPANDED() convenience macros.Dean Camera2011-07-141-0/+20
|
* Add start of an architecture port to the Atmel USB XMEGA devices.Dean Camera2011-07-132-2/+38
|
* Add missing doxygen group terminator to the new CompilerSpecific.h header file.Dean Camera2011-07-071-0/+2
|
* Split out compiler specific helper macros into a new CompilerSpecific.h ↵Dean Camera2011-07-063-30/+102
| | | | header file inside the library, for future expansion.
* Added board hardware driver support for the EVK1104 board.Dean Camera2011-06-271-0/+3
| | | | Fix inverted LEDs_GetLEDs() result for the EVK1100 and EVK1101 boards.
* Add board driver support for the EVK1100 board.Dean Camera2011-06-271-0/+3
|
* Fixed compile error when FIXED_CONTROL_ENDPOINT_SIZE compile time option was ↵Dean Camera2011-06-202-0/+20
| | | | | | disabled, and a USE_*_DESCRIPTORS compile time option was not enabled on the AVR8s. Add C++ compatibility to some header files currently missing extern "C" linkage.
* Added board driver support for the Busware TUL board.Dean Camera2011-06-041-1/+4
|
* Spell check library source code files.Dean Camera2011-06-012-5/+5
|
* Add new USE_LUFA_CONFIG_HEADER compile time option.Dean Camera2011-05-091-0/+4
| | | | Add missing LEDS_ToggleLEDs() function to the LED driver for the EVK1101 board.
* Minor documentation fixes.Dean Camera2011-05-081-1/+4
|
* Add __VA_ARGS__ support to the LUFA supplied ISR macro. Add proper result ↵Dean Camera2011-04-252-4/+4
| | | | | | | | | | typecasting to the SWAPENDIAN_* macros. Switch to using -1 on the UC3 target to obtain a register mask with all bits set (for clearing interrupts and status flags). Fix incorrect USB controller mode on the UC3 when a fixed mode is specified as a compile time option due to AVR32_USBB.USBCON.uide being set by default. Make USB_Descriptor_String_t use a uint16_t for Unicode strings on all targets except the AVR8 (retained for backwards compatibility).
* Fix definition of pgm_read_ptr().Dean Camera2011-04-131-1/+1
|
* Add missing function attributes to the pipe/endpoint functions for all ↵Dean Camera2011-04-122-13/+23
| | | | | | architectures. Perform endianness correction in the HID report parser for big-endian platforms.
* Remove redundant type information for bitfield elements, other than the ↵Dean Camera2011-04-101-18/+28
| | | | | | signed/unsignedness of the element. Change type of USB_SelectedPipe and USB_SelectedEndpoint for the AVR32 UC3 architecture to uint32_t to reduce the compiled code size.
* Create a new Common module documentation group for the new Global Interrupt ↵Dean Camera2011-04-081-2/+20
| | | | macros.
* Move global interrupt enable/disable functions out to Common.h and document ↵Dean Camera2011-04-081-1/+90
| | | | them.
* Correct UC3 global interrupt functions.Dean Camera2011-04-081-4/+14
| | | | | | Replace all calls and references to _delay_ms() in the code with the architecture-agnostic Delay_MS() function. Improve code generation for the Delay_MS() function on the AVR8 architecture when called with a constant input.
* Add in a new common Delay_MS() function, which provides a blocking delay for ↵Dean Camera2011-04-081-5/+17
| | | | | | | | all architectures. Remove use of avr-libc specific ATOMIC_BLOCK, replace with a new per-architecture set of inline functions to retrieve and manipulate the global interrupt enable bit for each architecture. Add in documentation for the USB controller common interrupt routine which must be linked to the interrupt controller in the user application on the AVR32 UC3 architecture.
* Conditionally add available address spaces to the address space enum, for ↵Dean Camera2011-04-041-0/+4
| | | | | | | | multiple address space architectures. Update Doxygen configuration file for the latest Doxygen release. Minor documentation updates.
* Add in new architecture attribute defines to selectively remove the EEPROM ↵Dean Camera2011-03-211-2/+6
| | | | and FLASH memory space functions on architectures which do not have seperate memory address spaces.
* Remove redundant Doxygen guards from the internal preprocessor definitions.Dean Camera2011-03-151-3/+1
|
* Rename UC3B driver files to UC3, as they are generic to all AVR32 UC3 models.Dean Camera2011-03-132-3/+3
|
* Add experimental support for the UC3A0, UC3A1 and UC3A3 series AVR32 ↵Dean Camera2011-03-131-0/+6
| | | | microcontrollers.
* Oops - rename misnamed Endianess.h header file.Dean Camera2011-03-132-4/+0
| | | | Remove UC3B temp macros related to EEPROM, to ensure that projects requiring this break at compile time rather than at runtime until a solution can be found.
* Move out endianness management macros into a new common Endianness.h header.Dean Camera2011-03-133-152/+477
| | | | Fix Doxygen documentation, broken due to the added ATTR_PACKED attribute on some structs breaking the Doxygen parser.
* 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-052-5/+45
| | | | 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-203-1/+18
| | | | architecture.
* More updates to remove architecture-specific comments from the ↵Dean Camera2011-02-202-9/+10
| | | | documentation, alter USBMode.h preprocessor logic to support future architectures more easily.
* More Doxygen updates for multiple architecture support.Dean Camera2011-02-204-14/+21
|
* Start update of documentation to support possible multiple architectures in ↵Dean Camera2011-02-204-18/+20
| | | | 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-194-62/+158
| | | | device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support.
* Added board driver support for the Sparkfun ATMEGA8U2 breakout board.Dean Camera2011-02-161-0/+3
|
* 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-083-14/+14
|
* Update copyright year on all source files.Dean Camera2011-01-013-6/+6
|
* 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.