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

📄 headset_power.h

📁 实现蓝牙立体声耳机功能。。可以接收并播放来自有蓝牙功能的手机
💻 H
字号:
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2004-2006
Part of BlueLab 3.6.2-release

FILE NAME
    headset_power.h
    
DESCRIPTION
    
*/

#ifndef _HEADSET_POWER_H_
#define _HEADSET_POWER_H_


/*************************************************************************
NAME    
     headsetSetPowerState
    
DESCRIPTION
     Sets the current power state.
*/
void headsetSetPowerState(headsetTaskData *app, power_state state);


/*************************************************************************
NAME    
     headsetPowerOn
    
DESCRIPTION
     Called when the headset has powered on through a MFB button press.
*/
void headsetPowerOn(headsetTaskData *app);


/*************************************************************************
NAME    
     headsetPowerOff
    
DESCRIPTION
     Power down the headset
*/
void headsetPowerOff ( headsetTaskData *app ) ;

/*************************************************************************
NAME    
    headsetPowerAmp
    
DESCRIPTION
    Set the audio amp to be enabled or disabled
*/
void headsetPowerAmp(headsetTaskData *app, bool enable );

/*************************************************************************
NAME    
    headsetPowerCheckAutoOff
    
DESCRIPTION
    Check if the auto power off timer can be started
*/
void headsetPowerCheckAutoOff(const headsetTaskData *app);

        
#endif /* _HEADSET_POWER_H_ */

⌨️ 快捷键说明

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