csl2_dat_edma3lld.h

来自「vicp做为dm6446上的硬件加速器」· C头文件 代码 · 共 61 行

H
61
字号
/*
 *  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 + =
减小字号Ctrl + -
显示快捷键?