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

📄 headset_battery.h

📁 BlueLab 3.5.2 单声道耳机源码
💻 H
字号:
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2005-2006
Part of BlueLab 3.6.2-release

FILE NAME
    headset_battery.h
    
DESCRIPTION
    
*/

#ifndef _HEADSET_BATTERY_H_
#define _HEADSET_BATTERY_H_


/****************************************************************************
NAME    
    batteryInit
    
DESCRIPTION
  	This function will initialise the battery sub-system.  The sub-system 
	manages the reading and calulation of the battery voltage and temperature
    
RETURNS
    void
*/
void batteryInit(power_type* power);


/****************************************************************************
NAME    
    batteryGetCurrentVoltage
    
DESCRIPTION
  	Call this function to get the current battery voltage
    
RETURNS
    void
*/
uint16 batteryGetCurrentVoltage(power_type* power);


/****************************************************************************
NAME    
    batteryGetCurrentTemperature
    
DESCRIPTION
  	Call this function to get the current battery temperature
    
RETURNS
    void
*/
int16 batteryGetCurrentTemperature(power_type* power);


#endif /* _HEADSET_BATTERY_H_ */

⌨️ 快捷键说明

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