headset_amp.h

来自「bc5_stereo:bluetooth stereo Headset CODE」· C头文件 代码 · 共 78 行

H
78
字号
/****************************************************************************
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 + =
减小字号Ctrl + -
显示快捷键?