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