view src/cs/drivers/drv_app/fchg/fchg_func_i.h @ 487:91e8dac34ada

src/gpf2/osl: initial import from old freecalypso-sw tree
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 22 Jun 2018 05:56:16 +0000
parents 0df0668f8bea
children
line wrap: on
line source

/*
 * Declarations of internal functions live here.
 */

#ifndef __FCHG_FUNC_I
#define __FCHG_FUNC_I

#include "fchg/fchg_messages.h"

void pwr_init_discharge(void);
void pwr_load_ffs_batt_table(void);
void pwr_load_ffs_charging_config(void);
void pwr_set_default_batt_table(void);

void pwr_process_message(T_RV_HDR *msg_ptr);
void pwr_process_adc(struct pwr_adc_ind_s *msg);
void pwr_handle_timer(void);
void pwr_charger_plug(void);
void pwr_charger_unplug(void);
void pwr_charge_start_req(void);
void pwr_charge_stop_req(void);

#endif	/* include guard */