_csl_h3agetattrs.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_h3aGetAttrs.c * * @brief File for internal CSL API @a _CSL_h3aGetAttrs() * * Description * - The @a _CSL_h3aGetAttrs() function definition * * Modification 1 * - Created on: 10/23/2004 * - Reason: created the sources * * @date 23rd Oct, 2004 * @author Sandeep Tiwari */#include <csl_h3a.h>#include <csl_resId.h>#pragma CODE_SECTION (_CSL_h3aGetAttrs, ".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_h3aGetAttrs( /* instance number of h3a */ CSL_H3aNum h3aNum, /*Pointer to the object that holds reference to the * instance of h3a requested after the call */ CSL_H3aHandle hH3a){ /* get the h3a base address into the handle */ hH3a->regs = (CSL_H3aRegsOvly)_CSL_h3aGetBaseAddr(h3aNum); switch (h3aNum) { case CSL_H3A_0: /* get the h3a unique identifier & resource * allocation mask into the handle */ hH3a->xio = CSL_H3A_0_XIO; hH3a->uid = CSL_H3A_0_UID; break; } /* get the h3a instance number into the handle */ hH3a->perNum = h3aNum; }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?