File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Original file line number Diff line number Diff line change 47
47
// Maximum delay between IRQs, Timer1, <= 2^23 / 80MHz
48
48
constexpr int32_t MAXIRQTICKSCCYS = microsecondsToClockCycles(10000 );
49
49
// Maximum servicing time for any single IRQ
50
- constexpr uint32_t ISRTIMEOUTCCYS = microsecondsToClockCycles(14 );
50
+ constexpr uint32_t ISRTIMEOUTCCYS = microsecondsToClockCycles(18 );
51
51
// The SDK and hardware take some time to actually get to our NMI code, so
52
52
// decrement the next IRQ's timer value by a bit so we can actually catch the
53
53
// real CPU cycle count we want for the waveforms.
54
54
constexpr int32_t DELTAIRQCCYS = clockCyclesPerMicrosecond() == 160 ?
55
- microsecondsToClockCycles (5 ) >> 1 : microsecondsToClockCycles(5 );
55
+ microsecondsToClockCycles (2 ) >> 1 : microsecondsToClockCycles(2 );
56
56
// The latency between in-ISR rearming of the timer and the earliest firing
57
57
constexpr int32_t IRQLATENCYCCYS = clockCyclesPerMicrosecond() == 160 ?
58
- microsecondsToClockCycles (1 ) >> 1 : microsecondsToClockCycles(1 );
58
+ ( microsecondsToClockCycles(3 ) / 2 ) >> 1 : ( microsecondsToClockCycles(3 ) / 2 );
59
59
60
60
// for INFINITE, the NMI proceeds on the waveform without expiry deadline.
61
61
// for EXPIRES, the NMI expires the waveform automatically on the expiry ccy.
You can’t perform that action at this time.
0 commit comments