uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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.

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))
 

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, RESET = 0, SET = !RESET }
 Flag Status and Interrupt Flag Status type definition. More...
 
enum  FunctionalState { DISABLE = 0, ENABLE = !DISABLE, 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

Software that is described herein is for illustrative purposes only which provides customers with programming information regarding the products. This software is supplied "AS IS" without any warranties. NXP Semiconductors assumes no responsibility or liability for the use of the software, conveys no license or title under any patent, copyright, or mask work right to the product. NXP Semiconductors reserves the right to make changes in the software without notification. NXP Semiconductors also make no representation or warranty that such application will be suitable for the specified use without further testing or modification.

Definition in file lpc_types.h.