This commit is contained in:
rusefi 2018-04-08 11:35:24 -04:00
parent bcab3336cf
commit a56fd71ecd
3 changed files with 15 additions and 3 deletions

View File

@ -82,8 +82,8 @@ EXTERN_ENGINE;
* CH_FREQUENCY is the number of system ticks in a second * CH_FREQUENCY is the number of system ticks in a second
*/ */
static virtual_timer_t periodicSlowTimer; static virtual_timer_t periodicSlowTimer; // 20Hz
static virtual_timer_t periodicFastTimer; static virtual_timer_t periodicFastTimer; // 50Hz
static LoggingWithStorage logger("Engine Controller"); static LoggingWithStorage logger("Engine Controller");

View File

@ -5,7 +5,9 @@
* We are using two ADC devices here. * We are using two ADC devices here.
* Slow ADC group is used for IAT, CLT, AFR, VBATT etc - this one is currently sampled at 20Hz * Slow ADC group is used for IAT, CLT, AFR, VBATT etc - this one is currently sampled at 20Hz
* *
* Fast ADC group is used for TPS, MAP, MAF HIP * Fast ADC group is used for TPS, MAP, MAF HIP - this one is currently sampled at 10KHz
* We need frequent MAP for averaging
* We need frequent TPS for ???
* *
* @date Jan 14, 2013 * @date Jan 14, 2013
* @author Andrey Belomutskiy, (c) 2012-2018 * @author Andrey Belomutskiy, (c) 2012-2018

View File

@ -8,6 +8,9 @@
/** /**
* @mainpage * @mainpage
* This documentation https://rusefi.com/docs/html/
*
* For version see engine_controller.cpp getRusEfiVersion
* *
* @section sec_into * @section sec_into
* *
@ -45,6 +48,13 @@
* A single tooth primary signal would be a typical example when synchronization is not needed. * A single tooth primary signal would be a typical example when synchronization is not needed.
* *
* *
* @section sec_timers Timers
* At the moment rusEfi is build using 5 times:
* 1) 1MHz microsecond_timer.cpp
* 2) 10KHz fast ADC callback pwmpcb_fast adc_inputs.cpp
* 3) slow ADC callback pwmpcb_slow adc_inputs.cpp
* 4) periodicFastTimer engine_controller.cpp
* 5) periodicSlowTimer engine_controller.cpp
* *
* *
* *