view src/cs/drivers/drv_app/fchg/fchg_func_i.h @ 252:27f17fbf0657

FCHG: add dependency on ETM for BSIM
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 12 May 2021 03:18:50 +0000
parents 4e78acac3d88
children 769cf6273fe4
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 */