cslr_prev.h

来自「TI达芬奇dm644x各硬件模块测试代码」· C头文件 代码 · 共 29 行

H
29
字号
/*   ==========================================================================
 *   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
 *   provided
 *   ==========================================================================
*/
#ifndef _CSLR_PREV_H_
#define _CSLR_PREV_H_

#include <cslr.h>
#include <cslr_prev_001.h>
#include <davinci.h>

/*****************************************************************************\
               Overlay structure typedef definition
\*****************************************************************************/

/** @brief Returns the pointer to the PREV Register Overlay Structure
 *         for a given instance of the PREV
 *
 */
CSL_IDEF_INLINE CSL_PrevRegsOvly _CSL_prevGetBaseAddr (Uint16 prevNum) {
  return (CSL_PrevRegsOvly)_CSL_prevlookup[prevNum];
}

#endif  /* CSLR_PREV_H_ */

⌨️ 快捷键说明

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