MCU
Loading...
Searching...
No Matches
Classes | Macros | Variables
AMSInterface.h File Reference
#include "SysClock.h"
Include dependency graph for AMSInterface.h:

Go to the source code of this file.

Classes

class  AMSInterface
 this class is for interfacing with the AMS (accumulator management system) More...
 

Macros

#define CANBufferType_mock   int
 
#define CAN_message_t_mock   int
 

Variables

const unsigned long HEARTBEAT_INTERVAL = 2000
 
const unsigned long PACK_CHARGE_CRIT_TOTAL_THRESHOLD = 420
 
const unsigned long PACK_CHARGE_CRIT_LOWEST_CELL_THRESHOLD = 35000
 
const float DEFAULT_INIT_TEMP = 40.0
 
const float DEFAULT_INIT_VOLTAGE = 3.5
 
const float DEFAULT_TEMP_ALPHA = 0.8
 
const float DEFAULT_VOLTAGE_ALPHA = 0.8
 
const unsigned short MAX_PACK_CHARGE = 48600
 
const unsigned long DEFAULT_INITIALIZATION_WAIT_INTERVAL = 5000
 

Macro Definition Documentation

◆ CAN_message_t_mock

#define CAN_message_t_mock   int

Definition at line 7 of file AMSInterface.h.

◆ CANBufferType_mock

#define CANBufferType_mock   int

Definition at line 6 of file AMSInterface.h.

Variable Documentation

◆ DEFAULT_INIT_TEMP

const float DEFAULT_INIT_TEMP = 40.0

Definition at line 18 of file AMSInterface.h.

◆ DEFAULT_INIT_VOLTAGE

const float DEFAULT_INIT_VOLTAGE = 3.5

Definition at line 19 of file AMSInterface.h.

◆ DEFAULT_INITIALIZATION_WAIT_INTERVAL

const unsigned long DEFAULT_INITIALIZATION_WAIT_INTERVAL = 5000

Definition at line 23 of file AMSInterface.h.

◆ DEFAULT_TEMP_ALPHA

const float DEFAULT_TEMP_ALPHA = 0.8

Definition at line 20 of file AMSInterface.h.

◆ DEFAULT_VOLTAGE_ALPHA

const float DEFAULT_VOLTAGE_ALPHA = 0.8

Definition at line 21 of file AMSInterface.h.

◆ HEARTBEAT_INTERVAL

const unsigned long HEARTBEAT_INTERVAL = 2000

Mock interface for testing purposes. Please see the real AMSInterface for proper documentation.

Definition at line 14 of file AMSInterface.h.

◆ MAX_PACK_CHARGE

const unsigned short MAX_PACK_CHARGE = 48600

Definition at line 22 of file AMSInterface.h.

◆ PACK_CHARGE_CRIT_LOWEST_CELL_THRESHOLD

const unsigned long PACK_CHARGE_CRIT_LOWEST_CELL_THRESHOLD = 35000

Definition at line 16 of file AMSInterface.h.

◆ PACK_CHARGE_CRIT_TOTAL_THRESHOLD

const unsigned long PACK_CHARGE_CRIT_TOTAL_THRESHOLD = 420

Definition at line 15 of file AMSInterface.h.