/************************************************************************** * * Copyright (c) 2019-2021 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * @file Battery.h * * @author (last) Quang Nguyen * @date (last) 24-Feb-2021 * * @author (original) Quang Nguyen * @date (original) 24-Feb-2021 * ***************************************************************************/ #ifndef __BATTERY_H__ #define __BATTERY_H__ #include "HDCommon.h" /** * @defgroup Battery Battery * @brief The battery module provides interfaces to the smart battery charger controller through I2C communication. * * @addtogroup Battery * @{ */ // ********** public definitions ********** // ********** public function prototypes ********** void initBattery( void ); void execBatteryMonitor( void ); SELF_TEST_STATUS_T execBatteryTest( void ); U16 getBatteryRemainingPercent( void ); /**@}*/ #endif