📄 _csl_vpbegetattrs.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_vpbeGetAttrs.c
*
* @brief File for internal CSL API @a _CSL_vpbeGetAttrs()
*
* Description
* - The @a _CSL_vpbeGetAttrs() function definition
*
* Modification 1
* - Created on: 10/11/2004
* - Reason: created the sources
*
* @date 11th October, 2004
* @author Santosh Narayanan
*/
#include <csl_vpbe.h>
#include <csl_resId.h>
#pragma CODE_SECTION (_CSL_vpbeGetAttrs, ".text:csl_section:init");
/** @brief Gets the unique identifier and resource allocation mask
* specified for the vpbe module. This is a CSL internal function.
*
*/
void _CSL_vpbeGetAttrs(
/* instance number of vfoc */
CSL_VpbeNum vpbeNum,
/*Pointer to the object that holds reference to the
* instance of vpbe requested after the call */
CSL_VpbeHandle hVpbe
)
{
/* get the vpbe base address into the handle */
hVpbe->regs = (CSL_VpbeRegsOvly)_CSL_vpbeGetBaseAddr(vpbeNum);
switch (vpbeNum) {
case CSL_VPBE_0:
/* get the vpbe unique identifier & resource
* allocation mask into the handle */
hVpbe->xio = CSL_VPBE_0_XIO;
hVpbe->uid = CSL_VPBE_0_UID;
break;
}
/* get the vpbe instance number into the handle */
hVpbe->perNum = vpbeNum;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -