|
rusEFI
The most advanced open source ECU
|
#include <state_sequence.h>


Public Member Functions | |
| float | getSwitchTime (int phaseIndex) const override |
| pin_state_t | getChannelState (int channelIndex, int phaseIndex) const override |
| void | reset () |
| void | setSwitchTime (const int phaseIndex, const float value) |
| void | setChannelState (const int channelIndex, const int phaseIndex, pin_state_t state) |
Public Member Functions inherited from MultiChannelStateSequence | |
| void | checkSwitchTimes (float scale) const |
| expected< int > | findAngleMatch (float angle) const |
| int | findInsertionAngle (float angle) const |
Private Attributes | |
| float | switchTimes [max_phase] |
| uint8_t | waveForm [max_phase] |
Additional Inherited Members | |
Data Fields inherited from MultiChannelStateSequence | |
| uint16_t | phaseCount = 0 |
| uint16_t | waveCount = 0 |
Definition at line 77 of file state_sequence.h.
|
inlineoverridevirtual |
Implements MultiChannelStateSequence.
Definition at line 83 of file state_sequence.h.
Referenced by TriggerWaveform::addEvent().

|
inlineoverridevirtual |
values in the (0..1] range which refer to points within the period at at which pin state should be changed So, in the simplest case we turn pin off at 0.3 and turn it on at 1 - that would give us a 70% duty cycle PWM
Implements MultiChannelStateSequence.
Definition at line 79 of file state_sequence.h.
Referenced by getSimulatedEventTime(), and TriggerWaveform::getSwitchAngle().

|
inline |
Definition at line 91 of file state_sequence.h.
Referenced by TriggerWaveform::initialize().

|
inline |
Definition at line 99 of file state_sequence.h.
Referenced by TriggerWaveform::addEvent().


|
inline |
Definition at line 95 of file state_sequence.h.
Referenced by TriggerWaveform::addEvent(), and SimplePwm::setSimplePwmDutyCycle().

|
private |
Definition at line 109 of file state_sequence.h.
Referenced by MultiChannelStateSequenceWithData< max_phase >::getSwitchTime(), and MultiChannelStateSequenceWithData< max_phase >::setSwitchTime().
|
private |
Definition at line 110 of file state_sequence.h.
Referenced by MultiChannelStateSequenceWithData< max_phase >::getChannelState(), and MultiChannelStateSequenceWithData< max_phase >::setChannelState().