?? application_defines.h
字號:
/******************************************************************************
*
* Purpose: Application_defines.h
*
* Creator: Rob Lansbergen
*
* Version: $Revision: 4 $
*
* File Name: $Workfile: Application_defines.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 APPLICATION_DEFINES_H
#define APPLICATION_DEFINES_H
/*******************************************************************************************/
#ifdef PCB_PNP80_UNIVERSAL_TRX
//
#ifdef DWAM80_RX_CS4341
#define CODEC_CS4341
#define MAX_VOLUME 0
#define START_UP_VOLUME 0
#else
#define CODEC_CS4251
#define MAX_VOLUME 255
#define START_UP_VOLUME 180
#endif
#define VOLUME_CODEC //Volume Control by Codec
#define NO_GUI //No data monitoring in GUI
#define PDDC_SETTING 0x12
#ifdef TRXCU //TX used Allan // 3 Nack CU
//************** setting for 3 NACK TX ***************************/
#define Target_CU
#define CODEC_CS5341 //Allan Add
#define FILL_CONFIG_BYTES { Config_Byte1 = 0x02; \
Config_Byte2 = 0x87; \
Config_Byte3 = 0x01;}
#else //RX used Allan// 3 Nack MU
//************** setting for 3 NACK RX ***************************/
#define Target_MU
#define FILL_CONFIG_BYTES { Config_Byte1 = 0x22; \
Config_Byte2 = 0x87; \
Config_Byte3 = 0x01;}
#endif
#define No_Application_Use 4 /*For use in Auto COnfiguration Function*/
/*For ROM size constraint: choose only the application use*/
#define Stereo_3_NAck_CF1
#endif /* end PCB_PNP80_UNIVERSAL_TRX */
#endif /* APPLICATION_DEFINES_H */
/*******************************************************************************************
* ConfigByte 1:
* Bit 0-4 : Application selection : bit0-Stereo_1_NAck_CF1
bit1-Stereo_2_NAck_CF1
bit2-Stereo_3_NAck_CF1
bit3-Stereo_4_NAck_CF1
bit4-HeadSet_2
bit5-HeadSet_1
* Bit 5 : 1 = MU, 0 = CU
* Bit 6 : 1 = Use Continuous RX TX
* Bit 7 : 1 = Use MU CU Swap
*
* ConfigByte 2:
* Bit 0-3 : Stream Enable
* Bit 4 : 1 = Auto Snooze enable auto powerdown when no audio is detected
* Bit 5 : Reserved (Production) (should always be zero)
* Bit 6 : 1 = Use SPDIF as Audio Interface | 0 = I2S
* Bit 7 : 1 = Use Nack Report
*
* ConfigByte 3:
* Bit 0 : 1 = Use Own WLAN Detection
* Bit 1-6 : free
* Bit 7 : 1 = Auto Config
*/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -