| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
cpu_def.h File Reference

Go to the source code of this file.

## Macros
#define | CPU_WORD_SIZE_08 1u /* 8-bit word size (in octets). */
#define | CPU_WORD_SIZE_16 2u /* 16-bit word size (in octets). */
#define | CPU_WORD_SIZE_32 4u /* 32-bit word size (in octets). */
#define | CPU_WORD_SIZE_64 8u /* 64-bit word size (in octets). */
#define | CPU_ENDIAN_TYPE_NONE 0u
#define | CPU_ENDIAN_TYPE_BIG 1u /* Big- endian word order (see Note #1a). */
#define | CPU_ENDIAN_TYPE_LITTLE 2u /* Little-endian word order (see Note #1b). */
#define | CPU_STK_GROWTH_NONE 0u
#define | CPU_STK_GROWTH_LO_TO_HI 1u /* CPU stk incs towards higher mem addrs (see Note #1a). */
#define | CPU_STK_GROWTH_HI_TO_LO 2u /* CPU stk decs towards lower mem addrs (see Note #1b). */
#define | CPU_CRITICAL_METHOD_NONE 0u /* */
#define | CPU_CRITICAL_METHOD_INT_DIS_EN 1u /* DIS/EN ints (see Note #1a). */
#define | CPU_CRITICAL_METHOD_STATUS_STK 2u /* Push/Pop int status onto stk (see Note #1b). */
#define | CPU_CRITICAL_METHOD_STATUS_LOCAL 3u /* Save/Restore int status to local var (see Note #1c). */

## Macro Definition Documentation

#define CPU_CRITICAL_METHOD_INT_DIS_EN 1u /* DIS/EN ints (see Note #1a). */

Definition at line 172 of file cpu_def.h.

#define CPU_CRITICAL_METHOD_NONE 0u /* */

Definition at line 171 of file cpu_def.h.

#define CPU_CRITICAL_METHOD_STATUS_LOCAL 3u /* Save/Restore int status to local var (see Note #1c). */

Definition at line 174 of file cpu_def.h.

#define CPU_CRITICAL_METHOD_STATUS_STK 2u /* Push/Pop int status onto stk (see Note #1b). */

Definition at line 173 of file cpu_def.h.

#define CPU_ENDIAN_TYPE_BIG 1u /* Big- endian word order (see Note #1a). */

Definition at line 73 of file cpu_def.h.

#define CPU_ENDIAN_TYPE_LITTLE 2u /* Little-endian word order (see Note #1b). */

Definition at line 74 of file cpu_def.h.

#define CPU_ENDIAN_TYPE_NONE 0u

Definition at line 72 of file cpu_def.h.

#define CPU_STK_GROWTH_HI_TO_LO 2u /* CPU stk decs towards lower mem addrs (see Note #1b). */

Definition at line 93 of file cpu_def.h.

#define CPU_STK_GROWTH_LO_TO_HI 1u /* CPU stk incs towards higher mem addrs (see Note #1a). */

Definition at line 92 of file cpu_def.h.

#define CPU_STK_GROWTH_NONE 0u

Definition at line 91 of file cpu_def.h.

#define CPU_WORD_SIZE_08 1u /* 8-bit word size (in octets). */

Definition at line 65 of file cpu_def.h.

#define CPU_WORD_SIZE_16 2u /* 16-bit word size (in octets). */

Definition at line 66 of file cpu_def.h.

#define CPU_WORD_SIZE_32 4u /* 32-bit word size (in octets). */

Definition at line 67 of file cpu_def.h.

#define CPU_WORD_SIZE_64 8u /* 64-bit word size (in octets). */

Definition at line 68 of file cpu_def.h.