| 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 | Typedefs | Functions
Common.h File Reference
`#include <stdint.h>`
`#include <stdbool.h>`
`#include <string.h>`
`#include <stddef.h>`
`#include "../LPCUSBlibConfig.h"`
`#include "CompilerSpecific.h"`
`#include "Attributes.h"`

Go to the source code of this file.

## Macros
#define | MACROS do
#define | MACROE while (0)
#define | MAX(x, y) (((x) > (y)) ? (x) : (y))
#define | MIN(x, y) (((x) < (y)) ? (x) : (y))
#define | STRINGIFY(x) #x
#define | STRINGIFY_EXPANDED(x) STRINGIFY(x)

## Typedefs
typedef MACHINE_REG_t | uint_reg_t

## Functions
static uint8_t | BitReverse (uint8_t Byte) ATTR_WARN_UNUSED_RESULT ATTR_CONST
static PRAGMA_ALWAYS_INLINE void | Delay_MS (uint16_t Milliseconds) ATTR_ALWAYS_INLINE
static PRAGMA_ALWAYS_INLINE uint_reg_t | GetGlobalInterruptMask (void) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT
static PRAGMA_ALWAYS_INLINE void | SetGlobalInterruptMask (const uint_reg_t GlobalIntState) ATTR_ALWAYS_INLINE
static PRAGMA_ALWAYS_INLINE void | GlobalInterruptEnable (void) ATTR_ALWAYS_INLINE
static PRAGMA_ALWAYS_INLINE void | GlobalInterruptDisable (void) ATTR_ALWAYS_INLINE