C:/nxpdrv/LPC1700CMSIS/Drivers/include/lpc_types.h File Reference
: Contains the NXP ABL typedefs for C standard types. It is intended to be used in ISO C conforming development environments and checks for this insofar as it is possible to do so. More...
#include <stdint.h>
Go to the source code of this file.
Defines | |
#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)) |
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 } |
Flag Status and Interrupt Flag Status type definition. More... | |
enum | FunctionalState { DISABLE = 0, ENABLE = !DISABLE } |
Functional State Definition. More... | |
enum | Status { ERROR = 0, SUCCESS = !ERROR } |
enum | TRANSFER_BLOCK_Type { NONE_BLOCKING = 0, BLOCKING } |
Detailed Description
: Contains the NXP ABL typedefs for C standard types. It is intended to be used in ISO C conforming development environments and checks for this insofar as it is possible to do so.
- Version:
- : 1.0
- Date:
- : 27 Jul. 2008
- Author:
- : wellsk
Definition in file lpc_types.h.
Generated on Mon Feb 8 10:01:41 2010 for LPC1700CMSIS Standard Peripheral Firmware Library by
