/** \file\r
*\r
* This file contains macros which are common to all library elements, and which may be useful in user code. It\r
- * also includes other common headees, such as Atomic.h, FunctionAttributes.h and BoardTypes.h.\r
+ * also includes other common headers, such as Atomic.h, FunctionAttributes.h and BoardTypes.h.\r
*/\r
\r
#ifndef __COMMON_H__\r
\r
/* Public Interface - May be used in end-application: */\r
/* Macros: */ \r
- /** Macro for encasing other multi-statment macros. This should be used along with an opening brace\r
+ /** Macro for encasing other multi-statement macros. This should be used along with an opening brace\r
* before the start of any multi-statement macro, so that the macros contents as a whole are treated\r
- * as a discreete block and not as a list of seperate statements which may cause problems when used as\r
- * a block (such as inline IF statments).\r
+ * as a discrete block and not as a list of separate statements which may cause problems when used as\r
+ * a block (such as inline IF statements).\r
*/\r
#define MACROS do\r
\r
- /** Macro for encasing other multi-statment macros. This should be used along with a preceeding closing\r
+ /** Macro for encasing other multi-statement macros. This should be used along with a preceding closing\r
* brace at the end of any multi-statement macro, so that the macros contents as a whole are treated\r
- * as a discreete block and not as a list of seperate statements which may cause problems when used as\r
- * a block (such as inline IF statments).\r
+ * as a discrete block and not as a list of separate statements which may cause problems when used as\r
+ * a block (such as inline IF statements).\r
*/\r
#define MACROE while (0)\r
\r
- /** Defines a volatile NOP statment which cannot be optimized out by the compiler, and thus can always\r
+ /** Defines a volatile NOP statement which cannot be optimized out by the compiler, and thus can always\r
* be set as a breakpoint in the resulting code. Useful for debugging purposes, where the optimizer\r
* removes/reorders code to the point where break points cannot reliably be set.\r
*/\r
#define JTAG_DEBUG_POINT() asm volatile ("NOP" ::)\r
\r
- /** Defines an explicit JTAG break point in the resulting binary via the ASM BREAK statment. When\r
+ /** Defines an explicit JTAG break point in the resulting binary via the ASM BREAK statement. When\r
* a JTAG is used, this causes the program execution to halt when reached until manually resumed. */\r
#define JTAG_DEBUG_BREAK() asm volatile ("BREAK" ::)\r
\r