?? main_func.h
字號:
/******************************************************************************
*
* Purpose: Main Functions
*
* Creator: Rob Lansbergen
*
* Version: $Revision: 17 $
*
* File Name: $Workfile: main_func.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 MAIN_FUNC_H
#define MAIN_FUNC_H
void init_application (void);
void Check_Application_Events (void);
//unsigned char Config_Codec (void);
//void SetVolume (unsigned char Left_Right, unsigned char Volume);
//void Prog_ConnectCode (unsigned int Connection_Code);
//int Get_ConnectCode (void);
void Update_LED (unsigned char Ref_Freq);
unsigned char Read_RFC (void);
/* Application Mode Types */
typedef enum {
CU,
MU
} APPLIC_MODE_TYPE;
extern APPLIC_MODE_TYPE Use_ModuleMode;
/* Different Types for Led Flashing */
typedef enum {
LED_OFF,
LED_ON,
LED_CONNECTING,
LED_SYNC_STATUS,
LED_RF_STATUS,
LED_INIT_ERROR,
LED_LOW_BATT
} TYPE_LED_STATE;
#define SLEEP_TIMER_RELOAD_VALUE 0x05 //use for audio snooze sleep timer checking reload value, 1 unit is 10ms
extern TYPE_LED_STATE Sync_Led_Status;
extern unsigned char Use_Application;
extern unsigned char Use_Continuous_RX_TX;
extern unsigned char Use_Speaker_Enable_Bits;
extern unsigned char Use_Audio_Detection;
extern unsigned char Use_SPDIF;
//extern unsigned char Use_Compressed;
extern unsigned char Use_NackReport;
//extern unsigned char Use_CU_With_Standalone_MU;
extern unsigned char Use_MU_CU_Swap;
extern unsigned char Use_I2C_Log_Write;
extern unsigned char Use_I2C_Log_Read;
extern unsigned char Use_Own_WLAN_Detection;
extern unsigned char Use_MAX2834;
//extern unsigned char DispQuinData;
extern unsigned char ApplicType;
extern unsigned char Data_Free_Up;
extern unsigned char InSync_Detected;
extern unsigned char Error_Code;
extern unsigned char Connect_Bit;
extern unsigned char Data_Led_Counter;
extern unsigned char Config_Byte1;
extern unsigned char Config_Byte2;
extern unsigned char Config_Byte3;
extern unsigned char Config_Byte4;
extern unsigned char Use_Auto_Config;
extern volatile unsigned char Error_Prescaler;
extern volatile unsigned char Sec_Prescaler;
extern volatile unsigned char Sec_Event;
extern volatile unsigned char Event_NACK;
extern volatile unsigned char SA_Event_NACK ;
extern volatile unsigned char NACK_Sample_Time;
extern volatile unsigned char amal_reg;
extern volatile unsigned char Event_FLIP;
extern volatile int RND_Value;
extern volatile unsigned char Rx_Events;
#endif /* END MAIN_FUNC_H */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -