basic hw in the loop - pwm self validation #2028
This commit is contained in:
parent
1da9f35ac2
commit
8739e192f5
|
@ -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 */
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -230,4 +230,12 @@ void initWaveAnalyzer(Logging *sharedLogger) {
|
|||
|
||||
}
|
||||
|
||||
void startLogicAnalyzerPins(void) {
|
||||
|
||||
}
|
||||
|
||||
void stopLogicAnalyzerPins(void) {
|
||||
|
||||
}
|
||||
|
||||
#endif /* EFI_LOGIC_ANALYZER */
|
||||
|
|
|
@ -51,6 +51,8 @@ public:
|
|||
};
|
||||
|
||||
void initWaveAnalyzer(Logging *sharedLogger);
|
||||
void startLogicAnalyzerPins(void);
|
||||
void stopLogicAnalyzerPins(void);
|
||||
void printWave(Logging *logging);
|
||||
void showWaveInfo(void);
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue