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

📄 main._h

📁 sunplus spca514 cdmp3 源码
💻 _H
字号:


#define USE_PT2320
#define BASS_ONE_KEY
#define TREBLE_ONE_KEY
#define BALANCE_ONE_KEY
#define LOUDNESS_ONE_KEY
#define SGJM_RDS
//#define CLOCK_STANDBY
//#define TEST_KEY
//tick_flag
#define TICK_20MS       0x01
#define TICK_200MS      0x02     
#define KEY_EXISTED     0x04
#define TICK_100MS		0x08
#define ihigh_byte(x)      (*((unsigned char *)x + 1))
#define ilow_byte(x)       (*((unsigned char *)x))
#define high_byte(x,y)     (*((unsigned char *)x +2*y+1))
#define low_byte(x,y)       (*((unsigned char *)x+2*y))
//display_type
#define DIS_FREQUENCY       0x00
#define DEFAULT_DIS         0x00
#ifdef SGJM_RDS
#define DIS_PS_NAME         0x01
#define DIS_PTY				0x02
#define DIS_RT				0x03
#define DIS_CT				0x04
#endif

#define DISPLAY_VOL		 0x05
#define DISPLAY_SVOL     0x06
#define DISPLAY_CVOL  	 0x07
#define DISPLAY_SWVOL    0x08
#define DISPLAY_BASS     0x09
#define DISPLAY_TREBLE   0x0A
#define DISPLAY_BALANCE  0x0B
#define DISPLAY_LOUDNESS 0x0C
#define ERROR_MSG		 0x0d
#define RADIO_STORE      0x0e
#define DISPLAY_DIGIT    0x0f
#define DISPLAY_TIMING   0x10
#define DISPLAY_TIME     0x11
#define DISPLAY_WELCOME  0x12
#define DISPLAY_VERSION  0x13
#define DISPLAY_KEY      0x80 

#define D_NONE_KEY            0
#define D_VOLUME_KEY          0xf100
#define D_SURR_VOL_KEY        0xf200
#define D_CENT_VOL_KEY		  0xf300
#define D_SW_VOL_KEY		  0xf400
#define D_BASS_KEY			  0xf500
#define D_TREBLE_KEY	      0xf600
#define D_BALANCE_KEY		  0xf700
#define D_LOUDNESS_KEY        0xf800
#define D_AMODE_KEY			  0xf900
#define D_TIMING_KEY		  0xfa00
//#define D_AMODE_KEY           0xfb00

#define DVD_MODE         0
#define TUNER_MODE       1
#define AV1_MODE         2
#define TAPE_MODE        2
#define AV2_MODE         3
#define AV3_MODE         4
#define POWER_OFF_MODE   5


⌨️ 快捷键说明

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