rusefi/firmware/controllers/bench_test.h

29 lines
619 B
C
Raw Normal View History

2015-07-10 06:01:56 -07:00
/**
* @file bench_test.h
* @brief Utility methods related to bench testing.
2015-07-10 06:01:56 -07:00
*
* todo: rename this file
*
* @date Sep 8, 2013
2020-01-07 21:02:40 -08:00
* @author Andrey Belomutskiy, (c) 2012-2020
2015-07-10 06:01:56 -07:00
*/
2019-11-14 21:00:13 -08:00
#pragma once
2015-07-10 06:01:56 -07:00
void initBenchTest();
2022-01-03 00:35:26 -08:00
void onConfigurationChangeBenchTest();
2020-03-29 14:21:17 -07:00
bool isRunningBenchTest();
2023-09-06 05:16:45 -07:00
const OutputPin *getOutputOnTheBenchTest();
2020-03-29 14:21:17 -07:00
2023-09-06 05:16:45 -07:00
void fanBench();
void fan2Bench();
void fuelPumpBench();
void acRelayBench();
void milBench();
void starterRelayBench();
2015-07-10 06:01:56 -07:00
2019-03-12 17:33:13 -07:00
void executeTSCommand(uint16_t subsystem, uint16_t index);
2023-10-08 12:14:42 -07:00
void handleBenchCategory(uint16_t index);
int getSavedBenchTestPinStates(uint32_t durationsInStateMs[2]);