|
rusEFI
The most advanced open source ECU
|
Functions | |
| chibios_rt::BinarySemaphore | knockSem (true) |
| void | onKnockSamplingComplete () |
| void | onStartKnockSampling (uint8_t cylinderNumber, float samplingSeconds, uint8_t channelIdx) |
| void | initSoftwareKnock () |
| static uint8_t | toDb (const float &voltage) |
| static void | processLastKnockEvent () |
Variables | |
| static size_t | spectrogramStartIndex = 0 |
| static SpectrogramData | spectrogramData0 |
| static SpectrogramData * | spectrogramData = &spectrogramData0 |
| static NO_CACHE adcsample_t | sampleBuffer [1800] |
| static int8_t | currentCylinderNumber = 0 |
| static int8_t | channelNumber = 0 |
| static efitick_t | lastKnockSampleTime = 0 |
| static Biquad | knockFilter |
| static volatile bool | knockIsSampling = false |
| static volatile bool | knockNeedsProcess = false |
| static volatile size_t | sampleCount = 0 |
| static KnockThread | kt |
| void initSoftwareKnock | ( | ) |
Definition at line 92 of file software_knock.cpp.
Referenced by initHardware().


| chibios_rt::BinarySemaphore knockSem | ( | true | ) |
| void onKnockSamplingComplete | ( | ) |
Definition at line 42 of file software_knock.cpp.
Referenced by knockCompletionCallback(), and knockCompletionCallback().


| void onStartKnockSampling | ( | uint8_t | cylinderNumber, |
| float | samplingSeconds, | ||
| uint8_t | channelIdx | ||
| ) |
Definition at line 51 of file software_knock.cpp.
Referenced by startKnockSampling().


|
static |
Definition at line 165 of file software_knock.cpp.

|
static |
Definition at line 158 of file software_knock.cpp.
Referenced by processLastKnockEvent().

|
static |
Definition at line 32 of file software_knock.cpp.
Referenced by onStartKnockSampling(), and processLastKnockEvent().
|
static |
Definition at line 31 of file software_knock.cpp.
Referenced by onStartKnockSampling(), and processLastKnockEvent().
|
static |
Definition at line 34 of file software_knock.cpp.
Referenced by fft::fft_adc_sample_filtered(), initSoftwareKnock(), and processLastKnockEvent().
|
static |
Definition at line 36 of file software_knock.cpp.
|
static |
Definition at line 37 of file software_knock.cpp.
Referenced by onKnockSamplingComplete(), onStartKnockSampling(), and processLastKnockEvent().
|
static |
Definition at line 90 of file software_knock.cpp.
Referenced by initSoftwareKnock().
|
static |
Definition at line 33 of file software_knock.cpp.
Referenced by onStartKnockSampling(), and processLastKnockEvent().
|
static |
Definition at line 30 of file software_knock.cpp.
Referenced by onStartKnockSampling(), and processLastKnockEvent().
|
static |
Definition at line 38 of file software_knock.cpp.
Referenced by onStartKnockSampling(), and processLastKnockEvent().
|
static |
Definition at line 21 of file software_knock.cpp.
Referenced by initSoftwareKnock(), and processLastKnockEvent().
|
static |
Definition at line 20 of file software_knock.cpp.
|
static |
Definition at line 19 of file software_knock.cpp.
Referenced by initSoftwareKnock(), and processLastKnockEvent().