Memory to Memory DMA demo from CMSIS example. This demo execute 1000 times of 32 word memory to memory DMA (copy), and also measures number of dummy loop execution during DMA cylcles. Line 56 of "DMA_M2M.c" can change DMA source. where; 1)static : source is SRAM 2)const : source is Flash ROM

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

LPC_Types Public Types

LPC_Types Public Types
[LPC_Types]

Typedefs

typedef void(* PFV )()
 Pointer to Function returning Void (any number of parameters)
typedef int32_t(* PFI )()
 Pointer to Function returning int32_t (any number of parameters)
typedef char CHAR
 SMA type for character type.
typedef uint8_t UNS_8
 SMA type for 8 bit unsigned value.
typedef int8_t INT_8
 SMA type for 8 bit signed value.
typedef uint16_t UNS_16
 SMA type for 16 bit unsigned value.
typedef int16_t INT_16
 SMA type for 16 bit signed value.
typedef uint32_t UNS_32
 SMA type for 32 bit unsigned value.
typedef int32_t INT_32
 SMA type for 32 bit signed value.
typedef int64_t INT_64
 SMA type for 64 bit signed value.
typedef uint64_t UNS_64
 SMA type for 64 bit unsigned value.
typedef Bool BOOL_32
 32 bit boolean type
typedef Bool BOOL_16
 16 bit boolean type
typedef Bool BOOL_8
 8 bit boolean type

Enumerations

enum  Bool
 

Boolean Type definition.

More...
enum  FlagStatus
 

Flag Status and Interrupt Flag Status type definition.

More...
enum  FunctionalState
 

Functional State Definition.

More...
enum  Status
 

@ Status type definition

More...
enum  TRANSFER_BLOCK_Type { NONE_BLOCKING = 0, BLOCKING }
 

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

More...

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

Definition at line 44 of file lpc_types.h.

enum FlagStatus

Flag Status and Interrupt Flag Status type definition.

Definition at line 49 of file lpc_types.h.

Functional State Definition.

Definition at line 55 of file lpc_types.h.

enum Status

@ Status type definition

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.