27 lines
677 B
C
27 lines
677 B
C
/**
|
|
* @file engine_controller.h
|
|
* @brief Controllers package entry point header
|
|
*
|
|
* @date Feb 7, 2013
|
|
* @author Andrey Belomutskiy, (c) 2012-2020
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#define FAST_CALLBACK_PERIOD_MS 5
|
|
#define SLOW_CALLBACK_PERIOD_MS 50
|
|
|
|
bool validateConfigOnStartUpOrBurn();
|
|
char * getPinNameByAdcChannel(const char *msg, adc_channel_e hwChannel, char *buffer, size_t bufferSize);
|
|
void initPeriodicEvents();
|
|
// see also applyNewHardwareSettings
|
|
void initRealHardwareEngineController();
|
|
void commonEarlyInit();
|
|
void commonInitEngineController();
|
|
void initStartStopButton();
|
|
void initWarningRunningPins();
|
|
|
|
void initDataStructures();
|
|
|
|
void slowStartStopButtonCallback();
|