Changeset 4 for trunk/firmware/SES/Src
- Timestamp:
- Apr 27, 2023, 11:58:15 AM (3 years ago)
- File:
-
- 1 edited
-
trunk/firmware/SES/Src/precharge.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/firmware/SES/Src/precharge.c
r3 r4 33 33 static int mal = 0; 34 34 // DAC = 0 DAC = 3V 35 const int32_t delay_µs[DELAYS_NUM] = { 3, 3, // 0, 1 - 6710µs is MAX @320kHz, [0,1,2,3] = 3µs36 300,3, // 2, 337 50,3, // 4, 538 50// 635 const int32_t delay_µs[DELAYS_NUM] = { 3, 3, // 0, 1 - 6710µs is MAX @320kHz, [0,1,2,3] = 3µs 36 500, 3, // 2, 3 37 500, 3, // 4, 5 38 500 // 6 39 39 }; 40 40 const int32_t delay_cnt[DELAYS_NUM] = { (delay_µs[ 0 ] * CURRENT_INTEGRAL_FREQ) / MHz, … … 125 125 stage = 5; 126 126 127 if (mal++ >= 5/*1600*/) // approx 95ms127 if (mal++ >= 1000/*1600*/) // approx 95ms 128 128 { 129 129 mal = 0;
Note:
See TracChangeset
for help on using the changeset viewer.
