Changeset 38 for trunk/fw_g473rct/SES/inc
- Timestamp:
- Nov 1, 2025, 5:29:27 PM (2 days ago)
- Location:
- trunk/fw_g473rct/SES/inc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/fw_g473rct/SES/inc/battery_voltage.h
r25 r38 16 16 17 17 //--- GLOBALE DEFINES ---------------------------------------------------------- 18 #define BATTERY_VOLTAGE_VOLTAGE_DIVIDER 6.0 18 #if defined SYSTEM_VOLTAGE_12V 19 #define BATTERY_VOLTAGE_VOLTAGE_DIVIDER 6.0 20 #elif defined SYSTEM_VOLTAGE_24V 21 #define BATTERY_VOLTAGE_VOLTAGE_DIVIDER 11.0 22 #elif defined SYSTEM_VOLTAGE_48V 23 #define BATTERY_VOLTAGE_VOLTAGE_DIVIDER 21.0 24 #else 25 #error "System voltage not defined" 26 #endif 27 28 29 19 30 #define BATTERY_VOLTAGE_ADC_RESOLUTION 32768.0 //65536/2 da im differential mode 20 31 #define BATTERY_VOLTAGE_ADC_OFFSET 32768.0 -
trunk/fw_g473rct/SES/inc/outputs.h
r28 r38 30 30 #define OUTPUTS_LVP_SHUNT_UNDERTEMPERATURE 5 31 31 #define OUTPUTS_LVP_CHIP_UNDERTEMPERATURE 6 32 #define OUTPUTS_LVP_SHORT_PROTECTION 7 32 33 33 34 #define OUTPUTS_OVP_UNKNOWN -1 … … 39 40 #define OUTPUTS_OVP_SHUNT_UNDERTEMPERATURE 5 40 41 #define OUTPUTS_OVP_CHIP_UNDERTEMPERATURE 6 42 #define OUTPUTS_OVP_SHORT_PROTECTION 7 41 43 42 44 #define OUTPUTS_LVP_MODE_AUTO 0U -
trunk/fw_g473rct/SES/inc/sysdata.h
r37 r38 189 189 /* 2 of 8 */ uint16_t ovp_sense; // 168 190 190 /* 4 of 8 */ uint16_t lvp_sense; // 169 191 /* 6 of 8 */ uint32_t detectedCapacityAtActualCRate; // 170,171 192 /* 8 of 8 */ uint32_t detectedEnergyAtActualCRate; // 172,173 191 /* 6 of 8 */ uint16_t overcurrentRetryCounter; // 170 192 /* 8 of 8 */ uint16_t overcurrentEventsTotal; // 171 193 /* 2 of 8 */ uint16_t overcurrentMeasurement; // 172 194 /* 4 of 8 */ uint16_t overcurrentMaxValue; // 173 193 195 /* 6 of 8 */ uint16_t UNIQUE_NAME(reserved); // 174 194 196 /* 8 of 8 */ uint16_t UNIQUE_NAME(reserved); // 175 … … 226 228 /* 8 of 8 */ uint16_t UNIQUE_NAME(reserved); // 239 227 229 /* 4 of 8 */ int64_t mAs_AutoModeU; // 240-243 228 /* 6 of 8 */ uint16_t UNIQUE_NAME(reserved); // 244 229 /* 8 of 8 */ uint16_t UNIQUE_NAME(reserved); // 245 230 /* 2 of 8 */ uint16_t UNIQUE_NAME(reserved); // 246 231 /* 4 of 8 */ uint16_t UNIQUE_NAME(reserved); // 247 230 /* 6 of 8 */ uint32_t detectedCapacityAtActualCRate; // 244,245 231 /* 8 of 8 */ uint32_t detectedEnergyAtActualCRate; // 246,247 232 232 /* 6 of 8 */ uint16_t UNIQUE_NAME(reserved); // 248 233 233 /* 8 of 8 */ uint16_t UNIQUE_NAME(reserved); // 249
Note: See TracChangeset
for help on using the changeset viewer.
