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.h File Reference

lpc_types.h File Reference

Contains the NXP ABL typedefs for C standard types. More...

Go to the source code of this file.

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

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.