Implemented charger protocol for can2

This commit is contained in:
Yury Shuvakin
2023-03-29 18:38:35 +03:00
parent 714bf3ae8c
commit fb819e50a1
8 changed files with 214 additions and 15 deletions

View File

@@ -156,6 +156,8 @@ typedef struct {
float floatCurrentK1; // First factor of current calculation
float floatCurrentK2; // Second factor of current calculation
float externalChargeCurrentTable[9][11];
bool externalChargeUnitTable[9][11];
// uint8_t dummy;
} modConfigGeneralConfigStructTypedef;

View File

@@ -57,6 +57,8 @@ void DebugMon_Handler(void);
void PendSV_Handler(void);
void SysTick_Handler(void);
void OTG_FS_IRQHandler(void);
void CAN1_RX0_IRQHandler(void);
void CAN2_RX1_IRQHandler(void);
/* USER CODE BEGIN EFP */
/* USER CODE END EFP */