_csl_ccdcgetattrs.c

来自「ccs下对dm6446的测试程序」· C语言 代码 · 共 56 行

C
56
字号
/*   ========================================================================== *   Copyright (c) Texas Instruments Inc , 2004 * *   Use of this software is controlled by the terms and conditions found *   in the license agreement under which this software has been supplied *   priovided *   ==========================================================================*//** @file _csl_ccdcGetAttrs.c * *  @brief File for internal CSL API @a _CSL_ccdcGetAttrs() * *  Description *    - The @a _CSL_ccdcGetAttrs() function definition * *  Modification 1 *    - Created on: 10/24/2004 *    - Reason: created the sources * *  @date  24th Oct, 2004 *  @author Santosh Narayanan */#include <csl_ccdc.h>#include <csl_resId.h>#pragma CODE_SECTION (_CSL_ccdcGetAttrs, ".text:csl_section:init");/** @brief Gets the unique identifier and  resource allocation mask *  specified for the vfoc module. This is a CSL internal function. * */void _CSL_ccdcGetAttrs(    /* instance number of ccdc */    CSL_CcdcNum                            ccdcNum,    /*Pointer to the object that holds reference to the     * instance of ccdc requested after the call */    CSL_CcdcHandle                         hCcdc){    /* get the ccdc base address into the handle */    hCcdc->regs = (CSL_CcdcRegsOvly)_CSL_ccdcGetBaseAddr(ccdcNum);    switch (ccdcNum) {    case CSL_CCDC_0:      /* get the ccdc unique identifier & resource       * allocation mask into the handle */      hCcdc->xio = CSL_CCDC_0_XIO;      hCcdc->uid = CSL_CCDC_0_UID;      break;    }    /* get the ccdc instance number into the handle */    hCcdc->perNum = ccdcNum;    }

⌨️ 快捷键说明

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