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

Public Member Functions | |
| void | init (bool usePwm, IPwm *pwm, OutputPin *outputPin, const ValueProvider3D *table, const gppwm_channel *config) |
| GppwmResult | update (size_t index) |
| GppwmResult | getOutput (size_t index) const |
| float | setOutput (float result) |
Private Attributes | |
| bool | m_state = false |
| const gppwm_channel * | m_config = nullptr |
| bool | m_usePwm = false |
| IPwm * | m_pwm = nullptr |
| OutputPin * | m_output = nullptr |
| const ValueProvider3D * | m_table = nullptr |
Definition at line 18 of file gppwm_channel.h.
| GppwmResult GppwmChannel::getOutput | ( | size_t | index | ) | const |
Definition at line 54 of file gppwm_channel.cpp.
Referenced by update().


| void GppwmChannel::init | ( | bool | usePwm, |
| IPwm * | pwm, | ||
| OutputPin * | outputPin, | ||
| const ValueProvider3D * | table, | ||
| const gppwm_channel * | config | ||
| ) |
Definition at line 41 of file gppwm_channel.cpp.
Referenced by initGpPwm().

Definition at line 9 of file gppwm_channel.cpp.
Referenced by update().


| GppwmResult GppwmChannel::update | ( | size_t | index | ) |
Definition at line 80 of file gppwm_channel.cpp.
Referenced by updateGppwm().


|
private |
Definition at line 32 of file gppwm_channel.h.
Referenced by getOutput(), init(), setOutput(), and update().
|
private |
Definition at line 35 of file gppwm_channel.h.
Referenced by init(), and setOutput().
|
private |
Definition at line 34 of file gppwm_channel.h.
Referenced by init(), and setOutput().
|
private |
Definition at line 29 of file gppwm_channel.h.
Referenced by setOutput().
|
private |
Definition at line 36 of file gppwm_channel.h.
Referenced by getOutput(), and init().
|
private |
Definition at line 33 of file gppwm_channel.h.
Referenced by init(), and setOutput().