⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config.h

📁 tw9910的驱动源码,来自techwell的FAE
💻 H
字号:
/*****************************************************************************/
/*                           System Configurations                           */
/*****************************************************************************/
#ifndef __SYSCONFIG__
#define __SYSCONFIG__


#define OLD_BOARD
//#define NEW_BOARD

//-----------------------------------------------------------------------------
//		Firmware Version
//-----------------------------------------------------------------------------
/*
	0x114(01042004) : Add device TW9908C
*/
#ifdef OLD_BOARD
#define	FWVER			0x101		// 
#elif defined NEW_BOARD
#define	FWVER			0x200		// 
#endif

//-----------------------------------------------------------------------------
//		Compiler
//-----------------------------------------------------------------------------
//#define TASKINGC					// Tasking C 5.0
#define KEILC						// Keil C 5.0

//-----------------------------------------------------------------------------
//		MPU Clock
//-----------------------------------------------------------------------------
#define CLOCK_11M					// 11.0592MHz
//#define CLOCK_22M					// 22.1184MHz

//-----------------------------------------------------------------------------
//		I2C Device Access Address Mapping
//-----------------------------------------------------------------------------
#define ADV7176I2CAddress	0x54	// ADV7175
#define ADV7175I2CAddress	0xd4
#define TW99I2CAddress		0x88	// TW9908
#define EEPROMI2CAddress	0xa0	// 24C02
#define OSDI2CAddress		0x28	// Z86129
#define FPGAAddress			0x5c

#define ADV717X				0x54		// old board
//#define SAA71XX				0x8c	// new board
#define TEXTAddress			0x60	// new board

//#define TW9901DID	0x90
//#define TW9901BID	0xCA
//#define TW9903AID	0x18
#define TW9908AID	0x19
#define TW9908CID	0x1A
#define TW9910AID	0x50
#define TW9910BID	0x58
#define FPGA 		0x5C

//-----------------------------------------------------------------------------
//		Menu Key
//-----------------------------------------------------------------------------

//#define OLDKEY							// old board
#define NEWKEY						// new board

//-----------------------------------------------------------------------------
//		Digital PLL Test Mode
//-----------------------------------------------------------------------------

#define	TMPLL						// new board

//-----------------------------------------------------------------------------
//		Remocon
//-----------------------------------------------------------------------------

//#define REMO_NEC						// new board

//-----------------------------------------------------------------------------
//		Option
//-----------------------------------------------------------------------------

//#define SUPPORT_TELETEXT				// new board

//-----------------------------------------------------------------------------
//		Board Revision
//-----------------------------------------------------------------------------

#define	BDREV200

//-----------------------------------------------------------------------------
//		Options for Debugging/Release
//-----------------------------------------------------------------------------
//#define DEBUG
	#define	DEBUG_REPKEY
	//#define DEBUG_KEYREMO
	#define TEST_SERCOM

//-----------------------------------------------------------------------------
#endif	//__SYSCONFIG__

⌨️ 快捷键说明

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