85 #define LTC3300_NUM_CELLS 6
86 #define LTC3300_TWD1 750
87 #define LTC3300_V_SUPPLY_VOLTAGE 6500
95 #define LTC3300_BALANCER_CONTROL_CODE_NONE 0x0
96 #define LTC3300_BALANCER_CONTROL_CODE_DISCHARGE_NONSYNC 0x1
97 #define LTC3300_BALANCER_CONTROL_CODE_DISCHARGE_SYNC 0x2
98 #define LTC3300_BALANCER_CONTROL_CODE_CHARGE 0x3
99 #define LTC3300_BALANCER_NUM_CONTROL_CODES 0x4
119 int8* balancer_command_ptr
127 int8* balancer_command_ptr
BOOLEAN LTC3300_Command_Read(int8 board_num, int8 *balancer_command_ptr)
Reads the balancer control bits for a number of cells controlled by a chain of LTC3300-1 ICs at a spe...
void LTC3300_Watchdog_Kick(void)
Sends a benign command to all chains of LTC3300s at all logical addresses to reset their watchdog tim...
void LTC3300_Execute(int8 board_num)
Commands a chain of LTC3300s at a specific logical address to execute their balance commands...
void LTC3300_Raw_Write(int8 board_num, int8 *ltc3300_data, int8 num_bytes)
Sends a raw string of bytes to a chain of LTC3300s at a specific logical address. ...
void LTC3300_Init(void)
Initializes the LTC3300-1 code module.
BOOLEAN LTC3300_Status_Read(int8 board_num, int8 *gate_drive_ok, int8 *cells_ov_ok, int8 *stack_ov_ok, int8 *temp_ok)
Reads the status bits for a chain of LTC3300-1 ICs at a specific logical address. ...
void LTC3300_Raw_Read(int8 board_num, int8 *ltc3300_data, int8 num_bytes)
Receives a raw string of bytes from a chain of LTC3300s at a specific logical address.
void LTC3300_Command_Write(int8 board_num, int8 *balancer_command_ptr)
Writes the balancer control bits for a number of cells controlled by a chain of LTC3300-1 ICs at a sp...
void LTC3300_Suspend(int8 board_num)
Commands a chain of LTC3300s at a specific logical address to suspend their balance commands...