| 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 | Enumerations
lpc_types.h File Reference
`#include <stdint.h>`
`#include <stdbool.h>`

Go to the source code of this file.

## Macros
#define | PARAM_SETSTATE(State) ((State == RESET) || (State == SET))
#define | PARAM_FUNCTIONALSTATE(State) ((State == DISABLE) || (State == ENABLE))
#define | NULL ((void *) 0)
#define | NELEMENTS(array) (sizeof(array) / sizeof(array[0]))
#define | STATIC static
#define | EXTERN extern
#define | MAX(a, b) (((a) > (b)) ? (a) : (b))
#define | MIN(a, b) (((a) < (b)) ? (a) : (b))
#define | INLINE inline

## Typedefs
typedef enum FlagStatus | IntStatus
typedef enum FlagStatus | SetState
typedef void(* | PFV )()
typedef int32_t(* | PFI )()
typedef char | CHAR
typedef uint8_t | UNS_8
typedef int8_t | INT_8
typedef uint16_t | UNS_16
typedef int16_t | INT_16
typedef uint32_t | UNS_32
typedef int32_t | INT_32
typedef int64_t | INT_64
typedef uint64_t | UNS_64
typedef bool | BOOL_32
typedef bool | BOOL_16
typedef bool | BOOL_8

## Enumerations
enum | Bool { FALSE = 0, TRUE = !FALSE }
| Boolean Type definition. More...
enum | FlagStatus { RESET = 0, SET = !RESET }
| Boolean Type definition. More...
enum | FunctionalState { DISABLE = 0, ENABLE = !DISABLE }
| Functional State Definition. More...
enum | Status { ERROR = 0, SUCCESS = !ERROR }
enum | TRANSFER_BLOCK_T { NONE_BLOCKING = 0, BLOCKING }