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

📄 audio_codech.h

📁 MXIC旺宏液晶电视芯片MX88V44的源码
💻 H
字号:
/*-------------------------------------------------------------------------
AUDIO_CODECH.H

Copyright 2004 Macronix International Co., Ltd.

* for TDA8425 *
-------------------------------------------------------------------------*/
#ifndef _AUDIO_CODEC_H_
	#define _AUDIO_CODEC_H_

	#ifndef _AUDIO_CODEC_
    	#define global_audio_codec     extern
	#else
    	#define global_audio_codec
	#endif

	//*-------------------------------------------------------------------
	//*			Global Constants
	//*-------------------------------------------------------------------

//-------------------------------------------------------------------
//I2C Subaddress Define
//-------------------------------------------------------------------
#define volumn_left			0x00
#define volumn_right		0x01
#define bass				0x02
#define treble				0x03
#define switch_function		0x08


//Switch Function rigister
	/* Sound Selector */
#define	one_ch_stereo		0xC6
#define	two_ch_stereo		0xC7
#define	one_ch_sound_A		0xC2
#define	one_ch_sound_B		0xC4
#define	two_ch_sound_A		0xC3
#define	two_ch_sound_B		0xC5

	/* Spatial/Linear/Pseudo stereo/Force Mono */
#define spatial_stereo		0xD8
#define linear_stereo		0xC8
#define pseudo_stereo		0xD8
#define force_mono			0xC0

	/* Mute */
#define mute_on				0xE0
#define mute_off			0xC0

//-------------------------------------------------------------------
//Key Pad Define
//-------------------------------------------------------------------
#define	ENTER				0x0E
#define	DOWN				0x16
#define	UP					0x1A
#define	MENU				0x1C


	//*-------------------------------------------------------------------
	//*			Global Function
	//*-------------------------------------------------------------------
	global_audio_codec void wr_TDA8425( unsigned char, unsigned char);
	global_audio_codec unsigned char rd_TDA8425( unsigned char );
	global_audio_codec void	Adj_soundeffect(void);

#endif

⌨️ 快捷键说明

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