aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Common/Common.h
Commit message (Collapse)AuthorAgeFilesLines
* Documentation: Update copyrights to 2019.Dean Camera2019-01-081-2/+2
|
* Fixed CDC class Send_Device_*_P() and Send_Host_*_P() variant functions not ↵Dean Camera2018-02-181-0/+1
| | | | compiled out for UC3 architecture.
* Update copyrights for 2018.Dean Camera2018-01-041-2/+2
|
* Update copyrights for 2017.Dean Camera2017-04-181-2/+2
|
* Update copyrights to 2016.Dean Camera2016-01-311-2/+2
|
* Update copyrights to 2015 (better late than never).Dean Camera2015-05-171-2/+2
|
* Obsolete the old MACROS and MACROE convenience macros.Dean Camera2014-09-141-13/+5
|
* Update copyrights for 2014.Dean Camera2014-01-041-2/+2
|
* Added new CONCAT() and CONCAT_EXPANDED() convenience macros.Dean Camera2013-04-061-3/+23
|
* Update copyright year to 2013.Dean Camera2013-01-031-2/+2
|
* Fixed hardware race condition that could cause failed device enumerations ↵Dean Camera2013-01-031-2/+2
| | | | | | | | for AVR8 and UC3 architectures (thanks to Mike Beyhs). Fixed incorrect Minimus board LED definitions (thanks to Joonas Lahtinen). Fixed incorrect LED masks for received data display in the Device GenericHID demos (thanks to Denys Berkovskyy).
* Minor typo corrections.Dean Camera2013-01-021-2/+2
|
* Minor documentation improvements.Dean Camera2012-10-051-1/+1
|
* Add missing <math.h> include for the UC3 devices, hide CDC class driver ↵Dean Camera2012-06-121-1/+2
| | | | stream functions for unsupported platforms.
* Make sure that LUFAConfig.h is included *after* the common submodules, so ↵Dean Camera2012-05-291-4/+4
| | | | that the architecture and other defines are available to the configuration header.
* Minor documentation improvements.Dean Camera2012-04-081-1/+1
|
* Fix up Doxygen documentation directives to allow for generation of ↵Dean Camera2012-04-071-0/+7
| | | | documentation when the library code root folder is not "LUFA".
* Add XMEGA C3 family to the ModuleTest build test.Dean Camera2012-03-171-2/+0
| | | | | | Remove unnecessary GCC_MEMORY_BARRIER() at the end of GetGlobalInterruptMask(). Minor documentation improvements.
* Minor documentation fixes - change \note entries to \warning where ↵Dean Camera2012-02-241-4/+4
| | | | appropriate and remove/update old documentation.
* Add build tests to verify correct compilation of as many modules as possible ↵Dean Camera2012-02-181-1/+3
| | | | | | | | | | under as many architectures as possible. Fix broken compilation of LUFA under C++ compilers when the Serial peripheral module header file is included in a C++ source file. Fix missing semicolon in the UC3 architecture host pipe functions. Fix failed compilation for the XMEGA architecture if USB_DEVICE_ONLY us not specified.
* Update file contributor copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Update file header copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Minor documentation fixes.Dean Camera2012-02-031-1/+1
|
* Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵Dean Camera2011-12-231-17/+17
| | | | trailing whitespace at the end of each line.
* Fixed compiler warning on GCC with -wundef compile flag is used (thanks to ↵Dean Camera2011-12-201-2/+2
| | | | Georg Glock).
* Add missing "used" attribute to ATTR_INIT_SECTION to ensure functions ↵Dean Camera2011-09-221-0/+2
| | | | | | declared with that meta-attribute are not discarded by the linker. Add missing function and definition documentation.
* Add new TWI_BITLENGTH_FROM_FREQ() macro to the AVR8 TWI peripheral driver.Dean Camera2011-09-021-2/+2
| | | | | | Change Delay_MS() to accept a 16-bit parameter rather than an 8-bit parameter for longer possible delays. Minor documentation improvements.
* 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).
* Pull out architecture specific macros and other definitions into a new ↵Dean Camera2011-08-161-69/+1
| | | | common header file. Add new JTAG_DISABLE() macro for the AVR8s to software-disable JTAG debugging using cycle-safe assembly code.
* 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-131-1/+34
|
* Split out compiler specific helper macros into a new CompilerSpecific.h ↵Dean Camera2011-07-061-25/+1
| | | | header file inside the library, for future expansion.
* Fixed compile error when FIXED_CONTROL_ENDPOINT_SIZE compile time option was ↵Dean Camera2011-06-201-0/+10
| | | | | | 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.
* Spell check library source code files.Dean Camera2011-06-011-1/+1
|
* 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-251-1/+1
| | | | | | | | | | 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-121-1/+11
| | | | | | 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.
* 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-131-1/+1
|
* 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-131-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-131-151/+12
| | | | Fix Doxygen documentation, broken due to the added ATTR_PACKED attribute on some structs breaking the Doxygen parser.