Changeset 8 for trunk/firmware/CubeMX
- Timestamp:
- May 25, 2023, 3:36:59 PM (2 years ago)
- Location:
- trunk/firmware/CubeMX
- Files:
-
- 2 edited
-
Inc/main.h (modified) (2 diffs)
-
Src/main.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/firmware/CubeMX/Inc/main.h
r7 r8 189 189 #else 190 190 #define CONTROL_CURRENT_A 500 // [A] long-term current limit of the device. 191 #define SHORTCUT_CURRENT_mV 1500 // [mV] Some big value to pass test sequence192 #define INRUSH_CURRENT_mV 6 16 // [mV] Some big value to pass test sequence193 #define COPPER_V_DROP_AT_CONTROL_CURRENT_mV 150 // [mV] - must be measured on the board191 #define SHORTCUT_CURRENT_mV 1500 192 #define INRUSH_CURRENT_mV 650 193 #define COPPER_V_DROP_AT_CONTROL_CURRENT_mV 150 // [mV] - must be measured during calibration 194 194 #endif 195 195 //#define COPPER_V_DROP_AT_INRUSH_CURRENT ((INRUSH_CURRENT_A * COPPER_V_DROP_AT_CONTROL_CURRENT_A)/CONTROL_CURRENT_A) // ~391mV … … 349 349 #define FC_WRITE_MULTIPLE_REGISTER 0x10 350 350 351 #define HOUR_TIME_INTERVALL ( 2UL * 60000UL) // 2 min for DEBUG351 #define HOUR_TIME_INTERVALL (60U * 60000U) // 2 min for DEBUG 352 352 353 353 #define DAC_HANDLE hdac1 -
trunk/firmware/CubeMX/Src/main.c
r7 r8 1356 1356 InternalGreenLED_Management(); 1357 1357 InternalBlueLED_Management(); 1358 InternalRedLED_Management();1358 //InternalRedLED_Management(); 1359 1359 ExternalGreenLED_Management(); 1360 1360 ExternalRedLED_Management(); … … 2263 2263 low_bat_shutdown_is_active = 0; 2264 2264 sys_data.s.device_status &= ~(1 << LOWBAT_ERROR); 2265 ExternalRedLED_Management = &DoNothing; 2265 2266 } 2266 2267 }
Note:
See TracChangeset
for help on using the changeset viewer.
