aboutsummaryrefslogtreecommitdiff
path: root/LUFA/Common
AgeCommit message (Collapse)Author
2011-05-08Minor documentation fixes.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1749 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-04-25Add __VA_ARGS__ support to the LUFA supplied ISR macro. Add proper result ↵Dean
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). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1747 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-04-13Fix definition of pgm_read_ptr().Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1740 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-04-12Add missing function attributes to the pipe/endpoint functions for all ↵Dean
architectures. Perform endianness correction in the HID report parser for big-endian platforms. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1734 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-04-10Remove redundant type information for bitfield elements, other than the ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1733 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-04-08Create a new Common module documentation group for the new Global Interrupt ↵Dean
macros. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1732 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-04-08Move global interrupt enable/disable functions out to Common.h and document ↵Dean
them. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1731 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-04-08Correct UC3 global interrupt functions.Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1730 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-04-08Add in a new common Delay_MS() function, which provides a blocking delay for ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1729 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-04-04Conditionally add available address spaces to the address space enum, for ↵Dean
multiple address space architectures. Update Doxygen configuration file for the latest Doxygen release. Minor documentation updates. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1725 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-03-21Add in new architecture attribute defines to selectively remove the EEPROM ↵Dean
and FLASH memory space functions on architectures which do not have seperate memory address spaces. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1721 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-03-15Remove redundant Doxygen guards from the internal preprocessor definitions.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1715 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-03-13Rename UC3B driver files to UC3, as they are generic to all AVR32 UC3 models.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1705 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-03-13Add experimental support for the UC3A0, UC3A1 and UC3A3 series AVR32 ↵Dean
microcontrollers. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1704 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-03-13Oops - rename misnamed Endianess.h header file.Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1703 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-03-13Move out endianness management macros into a new common Endianness.h header.Dean
Fix Doxygen documentation, broken due to the added ATTR_PACKED attribute on some structs breaking the Doxygen parser. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1702 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-03-05Fix UC3B architecture compile errors and ensure the architecture can be ↵Dean
compiled with no special makefile tokens defined. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1699 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-03-05Porting updates for the UC3B architecture - get UC3B partially enumerating ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1696 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-28Add in USB_INT_RegisterHandlers() internal function to register the ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1693 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-27Fix USB Host mode compile errors for the UC3B architecture.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1687 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-27Move out common architecture-independent core definitions into the ↵Dean
appropriate core dispatch header files. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1686 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-27More AVR32 UC3B architecture ports - USB device mode applications can now be ↵Dean
sucessfully compiled, although they will be currently non-functional. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1685 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-20Update board driver common APIs to use uint_reg_t.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1680 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-20Added start of a port of the core USB driver code to the AVR32 UC3B ↵Dean
architecture. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1676 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-20More updates to remove architecture-specific comments from the ↵Dean
documentation, alter USBMode.h preprocessor logic to support future architectures more easily. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1675 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-20More Doxygen updates for multiple architecture support.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1674 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-20Start update of documentation to support possible multiple architectures in ↵Dean
the future - alter \file documentation to automatically copy in the module documentation where possible. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1673 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-19Add new ARCH option to the makefiles to (eventually) specify the target ↵Dean
device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1669 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-16Added board driver support for the Sparkfun ATMEGA8U2 breakout board.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1666 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-26Added new KeyboardMouseMultiReport Device ClassDriver demo.Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1643 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-08Minor documentation improvements.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1626 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-01Update copyright year on all source files.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1622 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-12-26Fix compile errors from the changes to the SerialStream and board ↵Dean
Temperature drivers. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1618 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-12-26Added basic driver example use code to the library documentation.Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1615 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-12-26Make a new general RingBuffer.h misc library driver, instead of the ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1614 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-11-30Fixed broken USBFOO board drivers due to missing BOARD_USBFOO define.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1598 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-11-21Added board hardware driver support for the Microsin AVR-USB162 development ↵Dean
board. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1587 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-11-08Added board hardware driver support for the Adafruit U4 breakout board.Dean
Fixed calculation of timer register reload values derived from F_CPU; must subtract one from the division result for the compare value to be correct. Change AVRISP-MKII rescue clock speed to 4MHz to ensure that a 125KHz ISP speed works regardless of the target's fuses (i.e. DIV8 set). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1559 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-28Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean
redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1541 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-17Added board hardware driver support for the Minimus board (thanks to the ↵Dean
PSGroove team). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1533 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-17Added board hardware driver support for the Maximus board (thanks to the ↵Dean
PSGroove team). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1531 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-17Added board hardware driver support for the Blackcat USB JTAG board (thanks ↵Dean
to the PSGroove team). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1530 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-13Clean up excessive whitespace at the end of each line using the wspurify ↵Dean
tool made by Laszlo Monda git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1524 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-06Added board hardware driver support for the Busware CUL V3 board.Dean
Added SVN eol-style property to the library driver files that are missing it. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1515 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-09-28Added board hardware driver support for the Arduino Uno development board.Dean
Fixed incorrect LEDs_ChangeLEDs() function in the Benito board LED driver. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1499 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-09-22Reverted modifications to USBInterrupt.h that were intefering with correct ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1493 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-09-14Fix board name redefinition in BoardTypes.h (thanks to Daniel Czigany).Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1480 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-09-14Added board hardware driver support for the BUI development board.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1478 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-09-14Added board hardware driver support for the UDIP development board.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1477 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-09-03Added board hardware driver support for the Olimex AVR-USB-162 development ↵Dean
board (thanks to Steve Fawcett). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1460 d5102386-fcda-11dd-9fdb-3debd5008f28