2015-07-10 06:01:56 -07:00
|
|
|
/**
|
|
|
|
* @file settings.h
|
|
|
|
* @brief This file is about configuring engine via the human-readable protocol
|
|
|
|
*
|
|
|
|
* @date Dec 30, 2012
|
2020-01-13 18:57:43 -08:00
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2020
|
2015-07-10 06:01:56 -07:00
|
|
|
*/
|
|
|
|
|
2020-01-26 10:58:47 -08:00
|
|
|
#pragma once
|
2015-07-10 06:01:56 -07:00
|
|
|
|
2023-10-26 12:52:56 -07:00
|
|
|
void initSettings();
|
2023-11-01 10:02:20 -07:00
|
|
|
void printSpiState();
|
|
|
|
void printConfiguration();
|
2023-10-26 12:52:56 -07:00
|
|
|
void scheduleStopEngine();
|
2022-08-25 19:09:22 -07:00
|
|
|
|
2019-04-29 22:21:09 -07:00
|
|
|
void printTPSInfo(void);
|
2023-08-24 06:48:30 -07:00
|
|
|
void setEngineTypeAndSave(int value);
|
|
|
|
void setEngineType(int value, bool isWriteToFlash = true);
|
2021-08-21 21:00:20 -07:00
|
|
|
void readPin(const char *pinName);
|
2022-11-23 12:53:16 -08:00
|
|
|
|
|
|
|
void printDateTime();
|
|
|
|
void setDateTime(const char * const isoDateTime);
|