view src/cs/drivers/drv_app/fchg/fchg_func_i.h @ 686:59f07d67eb45

luna target split into luna1 and luna2 luna1 is FC Luna based on iWOW DSK v4.0 or v5.0 motherboard luna2 is FC Luna based on FC Caramel2 MB
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 12 Oct 2020 18:51:24 +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 */