headset_power.h
来自「实现蓝牙立体声耳机功能。。可以接收并播放来自有蓝牙功能的手机」· C头文件 代码 · 共 65 行
H
65 行
/****************************************************************************
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 + =
减小字号Ctrl + -
显示快捷键?