rusefi/firmware/controllers/engine_controller.h

29 lines
696 B
C
Raw Normal View History

2015-07-10 06:01:56 -07:00
/**
* @file engine_controller.h
* @brief Controllers package entry point header
*
* @date Feb 7, 2013
2020-01-07 21:02:40 -08:00
* @author Andrey Belomutskiy, (c) 2012-2020
2015-07-10 06:01:56 -07:00
*/
2019-09-19 21:34:42 -07:00
#pragma once
2015-07-10 06:01:56 -07:00
#define FAST_CALLBACK_PERIOD_MS 5
#define SLOW_CALLBACK_PERIOD_MS 50
// todo: huh we also have validateConfiguration()?!
bool validateConfig();
2016-12-27 11:04:04 -08:00
char * getPinNameByAdcChannel(const char *msg, adc_channel_e hwChannel, char *buffer);
void initPeriodicEvents();
// see also applyNewHardwareSettings
void initRealHardwareEngineController();
void commonEarlyInit();
void commonInitEngineController();
void initStartStopButton();
void initWarningRunningPins();
2015-07-10 06:01:56 -07:00
void initDataStructures();
2019-12-23 21:03:53 -08:00
void slowStartStopButtonCallback();