headset_charger.h

来自「bluelab的一个很好的例程」· C头文件 代码 · 共 60 行

H
60
字号
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2005

FILE NAME
    headset_charger.h
    
DESCRIPTION
    
*/

#ifndef _HEADSET_CHARGER_H_
#define _HEADSET_CHARGER_H_

#include "headset_powermanager.h"


/****************************************************************************
NAME    
    chargerInit
    
DESCRIPTION
  	This function is called by the Power Manager to initialise the battery 
	charger subsystem
    
RETURNS
    void
*/
void chargerInit(power_type* power);


/****************************************************************************
NAME    
    chargerConnected
    
DESCRIPTION
  	This function is called by the Power Manager when the charger has been 
	plugged into the headset
    
RETURNS
    void
*/
void chargerConnected(power_type* power);


/****************************************************************************
NAME    
    chargerDisconnected
    
DESCRIPTION
  	This function is called by the Power Manager when the charger has been 
	unplugged from the headset
    
RETURNS
    void
*/
void chargerDisconnected(power_type* power);


#endif /* _HEADSET_CHARGER_H_ */

⌨️ 快捷键说明

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