uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
LPC_Types Public Types

Macros

#define PARAM_SETSTATE(State)   ((State==RESET) || (State==SET))
 
#define PARAM_FUNCTIONALSTATE(State)   ((State==DISABLE) || (State==ENABLE))
 

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

Macro Definition Documentation

#define PARAM_FUNCTIONALSTATE (   State)    ((State==DISABLE) || (State==ENABLE))

Definition at line 56 of file lpc_types.h.

#define PARAM_SETSTATE (   State)    ((State==RESET) || (State==SET))

Definition at line 50 of file lpc_types.h.

Typedef Documentation

typedef Bool BOOL_16

16 bit boolean type

Definition at line 180 of file lpc_types.h.

typedef Bool BOOL_32

32 bit boolean type

Definition at line 177 of file lpc_types.h.

typedef Bool BOOL_8

8 bit boolean type

Definition at line 183 of file lpc_types.h.

typedef char CHAR

SMA type for character type

Definition at line 150 of file lpc_types.h.

typedef int16_t INT_16

SMA type for 16 bit signed value

Definition at line 162 of file lpc_types.h.

typedef int32_t INT_32

SMA type for 32 bit signed value

Definition at line 168 of file lpc_types.h.

typedef int64_t INT_64

SMA type for 64 bit signed value

Definition at line 171 of file lpc_types.h.

typedef int8_t INT_8

SMA type for 8 bit signed value

Definition at line 156 of file lpc_types.h.

typedef enum FlagStatus IntStatus
typedef int32_t(* PFI)()

Pointer to Function returning int32_t (any number of parameters)

Definition at line 78 of file lpc_types.h.

typedef void(* PFV)()

Pointer to Function returning Void (any number of parameters)

Definition at line 75 of file lpc_types.h.

typedef enum FlagStatus SetState
typedef uint16_t UNS_16

SMA type for 16 bit unsigned value

Definition at line 159 of file lpc_types.h.

typedef uint32_t UNS_32

SMA type for 32 bit unsigned value

Definition at line 165 of file lpc_types.h.

typedef uint64_t UNS_64

SMA type for 64 bit unsigned value

Definition at line 174 of file lpc_types.h.

typedef uint8_t UNS_8

SMA type for 8 bit unsigned value

Definition at line 153 of file lpc_types.h.

Enumeration Type Documentation

enum Bool

Boolean Type definition.

Enumerator
FALSE 
TRUE 

Definition at line 44 of file lpc_types.h.

enum FlagStatus

Flag Status and Interrupt Flag Status type definition.

Enumerator
RESET 
SET 
RESET 
SET 

Definition at line 49 of file lpc_types.h.

Functional State Definition.

Enumerator
DISABLE 
ENABLE 
DISABLE 
ENABLE 

Definition at line 55 of file lpc_types.h.

enum Status

@ Status type definition

Enumerator
ERROR 
SUCCESS 

Definition at line 61 of file lpc_types.h.

Read/Write transfer type mode (Block or non-block)

Enumerator
NONE_BLOCKING 

None Blocking type

BLOCKING 

Blocking type

Definition at line 67 of file lpc_types.h.