📄 _csl_h3agetattrs.c
字号:
/* ==========================================================================
* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -