edmacommon.h

来自「Dm6455 driver,magbe useful to you!」· C头文件 代码 · 共 46 行

H
46
字号
/*  ============================================================================
 *   Copyright (c) Texas Instruments Inc 2002, 2003, 2004, 2005, 2006
 *
 *   Use of this software is controlled by the terms and conditions found in 
 *   the license agreement under which this software has been supplied.
 *   ===========================================================================
 */
 
 /** ===========================================================================
 *
 *   @file  edmaCommon.h
 *
 *   @path  $(CSLPATH)\example\mcbsp\mcbsp_edma\src
 *
 *   @desc  Header for the Example of MCBSP
 * ============================================================================
 */
 
 /* ===========================================================================
 *  Revision History
 *  ===============
 *  9-Aug-2006 RR File Created.
 *  ============================================================================
 */

#ifndef _EDMACOMMON_H_
#define _EDMACOMMON_H_

#include <csl_edma3.h>
#include <csl_intc.h>
#include <soc.h>
#include <stdio.h>
#include <csl_mcbsp.h>
#include <cslr_dev.h>

#define InvokeHandle(num)       TccHandlerTable[num]()

typedef void (* EdmaTccHandler)(void);

/* Funtion which registers individual event handlers in a table */
void eventEdmaHandler(void *);
void EdmaEventHook(int , EdmaTccHandler);


#endif  /* _EDMACOMMON_H_ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?