This commit is contained in:
jazzpi
2022-07-20 12:43:57 +02:00
parent 665ee02bf2
commit 90b98f25c2
5 changed files with 130 additions and 110 deletions

View File

@ -34,6 +34,7 @@
#define AMS_LOGGING_ID 0x500
#define AMS_LOGGING_NUM_FRAMES 6
#define AMS_LOGGING_FRAMES_PER_LOOP 1
// Charger->Master IDs
#define CHARGER_START_CHARGING 0x446

View File

@ -26,7 +26,7 @@
#define GET_MEASUREMENTS 0x05
#define TOGGLE_STATUS_LED 0x06
#define NUMBEROFSLAVES 6
#define NUMBEROFSLAVES 7
#define N_CELLS_SERIES 10
#define N_CELLS_PARALLEL 9
#define NUMBEROFTEMPS 32

View File

@ -42,7 +42,10 @@ extern "C" {
/* Exported constants --------------------------------------------------------*/
/* USER CODE BEGIN EC */
#define THRESH_UV 32768 /* 2.5V */
#define THRESH_OV 55050 /* 4.2V */
#define THRESH_UT 0 /* 0C */
#define THRESH_OT 880 /* 55C */
/* USER CODE END EC */
/* Exported macro ------------------------------------------------------------*/