⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 csl2_dat_edma3lld.h

📁 vicp做为dm6446上的硬件加速器
💻 H
字号:
/*
 *  Copyright 2006
 *  Texas Instruments Incorporated
 *
 *  All rights reserved.  Property of Texas Instruments Incorporated
 *  Restricted rights to use, duplicate or disclose this code are
 *  granted through contract.
 *
 */
/*
 *  @file        csl2_dat_edma3lld.h
 *
 *  @brief      Header for the EDMA3 LLD setup and clean up functions
 *
 *
 */

/*
 * Includes to access the EDMA3 driver libraries
 */

#include <ti/sdo/edma3/drv/edma3_drv.h>

#include <csl2_dat_edma3lld_config.h>
#include <tistdtypes.h>

/**
 * If EDMA3 LLD is already setup by some other application, the user
 * passes a handle to this structure for use by the DAT APIs
 */
typedef struct DAT_EDMA3LLD_Param {

    /* Edma3 drv handle */
    EDMA3_DRV_Handle hEdma;

    /*
     * Number of channels to be allocated to the DAT API
     * Simulates the EDMA2.0 qdma hardware queue of same depth
     */
    Uint32 numChannels;

} DAT_EDMA3LLD_Param;


/**
 * ======== DAT_EDMA3llD_init ========
 *    @brief        Initializes DAT reference implementation module using EDMA3
 *                Low level driver. Creates and opens an EDMA3 Driver instance
 *                if passed a NULL handle. Optionally an existing driver instance
 *                 handle that is used to setup the DAT module internal state.
 */
int DAT_EDMA3LLD_init(DAT_EDMA3LLD_Param * config);

/**
 * ======== DAT_EDMA3llD_exit ========
 *    @brief         Deletes the EDMA3 Low level driver if it was created by the DAT
 *                 reference implementation module. If not, it simply resets the
 *                 DAT module internal state.
 */
void DAT_EDMA3LLD_exit();

⌨️ 快捷键说明

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