]> git.sur5r.net Git - freertos/blob - Demo/CORTEX_M4F_M0_LPC43xx_Keil/system/dma.h
Added fast book files to project - although fast boot is not integrated yet.
[freertos] / Demo / CORTEX_M4F_M0_LPC43xx_Keil / system / dma.h
1 /*********************************************************************** \r
2  * $Id: dma.h 8242 2011-10-11 15:15:25Z nxp28536 $\r
3  * \r
4  * Project: LPC43xx Validation\r
5  * \r
6  * Description: DMA Test\r
7  * \r
8  * Copyright(C) 2010, NXP Semiconductor\r
9  * All rights reserved.\r
10  * \r
11  ***********************************************************************\r
12  * Software that is described herein is for illustrative purposes only  \r
13  * which provides customers with programming information regarding the  \r
14  * products. This software is supplied "AS IS" without any warranties.  \r
15  * NXP Semiconductors assumes no responsibility or liability for the \r
16  * use of the software, conveys no license or title under any patent, \r
17  * copyright, or mask work right to the product. NXP Semiconductors \r
18  * reserves the right to make changes in the software without \r
19  * notification. NXP Semiconductors also make no representation or \r
20  * warranty that such application will be suitable for the specified \r
21  * use without further testing or modification. \r
22  **********************************************************************/\r
23 #ifndef __DMA_H \r
24 #define __DMA_H\r
25 \r
26 #define DMA_SIZE                0x1000\r
27 \r
28 #define M2M                             0x00\r
29 #define M2P                             0x01\r
30 #define P2M                             0x02\r
31 #define P2P                             0x03\r
32 \r
33 extern void DMA_IRQHandler (void);\r
34 extern uint32_t DMA_Init_Matrix( uint32_t u32SrcAddr );\r
35 \r
36 typedef struct _LinkedList {\r
37     DWORD   SRC;\r
38     DWORD   DST;                \r
39     DWORD   LLI;\r
40     DWORD   CTRL;\r
41 }LinkedList;\r
42 \r
43 #endif /* end __DMA_H */\r
44 /****************************************************************************\r
45 **                            End Of File\r
46 ****************************************************************************/\r