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

📄 align.h

📁 7541数字高频头源程序
💻 H
字号:

extern void AlignInit(void);
extern void AlignMain(void);
extern void AlignKey(void);
extern void AlignWork(void);
extern void AlignDisplay(void);
extern void CalculateOtherPoint(unsigned int AlignArea);
extern void AlignTimer10ms(void);
extern void AlignTimer100ms(void);


typedef struct Align_stuct {
	unsigned char Mode;
	unsigned char SubMode;
	unsigned char SubStep;
	unsigned char EditPos;
	unsigned int BackupFreq;
	unsigned char BackupArea;
	
	unsigned char Timer;
	unsigned char F_DispReq:1;
} AlignStuct;

ext AlignStuct Align;


ext unsigned char GUIExistTimer;
ext unsigned char RadioBoardEepromTimer;
ext UCharField AlignFlag;
#define F_GUIExist			AlignFlag.field.B0
#define F_ShowVersion		AlignFlag.field.B1

ext unsigned char AutoAlignSelector;
#define ALIGN_EU			0
#define ALIGN_EU_ORIT		1
#define ALIGN_EU_JP			2
#define ALIGN_EU_ORIT_JP	3

#define ALIGN_STANDBY		0
#define ALIGN_AUTOALIGN	1
#define ALIGN_MANUALIGN	2
#define ALIGN_EEPROM		3
#define ALIGN_TUNERREG		4
#define ALIGN_COPY			5
#define ALIGN_OTHER			6

#define ALIGN_SELECT_AUTO		0
#define ALIGN_SELECT_MANU		1
#define ALIGN_SELECT_EEPROM	2
#define ALIGN_SELECT_TUNER		3
#define ALIGN_SELECT_COPY		4

#define ALIGN_AUTO_STANDBY		0
#define ALIGN_AUTO_XTAL			1
#define ALIGN_AUTO_XTAL_OK		2
#define ALIGN_AUTO_FMIFTANK		3
#define ALIGN_AUTO_FMIFTANK_OK	4
#define ALIGN_AUTO_AMIFTANK		5
#define ALIGN_AUTO_AMIFTANK_OK	6
#define ALIGN_AUTO_IMAGE			7
#define ALIGN_AUTO_IMAGE_OK		8

#define ALIGN_AUTO_TV2_881			9
#define ALIGN_AUTO_TV2_881_OK		10
//#define ALIGN_AUTO_TV2_875			9
//#define ALIGN_AUTO_TV2_875_OK		10  //Change on March 28,2006
#define ALIGN_AUTO_TV2_981			11
#define ALIGN_AUTO_TV2_981_OK		12
#define ALIGN_AUTO_TV2_1075		13
#define ALIGN_AUTO_TV2_1075_OK	14
//#define ALIGN_AUTO_TV2_108		       13 //Change on March 28,2006
//#define ALIGN_AUTO_TV2_108_OK	       14
#define ALIGN_AUTO_TV2_65			15//Orit
#define ALIGN_AUTO_TV2_65_OK	       16
#define ALIGN_AUTO_TV2_68		       17
#define ALIGN_AUTO_TV2_68_OK	       18
#define ALIGN_AUTO_TV2_725	       	19
#define ALIGN_AUTO_TV2_725_OK	       20
#define ALIGN_AUTO_TV2_78	       	21//Japan
#define ALIGN_AUTO_TV2_78_OK	       22
#define ALIGN_AUTO_TV2_84	       	23
#define ALIGN_AUTO_TV2_84_OK	       24
#define ALIGN_AUTO_TV2_88	       	25
#define ALIGN_AUTO_TV2_88_OK	       26
#define ALIGN_AUTO_SUSSESS	       27

#if TDA7540Tuner
#define ALIGN_MANU_STANDBY			0
#define ALIGN_MANU_XTAL				1
#define ALIGN_MANU_FMSLIDER			2
#define ALIGN_MANU_FMSTOP				3
#define ALIGN_MANU_FMMUTE				4
#define ALIGN_MANU_FMDEMOD			5
#define ALIGN_MANU_ROLLOFF			6
#define ALIGN_MANU_STBLEND			7
#define ALIGN_MANU_VHCL				8
#define ALIGN_MANU_VHCH				9
#define ALIGN_MANU_IFGAIN				10
#define ALIGN_MANU_AMAGC				11
#define ALIGN_MANU_HIGHCUT			12
#define ALIGN_MANU_IFCOUNT			13

#define ALIGN_MANU_SELECT_XTAL		0
#define ALIGN_MANU_SELECT_FMSLIDER	1
#define ALIGN_MANU_SELECT_FMSTOP		2
#define ALIGN_MANU_SELECT_FMMUTE		3
#define ALIGN_MANU_SELECT_FMDEMOD	4
#define ALIGN_MANU_SELECT_ROLLOFF	5
#define ALIGN_MANU_SELECT_STBLEND	6
#define ALIGN_MANU_SELECT_VHCL		7
#define ALIGN_MANU_SELECT_VHCH		8
#define ALIGN_MANU_SELECT_IFGAIN		9
#define ALIGN_MANU_SELECT_AMAGC		10
#define ALIGN_MANU_SELECT_HIGHCUT	11
#define ALIGN_MANU_SELECT_IFCOUNT	12

#endif

#if TDA7541Tuner
#define TDA7541_ALIGN_MANU_STANDBY			0
#define TDA7541_ALIGN_MANU_XTAL				1
#define TDA7541_ALIGN_MANU_FMSLIDER			2
#define TDA7541_ALIGN_MANU_FMSTOP			3
#define TDA7541_ALIGN_MANU_FMMUTE			4
#define TDA7541_ALIGN_MANU_ROLLOFF			5
#define TDA7541_ALIGN_MANU_STBLEND			6
#define TDA7541_ALIGN_MANU_VHCL				7
#define TDA7541_ALIGN_MANU_VHCH				8
#define TDA7541_ALIGN_MANU_HIGHCUT			9

#define TDA7541_ALIGN_MANU_SELECT_XTAL		0
#define TDA7541_ALIGN_MANU_SELECT_FMSLIDER	1
#define TDA7541_ALIGN_MANU_SELECT_FMSTOP	2
#define TDA7541_ALIGN_MANU_SELECT_FMMUTE	3
#define TDA7541_ALIGN_MANU_SELECT_ROLLOFF	4
#define TDA7541_ALIGN_MANU_SELECT_STBLEND	5
#define TDA7541_ALIGN_MANU_SELECT_VHCL		6
#define TDA7541_ALIGN_MANU_SELECT_VHCH		7
#define TDA7541_ALIGN_MANU_SELECT_HIGHCUT	8

#endif



#define ALIGN_EEPROM_STANDBY			0
#define ALIGN_EEPROM_TUNER			1
#define ALIGN_EEPROM_BOARD			2

#define ALIGN_EEPROM_SELECT_TUNER	0
#define ALIGN_EEPROM_SELECT_BOARD	1


#define ALIGN_COPY_STANDBY		0
#define ALIGN_COPY_TREG2TEEP		1
#define ALIGN_COPY_TREG2BEEP		2
#define ALIGN_COPY_TEEP2TREG		3
#define ALIGN_COPY_TEEP2BEEP		4
#define ALIGN_COPY_BEEP2TREG		5
#define ALIGN_COPY_BEEP2TEEP		6


#define ALIGN_COPY_SELECT_TREG2TEEP		0
#define ALIGN_COPY_SELECT_TREG2BEEP		1//
#define ALIGN_COPY_SELECT_TEEP2TREG		2//
#define ALIGN_COPY_SELECT_BEEP2TREG		3//
#define ALIGN_COPY_SELECT_TEEP2BEEP		4
#define ALIGN_COPY_SELECT_BEEP2TEEP		5


#define TDA7541_ALIGN_COPY_STANDBY		0
#define TDA7541_ALIGN_COPY_TREG2TEEPFM	1
#define TDA7541_ALIGN_COPY_TREG2TEEPAM	2
#define TDA7541_ALIGN_COPY_TREG2BEEPFM	3
#define TDA7541_ALIGN_COPY_TREG2BEEPAM	4
#define TDA7541_ALIGN_COPY_TEEP2TREG		5
#define TDA7541_ALIGN_COPY_BEEP2TREG		6
#define TDA7541_ALIGN_COPY_TEEP2BEEP		7
#define TDA7541_ALIGN_COPY_BEEP2TEEP		8
						

#define TDA7541_ALIGN_COPY_SELECT_TREG2TEEPFM	0
#define TDA7541_ALIGN_COPY_SELECT_TREG2TEEPAM	1
#define TDA7541_ALIGN_COPY_SELECT_TREG2BEEPFM	2
#define TDA7541_ALIGN_COPY_SELECT_TREG2BEEPAM	3
#define TDA7541_ALIGN_COPY_SELECT_TEEP2TREG		4
#define TDA7541_ALIGN_COPY_SELECT_BEEP2TREG		5
#define TDA7541_ALIGN_COPY_SELECT_TEEP2BEEP		6
#define TDA7541_ALIGN_COPY_SELECT_BEEP2TEEP		7



⌨️ 快捷键说明

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