The foxBMS secondary mcu API documentation
adc_cfg.h
Go to the documentation of this file.
1 
53 #ifndef ADC_CFG_H_
54 #define ADC_CFG_H_
55 
56 /*================== Includes =============================================*/
57 #include "general.h"
58 
59 #include "cpu_cfg.h"
60 #include "batterysystem_cfg.h"
61 
62 /*================== Macros and Definitions ===============================*/
63 
64 /*================== Constant and Variable Definitions ====================*/
65 extern ADC_HandleTypeDef adc_devices[];
66 extern const uint8_t adc_number_of_used_devices;
69 
70 
71 /*================== Function Prototypes ==================================*/
72 
73 /*================== Function Implementations =============================*/
74 
75 #endif /* ADC_CFG_H_ */
uint16_t adc_values[BS_NR_OF_VOLTAGES_FROM_MCU_ADC]
Definition: adc_cfg.c:82
#define BS_NR_OF_VOLTAGES_FROM_MCU_ADC
Definition: batterysystem_cfg.h:210
ADC_HandleTypeDef adc_devices[]
Definition: adc_cfg.c:59
Defines the used CPU.
const uint8_t adc_number_of_used_devices
Definition: adc_cfg.c:85
Settings for the system.
uint32_t adc_ChannelList[BS_NR_OF_VOLTAGES_FROM_MCU_ADC]
Definition: adc_cfg.c:81
Configuration of the battery system (e.g., number of battery modules, battery cells, temperature sensors)