我是靠谱客的博主 愉快翅膀,这篇文章主要介绍qcc514x-qcc304x调试笔记-battery,现在分享给大家,希望可以做个参考。

adksrcdomainspowerbattery_monitorbattery_monitor_config.h

//!@{ @name Battery voltage levels in milli-volts
#define appConfigBatteryFullyCharged()      (4200)
#define appConfigBatteryVoltageOk()         (3600)
#define appConfigBatteryVoltageLow()        (3300)
#define appConfigBatteryVoltageCritical()   (3000)
//!@}

//!@{ @name Battery temperature limits in degrees Celsius.
#define appConfigBatteryChargingTemperatureMax() 45
#define appConfigBatteryChargingTemperatureMin() 0
#define appConfigBatteryDischargingTemperatureMax() 60
#define appConfigBatteryDischargingTemperatureMin() -20
//!@}

/*! Margin to apply on battery readings before accepting that
    the level has changed. Units of milli-volts */
#define appConfigSmBatteryHysteresisMargin() (50)

/*! The interval at which the battery voltage is read. */
#define appConfigBatteryReadingPeriodMs() D_SEC(1)
#define appConfigBatteryMedianFilterWindow() 5
/* smoothing factor stored as multiple of 100 */
#define appConfigBatterySmoothingWeight() 50

最后

以上就是愉快翅膀最近收集整理的关于qcc514x-qcc304x调试笔记-battery的全部内容,更多相关qcc514x-qcc304x调试笔记-battery内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(155)

评论列表共有 0 条评论

立即
投稿
返回
顶部