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

📄 headset_amp.h

📁 bc5_stereo:bluetooth stereo Headset CODE 支持A2DP HSP 和 HSP 。可作为车载免提。BlueLab 2007环境下编译
💻 H
字号:
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2005-2007

FILE NAME
    headset_amp.h
    
DESCRIPTION
    Controls the Audio Amp.
*/

#include "headset_private.h"

#ifndef _HEADSET_AMP_H_
#define _HEADSET_AMP_H_


/****************************************************************************
  FUNCTIONS
*/

/*************************************************************************
NAME    
     AmpOn
    
DESCRIPTION
     Switches the audio amp on.

*/
void AmpOn ( hsTaskData * pApp );


/*************************************************************************
NAME    
     AmpOff
    
DESCRIPTION
     Switches the audio amp off.

*/
void AmpOff ( hsTaskData * pApp );


/*************************************************************************
NAME    
     AmpOffLater
    
DESCRIPTION
     Switches the audio amp off after the configured delay.

*/
void AmpOffLater ( hsTaskData * pApp );


/*************************************************************************
NAME    
     AmpSetOffDelay
    
DESCRIPTION
     Sets the delay before the audio amp is switched off. So when AmpOffLater is called
	 there is this delay before it is physically switched off.

*/
void AmpSetOffDelay ( hsTaskData * pApp, uint16 delay );


/*************************************************************************
NAME    
     AmpSetPio
    
DESCRIPTION
     Sets the PIO that the audio amp is attached to.

*/
void AmpSetPio ( hsTaskData * pApp, uint32 pio );


#endif /* _HEADSET_AMP_H_ */

⌨️ 快捷键说明

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