func_auto_namg.h

来自「2.4G无线音箱的接收程序,采用ATMEGA8单片机和STS公司的无线模块完成」· C头文件 代码 · 共 54 行

H
54
字号
/******************************************************************************
*
* Purpose:      Auto NAMG Functions
*
* Creator:      Rob Lansbergen
*
* Version:		$Revision: 3 $
*
* File Name:	$Workfile: Func_Auto_NAMG.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.                  
* 2007 Wireless Sound Solutions. All rights reserved. Wireless Sound Solutions
* STS and STS-wireless are trademarks of Wireless Sound Solutions.        
******************************************************************************/
#ifndef AUTO_NAMG_FUNC_H
#define AUTO_NAMG_FUNC_H

void Handle_Auto_NAMG_Func_Timer(void);		
void Handle_Auto_NAMG_MainLoop	(void);
void Handle_Auto_NAMG_RXMsg		(void);
void Handle_Auto_NAMG_RXMsg_TimeOut(void);		
unsigned char Calculate_Average_AGCD(void);	


extern unsigned char NAMG_MAX_Reduction_Tmr;		
extern unsigned char NAMG_Offset;
extern unsigned char MAXNAMG_TimeOut_Tmr;	
extern unsigned char AGCD_Msg_Send_Tmr;         //WM
extern unsigned char NACK_Time_Cnt ;	/* Report Time Counter */
extern unsigned char AGC_Max; 
extern unsigned char AGCD_Level;    
extern unsigned char NAMG_Level;    
extern unsigned char NAMG_shd 	    ; /* Shadow Register of NAMG, 116 decimal, is Default Reset Value */
extern unsigned char NACK_Time;
extern unsigned char DT_AGCD_Level[5];

#define NO_AGCD_RXMsg_2SEC		20
#define NAMG_MAX_DEDUCT_2SEC		20

#endif /* AUTO_NAMG_FUNC_H */

⌨️ 快捷键说明

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