mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 01:39:30 +02:00
72 lines
2.1 KiB
C++
72 lines
2.1 KiB
C++
#ifndef BATTERIES_H
|
|
#define BATTERIES_H
|
|
#include "../../USER_SETTINGS.h"
|
|
#include "Shunt.h"
|
|
|
|
class Battery;
|
|
|
|
// Currently initialized objects for primary and secondary battery.
|
|
// Null value indicates that battery is not configured/initialized
|
|
extern Battery* battery;
|
|
extern Battery* battery2;
|
|
|
|
void setup_can_shunt();
|
|
|
|
#include "BMW-I3-BATTERY.h"
|
|
#include "BMW-IX-BATTERY.h"
|
|
#include "BMW-PHEV-BATTERY.h"
|
|
#include "BMW-SBOX.h"
|
|
#include "BOLT-AMPERA-BATTERY.h"
|
|
#include "BYD-ATTO-3-BATTERY.h"
|
|
#include "CELLPOWER-BMS.h"
|
|
#include "CHADEMO-BATTERY.h"
|
|
#include "CHADEMO-SHUNTS.h"
|
|
#include "CMFA-EV-BATTERY.h"
|
|
#include "DALY-BMS.h"
|
|
#include "ECMP-BATTERY.h"
|
|
#include "FOXESS-BATTERY.h"
|
|
#include "GEELY-GEOMETRY-C-BATTERY.h"
|
|
#include "HYUNDAI-IONIQ-28-BATTERY.h"
|
|
#include "IMIEV-CZERO-ION-BATTERY.h"
|
|
#include "JAGUAR-IPACE-BATTERY.h"
|
|
#include "KIA-64FD-BATTERY.h"
|
|
#include "KIA-E-GMP-BATTERY.h"
|
|
#include "KIA-HYUNDAI-64-BATTERY.h"
|
|
#include "KIA-HYUNDAI-HYBRID-BATTERY.h"
|
|
#include "MEB-BATTERY.h"
|
|
#include "MG-5-BATTERY.h"
|
|
#include "MG-HS-PHEV-BATTERY.h"
|
|
#include "NISSAN-LEAF-BATTERY.h"
|
|
#include "ORION-BMS.h"
|
|
#include "PYLON-BATTERY.h"
|
|
#include "RANGE-ROVER-PHEV-BATTERY.h"
|
|
#include "RELION-LV-BATTERY.h"
|
|
#include "RENAULT-KANGOO-BATTERY.h"
|
|
#include "RENAULT-TWIZY.h"
|
|
#include "RENAULT-ZOE-GEN1-BATTERY.h"
|
|
#include "RENAULT-ZOE-GEN2-BATTERY.h"
|
|
#include "RJXZS-BMS.h"
|
|
#include "SAMSUNG-SDI-LV-BATTERY.h"
|
|
#include "SANTA-FE-PHEV-BATTERY.h"
|
|
#include "SIMPBMS-BATTERY.h"
|
|
#include "SONO-BATTERY.h"
|
|
#include "TESLA-BATTERY.h"
|
|
#include "TEST-FAKE-BATTERY.h"
|
|
#include "VOLVO-SPA-BATTERY.h"
|
|
#include "VOLVO-SPA-HYBRID-BATTERY.h"
|
|
|
|
void setup_battery(void);
|
|
|
|
extern uint16_t user_selected_max_pack_voltage_dV;
|
|
extern uint16_t user_selected_min_pack_voltage_dV;
|
|
extern uint16_t user_selected_max_cell_voltage_mV;
|
|
extern uint16_t user_selected_min_cell_voltage_mV;
|
|
|
|
extern bool user_selected_tesla_digital_HVIL;
|
|
extern uint16_t user_selected_tesla_GTW_country;
|
|
extern bool user_selected_tesla_GTW_rightHandDrive;
|
|
extern uint16_t user_selected_tesla_GTW_mapRegion;
|
|
extern uint16_t user_selected_tesla_GTW_chassisType;
|
|
extern uint16_t user_selected_tesla_GTW_packEnergy;
|
|
|
|
#endif
|