basic hw in the loop - pwm self validation #2028

This commit is contained in:
rusefillc 2020-12-06 18:39:50 -05:00
parent 1da9f35ac2
commit 8739e192f5
6 changed files with 25 additions and 1 deletions

View File

@ -171,4 +171,14 @@ void initAlternatorCtrl(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX) {
instance.Start();
}
// todo: start invoking this method like 'startAuxPins'
void startAlternatorPin(void) {
}
void stopAlternatorPin(void) {
// todo: implementation!
}
#endif /* EFI_ALTERNATOR_CONTROL */

View File

@ -12,6 +12,8 @@
#include "engine.h"
void initAlternatorCtrl(Logging *sharedLogger);
void startAlternatorPin(void);
void stopAlternatorPin(void);
void setAltPFactor(float p);
void setAltIFactor(float p);
void setAltDFactor(float p);

View File

@ -221,6 +221,8 @@ void onConfigurationChangeBoostCallback(engine_configuration_s *previousConfigur
}
void initBoostCtrl(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX) {
// todo: why do we have 'isBoostControlEnabled' setting exactly?
// 'initAuxPid' is an example of a subsystem without explicit enable
if (!CONFIG(isBoostControlEnabled)) {
return;
}

View File

@ -230,4 +230,12 @@ void initWaveAnalyzer(Logging *sharedLogger) {
}
void startLogicAnalyzerPins(void) {
}
void stopLogicAnalyzerPins(void) {
}
#endif /* EFI_LOGIC_ANALYZER */

View File

@ -51,6 +51,8 @@ public:
};
void initWaveAnalyzer(Logging *sharedLogger);
void startLogicAnalyzerPins(void);
void stopLogicAnalyzerPins(void);
void printWave(Logging *logging);
void showWaveInfo(void);

View File

@ -14,7 +14,7 @@ import static com.devexperts.logging.Logging.getLogging;
import static com.rusefi.Timeouts.SECOND;
/**
* A few jumper wires are used to test some subsystems as realistically as possible:
* The following jumper wires are used to test some subsystems as realistically as possible:
* PD1 <=> PC6
* PD2 <=> PA5
* <p>