46 lines
774 B
C
46 lines
774 B
C
#include "kit_debug.h"
|
|
|
|
#include "flash_manager.h"
|
|
#include "dido_manager.h"
|
|
#include "fault_manager.h"
|
|
#include "eeprom_manager.h"
|
|
#include "run_status.h"
|
|
|
|
#include "logic_ctrl.h"
|
|
|
|
|
|
const DoLogic bmsCircuitCtrl[kDoCtrlStrategy_End] =
|
|
{
|
|
logic_same_circuit_poll,
|
|
logic_cmd_ctrl_poll,
|
|
};
|
|
|
|
|
|
const DoLogic doLogicArray[kDoType_End] = {
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
logic_do_cool1_ctrl,
|
|
logic_do_heat1_ctrl,
|
|
logic_do_run1_led_ctrl,
|
|
logic_do_run1_led_ctrl,
|
|
logic_do_run1_led_ctrl,
|
|
logic_do_alarm1_led_ctrl,
|
|
logic_do_alarm1_led_ctrl,
|
|
logic_do_alarm1_led_ctrl,
|
|
logic_do_trip1_ctrl,
|
|
logic_do_trip1_ctrl,
|
|
logic_do_trip1_ctrl,
|
|
logic_do_trip1_ctrl //17
|
|
};
|
|
|
|
|
|
void task_dido_ctrl_handle(uint32_t base_time)
|
|
{
|
|
bms_poll_di_do(base_time);
|
|
}
|
|
|