📄 tuner_rh_init.c
字号:
/******************************************************************************/
/**
* @file tuner_rh_init.c
*
* @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
******************************************************************************/
/******************************************************************************/
/**
* DEFINES:
******************************************************************************/
/******************************************************************************/
/**
* INCLUDE FUNCTIONS:
******************************************************************************/
#include <system.h>
#include "tuner_rh_reg.h"
#include "tuner_rh_init.h"
/******************************************************************************/
/***************** ******************/
/***************** BEGIN of Register Handler Section ******************/
/***************** ================================= ******************/
/***************** ******************/
/******************************************************************************/
/*[#RH_SECTION_BEGIN]*/
/*====================================================================================================================*/
/*[#RHOC_INIT - TunerBase] Ver. 3.1.19 */
/* Table Entries */
#ifdef __PHI__
code TUNERBASE_t tunerBase [] =
{
/* Data, Addr, Ctrl */
/*===== TunerBase =====*/
{ 0x05, (uint8_t)TUNER_ProgDividerByte1Const, 1 | TUNERBASE_UCTRL_BITSID },
{ 0x72, (uint8_t)TUNER_ProgDividerByte2_7_0, 1 | TUNERBASE_UCTRL_BITSID },
{ 0x8E, (uint8_t)TUNER_ControlByte1Const, 1 | TUNERBASE_UCTRL_BITSID },
{ 0x01, (uint8_t)TUNER_ControlByte2NotUsed, 1 | TUNERBASE_UCTRL_BITSID }
};
#else
code TUNERBASE_t tunerBase [] =
{
/* Data, Addr, Ctrl */
/*===== TunerBase =====*/
{ 0x05, (uint8_t)TUNER_ProgDividerByte1Const, 1 | TUNERBASE_UCTRL_BITSID },
{ 0x72, (uint8_t)TUNER_ProgDividerByte2_7_0, 1 | TUNERBASE_UCTRL_BITSID },
#ifdef __AD_TUNER_ALPS__
{ 0x8B, (uint8_t)TUNER_ControlByte1Const, 1 | TUNERBASE_UCTRL_BITSID },
{ 0x01, (uint8_t)TUNER_ControlByte2NotUsed, 1 | TUNERBASE_UCTRL_BITSID },
{ 0xC6, (uint8_t)TUNER_ControlByte3NotUsed, 1 | TUNERBASE_UCTRL_BITSID }
#else
{ 0xCE, (uint8_t)TUNER_ControlByte1Const, 1 | TUNERBASE_UCTRL_BITSID },
{ 0x01, (uint8_t)TUNER_ControlByte2NotUsed, 1 | TUNERBASE_UCTRL_BITSID }
#endif
};
#endif
/*[#RH_END]*/
/*====================================================================================================================*/
/*[#RH_SECTION_END]*/
/******************************************************************************/
/***************** ********************/
/***************** END of Register Handler Section ********************/
/***************** =============================== ********************/
/***************** ********************/
/******************************************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -