代码搜索结果
找到约 10,000 项符合
DMA 的代码
dma.h
#ifndef __DMA_H__
#define __DMA_H__
void Test_Zdma0(void);
void Test_Zdma1(void);
//void Test_Zdma0Xdreq(void);
#endif /*__DMA_H__*/
dma.c
/**********************************************************************
CAUTION: DMA operation is being done in cache-on state NOW.
So,some read value may be not same with real memory value
dma.c
#undef __DEBUG_VERSION
#include "def.h"
#include "2410addr.h"
#include "2410lib.h"
#include "2410slib.h"
#include "DMAAdmin.h"
#define DMA_CHECK_ATTR 1
typedef struct{ //can't use __pa
dma.c
#undef __DEBUG_VERSION
#include "def.h"
#include "2410addr.h"
#include "2410lib.h"
#include "2410slib.h"
#include "DMAAdmin.h"
#define DMA_CHECK_ATTR 1
typedef struct{ //can't use __pa
dma.c
#include "config.h"
#include "frame.h"
#include "lib.h"
#ifdef _DEBUG
#include
#endif /* _DEBUG */
static void
dma0_isr(struct contextframe *cf, int irq)
{
}
static void
dma.h
#ifndef __DMA_H__
#define __DMA_H__
void Test_Zdma0(void);
void Test_Zdma1(void);
//void Test_Zdma0Xdreq(void);
#endif /*__DMA_H__*/
dma.c
/**********************************************************************
CAUTION: DMA operation is being done in cache-on state NOW.
So,some read value may be not same with real memory value
dma.h
#include "ioCC2430.h"
#include "board.h"
typedef void FUNCTION(void);
#define DMA_ADM_NUMBER_OF_CHANNELS 3
// Structure for the DMA administration table
typedef struct {
BYTE
dma.c
#include
#include "dma.h"
// DMA不是直接进行或是讲不能逐一配置。把配置写到一块内存之后ARM命令自动加载
DMA_DESC dmaChannel1to2[2];
// 映射表,用来把DMA号与处理函数连接。.
DMA_TABLE_ENTRY dmaTable[DMA_ADM_NUMBER_OF_CHANNELS];