options_c.h

来自「本程序为ST公司开发的源代码」· C头文件 代码 · 共 52 行

H
52
字号
/*
 * $Copyright: 
 * ----------------------------------------------------------------
 * This confidential and proprietary software may be used only as
 * authorised by a licensing agreement from ARM Limited
 *   (C) COPYRIGHT 2001 ARM Limited
 *       ALL RIGHTS RESERVED
 * The entire notice above must be reproduced on all authorised
 * copies and copies may only be made to the extent permitted
 * by a licensing agreement from ARM Limited.
 * ----------------------------------------------------------------
 * File:     options_c.h,v
 * Revision: 1.3
 * ----------------------------------------------------------------
 * $
 */


#ifndef _OPTIONS_C_H
#define _OPTIONS_C_H

#define COMMENT
#define END

#include "options.h"

#if WINDOW_COEF_SIZE==32
typedef const int WTYPE;
#endif
#if WINDOW_COEF_SIZE==16
typedef const unsigned short WTYPE;
#endif

#define IGNORE(_v) ((void)(_v))

extern const short sfb_table[];
extern WTYPE iwind_table[4096];

#ifdef __APCS_ROPI

#define BANDOFFSET(x) ((short *)((short*)sfb_table + (int)(x)))
#define WINDTAB(x) (iwind_table + ((int)x))

#else

#define BANDOFFSET(x) (x)
#define WINDTAB(x) (x)

#endif

#endif

⌨️ 快捷键说明

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