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

📄 codecs.h

📁 2.4G无线音箱的接收程序,采用ATMEGA8单片机和STS公司的无线模块完成
💻 H
字号:
/******************************************************************************
*
* Purpose:      CODEC Functions
*
* Creator:      Rob Lansbergen
*
* Version:		$Revision: 4 $
*
* File Name:	$Workfile: codecs.h $
*
* Author:		Rob Lansbergen
*
* Check in:		$Author: Chong.cheeleong $
*
* The information is provided 揳s is?without any express or implied warranty  
* of any kind, * including warranties of merchantability, noninfringement of   
* intellectual property, or fitness for any particular purpose. In no event sha
* Wireless Sound Solutions and/or its affiliate companies, or its suppliers be 
* liable for any damages whatsoever arising out of the use of or inability to  
* use the information or the materials. Wireless Sound Solutions, its affiliate
* companies, and its suppliers further do not warrant the accuracy or          
* completeness of information, text, graphics, or other items contained within 
* materials. Wireless Sound Solutions, Inc., may make changes to materials, or 
* the products described within, at any time, without notice.                  
* ?007 Wireless Sound Solutions. All rights reserved. Wireless Sound Solutions
* STS and STS-wireless are trademarks of Wireless Sound Solutions.        
******************************************************************************/

#ifndef CODEC_H
#define CODEC_H

unsigned char Config_Codec	(void);
void          SetVolume		(unsigned char Left_Right, unsigned char Volume);
void 		  SetInVolume	(unsigned char Left_Right, unsigned char Volume);

unsigned char Set_CS4251    (unsigned char address, int data);
void 		  SetVolume_CS4251		(unsigned char Left_Right, unsigned char Volume);
void          Codec_PowerControl(unsigned char Sync_Stat);

unsigned char Set_CS4341    (unsigned char address, int data);
void 		  SetVolume_CS4341		(unsigned char Left_Right, unsigned char Volume);


extern unsigned char Wireless_Codec_Select;

#endif /* CODEC_H */


⌨️ 快捷键说明

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