Index: Common.h =================================================================== diff -u -r1797ae184a55396ff3464cead47f16bac9dda84c -rab9bf328124f0d24a9a25a1016e16d1eade4766d --- Common.h (.../Common.h) (revision 1797ae184a55396ff3464cead47f16bac9dda84c) +++ Common.h (.../Common.h) (revision ab9bf328124f0d24a9a25a1016e16d1eade4766d) @@ -119,6 +119,9 @@ #define BITS_12_FULL_SCALE 4096 ///< Full scale range for 12 bit ADC or DAC #define BITS_14_FULL_SCALE 16384 ///< Full scale range for 14 bit ADC or DAC #define BITS_16_FULL_SCALE 65536 ///< Full scale range for 16 bit ADC or DAC +#define LR_OFFSET_WORD_IN_STACK 17 ///< Offset of the link register from the STACK_MARKER +#define STACK_MARKER 0xCAFECAFE ///< Location in the stack to determine the offset in word from the Link Register +#define LR_OFFSET_ADJUSTMENT 4 ///< Adjust the content of the LR so that the Memory Access Violation does not get call continously // **** Common Macros ****