tuner_rh_init.h
来自「模拟高频头的 驱动程序(搜台、换台等功能)」· C头文件 代码 · 共 86 行
H
86 行
/******************************************************************************/
/**
* @file tuner_rh_init.h
*
* @brief Tuner Init Tables for hardware registers.
* Updated by Register Handler.
*
* @note (c) 2005 - 2008 Micronas GmbH. All rights reserved.
* Any use of the Software is permitted only in accordance
* with the terms set forth in the Disclaimer text file.
*
* @author ACOM software team
******************************************************************************/
#ifndef __TUNER_RH_INIT_H__
#define __TUNER_RH_INIT_H__
/******************************************************************************/
/***************** ******************/
/***************** BEGIN of Register Handler Section ******************/
/***************** ================================= ******************/
/***************** ******************/
/******************************************************************************/
/*[#RH_SECTION_BEGIN]*/
/*====================================================================================================================*/
/*[#RHOH_INIT - TunerBase] Ver. 3.1.19 */
/* Table Constants of Init Values */
#define TUNERBASE_ID 1
#define TUNERBASE_INDEX 0
#ifdef __AD_TUNER_ALPS__
#define TUNERBASE_NUM_INITS 5
#else
#define TUNERBASE_NUM_INITS 4
#endif
#define TUNERBASE_NUM_NVMS 0
#define TUNERBASE_ADDR_BASE 0x1
#define TUNERBASE_ADDR_INC 1
#define TUNERBASE_REGTYPE 1
#define TUNERBASE_NVMADDR_BASE 0x0
#define TUNERBASE_NVMADDR_INC 0
#define TUNERBASE_NVMADDR_COUNT 0
#define TUNERBASE_UCTRL_NVMDATA 0x80
#define TUNERBASE_UCTRL_BITSINIT 0x40
#define TUNERBASE_UCTRL_BITSID 0x20
#define TUNERBASE_UCTRL_BITSSIZE 0x03
#define TUNERBASE_UCTRL_REGTYPE 0x0F
/* Structure Array of Init Values and code Variables */
typedef struct _TUNERBASE_t
{
uint8_t uData; /* Data/NVM Value */
uint8_t uAddr; /* Address/Bitslice-ID */
uint8_t uCtrl; /* TUNERBASE_CTRL_NVMDATA, .._BITSINIT, .._BITSID, .._BITSSIZE, .._REGTYPE */
} TUNERBASE_t;
/* Prototype for table array variable */
extern code TUNERBASE_t tunerBase []; /* index is .._INDEX */
/*[#RH_END]*/
/*====================================================================================================================*/
/*[#RH_SECTION_END]*/
/******************************************************************************/
/***************** ********************/
/***************** END of Register Handler Section ********************/
/***************** =============================== ********************/
/***************** ********************/
/******************************************************************************/
#endif /* __TUNER_RH_INIT_H__ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?