diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2011-02-20 13:08:29 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2011-02-20 13:08:29 +0000 |
| commit | 7e5abe7ff1cc55f6f8a250f24cd5fcedeb3d2389 (patch) | |
| tree | f40fe1525f2053746540498041f1e8a819277bd7 /LUFA/Common/Common.h | |
| parent | e3f5648f950eea03feb39258930fde89d678b9c3 (diff) | |
Start update of documentation to support possible multiple architectures in 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
Diffstat (limited to 'LUFA/Common/Common.h')
| -rw-r--r-- | LUFA/Common/Common.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/LUFA/Common/Common.h b/LUFA/Common/Common.h index 3afb60d0..62aee31d 100644 --- a/LUFA/Common/Common.h +++ b/LUFA/Common/Common.h @@ -31,11 +31,11 @@ /** \file * \brief Common library convenience macros and functions. * - * This file contains macros which are common to all library elements, and which may be useful in user code. It - * also includes other common code headers. + * \copydetails Group_Common */ /** \defgroup Group_Common Common Utility Headers - LUFA/Drivers/Common/Common.h + * \brief Common library convenience macros and functions. * * Common utility headers containing macros, functions, enums and types which are common to all * aspects of the library. @@ -64,7 +64,8 @@ /* Includes: */ #include <stdint.h> #include <stdbool.h> - + #include <string.h> + #include "Architectures.h" #include "Attributes.h" #include "BoardTypes.h" @@ -75,6 +76,7 @@ #include <avr/interrupt.h> #include <avr/pgmspace.h> #include <avr/eeprom.h> + #include <avr/boot.h> #include <util/atomic.h> #include <util/delay.h> #endif @@ -123,7 +125,7 @@ #define MIN(x, y) ((x < y) ? x : y) #endif - #if (ARCH == ARCH_AVR8) + #if (ARCH == ARCH_AVR8) || defined(__DOXYGEN__) /** Defines a volatile \c NOP statement which cannot be optimized out by the compiler, and thus can always * be set as a breakpoint in the resulting code. Useful for debugging purposes, where the optimiser * removes/reorders code to the point where break points cannot reliably be set. |
