rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
config
boards
f407-discovery
knock_config.h
Go to the documentation of this file.
1
/**
2
* @file knock_config.h
3
*/
4
5
#pragma once
6
7
// Knock is on ADC3
8
#define KNOCK_ADC ADCD3
9
10
// knock 1 - pin PA3
11
#define KNOCK_ADC_CH1 ADC_CHANNEL_IN3
12
#define KNOCK_PIN_CH1 Gpio::A3
13
14
// Sample rate & time - depends on the exact MCU
15
#define KNOCK_SAMPLE_TIME ADC_SAMPLE_84
16
#define KNOCK_SAMPLE_RATE (STM32_PCLK2 / (4 * (84 + 12)))
Generated on Sat Sep 27 2025 00:10:04 for rusEFI by
1.9.8