dman.h

来自「ICETEK-DM642-EDUlabv1.3.rar」· C头文件 代码 · 共 63 行

H
63
字号
/*
 *  Copyright 2002 by Texas Instruments Incorporated.
 *  All rights reserved. Property of Texas Instruments Incorporated.
 *  Restricted rights to use, duplicate or disclose this code are
 *  granted through contract.
 *  
 */
/* "@(#) XDAS 2.5.10 10-10-02 (xdas-d14)" */
/* 
 *  ======== dman.h ======== 
 *  Application interface to dma manager (dman.c). Provides routines for
 *  granting DMA resources to algorithms. 
 */

#ifndef DMAN_
#define DMAN_

#include <ialg.h>
#include <idma2.h>

#ifdef __cplusplus
extern "C" {
#endif /*__cplusplus*/

/* 
 *  ======== DMAN_addAlg ======== 
 *  Grant logical channel resources to an algorithm instance
 */
extern Bool DMAN_addAlg(IALG_Handle algHandle, IDMA2_Fxns *dmaFxns);

/*
 *  ======== DMAN_exit ======== 
 *  Finalization method of the DMAN module
 */
extern Void DMAN_exit(Void);

/*
 *  ======== DMAN_init ======== 
 *  Initialize the DMAN module
 */
extern Void DMAN_init(Void);

/* 
 *  ======== DMAN_removeAlg ======== 
 *  Remove logical channel resources from an algorithm instance
 */
extern Bool DMAN_removeAlg(IALG_Handle algHandle, IDMA2_Fxns *dmaFxns);

/*
 *  ======== DMAN_setup ======== 
 *  Setup the DMAN module.  Specifies the size of the IDMA2_Obj
 */
extern Void DMAN_setup(Int heapId); 

#ifdef __cplusplus
}
#endif /*__cplusplus*/

#endif /*DMAN_*/



⌨️ 快捷键说明

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