LPCOpen Platform for LPC18XX/43XX microcontrollers: C:/w/lpcopen_docs/software/lpc_core/lpc_chip/chip_common/lpc_types.h File Reference

| LPCOpen Platform for LPC18XX/43XX microcontrollers 18XX43XX LPCOpen Platform for the NXP LPC18XX/43XX family of Microcontrollers

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

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 | _BIT(n) (1 << (n))
#define | _SBF(f, v) ((v) << (f))
#define | _BITMASK(field_width) ( _BIT(field_width) - 1)
#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 }