📄 headset_battery.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 + -