◆ auxPlainPinTurnOn()
| void auxPlainPinTurnOn |
( |
AuxActor * |
current | ) |
|
Definition at line 38 of file aux_valves.cpp.
38 {
41
43
45
47
49 "aux-valve",
52 action_s::make<plainPinTurnOff>( output )
53 );
54 }
static void scheduleOpen(AuxActor *current)
constexpr auto & module()
NamedOutputPin auxValve[AUX_DIGITAL_VALVE_COUNT]
virtual void setHigh(const char *msg)
static EngineAccessor engine
void wrapAngle(angle_t &angle, const char *msg, ObdCode code)
◆ initAuxValves()
Definition at line 56 of file aux_valves.cpp.
56 {
58 return;
59 }
60
63 return;
64 }
65
67
68 for (int valveIndex = 0; valveIndex < AUX_DIGITAL_VALVE_COUNT; valveIndex++) {
69
70 for (int phaseIndex = 0; phaseIndex < 2; phaseIndex++) {
74 actor->
extra = phaseIndex * 360 + valveIndex * 180;
75
77 }
78 }
79}
void recalculateAuxValveTiming()
AuxActor auxValves[AUX_DIGITAL_VALVE_COUNT][2]
virtual bool hasSensor() const
static constexpr engine_configuration_s * engineConfiguration
void firmwareError(ObdCode code, const char *fmt,...)
bool isBrainPinValid(brain_pin_e brainPin)
Referenced by commonInitEngineController().
◆ recalculateAuxValveTiming()
| void recalculateAuxValveTiming |
( |
| ) |
|
Go to the source code of this file.