rusEFI
The most advanced open source ECU
|
#include <peak_detect.h>
Public Member Functions | |
TValue | detect (TValue currentValue, efitick_t nowNt) |
Private Attributes | |
TValue | m_peak = std::numeric_limits<TValue>::min() |
efitick_t | m_lastPeakTime = std::numeric_limits<efitick_t>::min() |
Stores the recent peak value, preventing loss of intermittent peaks in a signal.
Definition at line 9 of file peak_detect.h.
|
inline |
Definition at line 11 of file peak_detect.h.
Referenced by KnockControllerBase::onKnockSenseCompleted().
|
private |
Definition at line 24 of file peak_detect.h.
Referenced by PeakDetect< TValue, TTimeoutPeriod >::detect().
|
private |
Definition at line 23 of file peak_detect.h.
Referenced by PeakDetect< TValue, TTimeoutPeriod >::detect().