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


Public Member Functions | |
| InjectorOutputPin () | |
| void | reset () |
| void | open (efitick_t nowNt) |
| void | close (efitick_t nowNt) |
| void | setHigh () override |
| void | setLow () override |
| int8_t | getOverlappingCounter () const |
Public Member Functions inherited from NamedOutputPin | |
| NamedOutputPin () | |
| NamedOutputPin (const char *name) | |
| virtual void | setHigh (const char *msg) |
| virtual void | setLow (const char *msg) |
| const char * | getName () const |
| void | setName (const char *) |
| const char * | getShortName () const |
| bool | stop () |
Public Member Functions inherited from OutputPin | |
| void | initPin (const char *msg, brain_pin_e brainPin, pin_output_mode_e outputMode, bool forceInitWithFatalError=false) |
| void | initPin (const char *msg, brain_pin_e brainPin) |
| void | deInit () |
| bool | isInitialized () const |
| bool | getAndSet (int logicValue) |
| void | setValue (const char *msg, int logicValue, bool isForce=false) |
| TEST_VIRTUAL void | setValue (int logicValue, bool isForce=false) |
| void | toggle () |
| bool | getLogicValue () const |
| brain_pin_diag_e | getDiag () const |
| void | resetToggleStats () |
Data Fields | |
| int8_t | injectorIndex |
Data Fields inherited from NamedOutputPin | |
| const char * | shortName = nullptr |
Data Fields inherited from OutputPin | |
| ioportid_t | m_port = 0 |
| uint8_t | m_pin = 0 |
| int | pinToggleCounter = 0 |
| Timer | pinToggleTimer |
| uint32_t | durationsInStateMs [2] |
| brain_pin_e | brainPin = Gpio::Unassigned |
| bool | ext = false |
| int8_t | currentLogicValue = INITIAL_PIN_STATE |
Private Attributes | |
| int8_t | overlappingCounter |
Definition at line 12 of file injection_gpio.h.
| InjectorOutputPin::InjectorOutputPin | ( | ) |
Definition at line 23 of file injection_gpio.cpp.

| void InjectorOutputPin::close | ( | efitick_t | nowNt | ) |
Definition at line 59 of file injection_gpio.cpp.
Referenced by endSimultaneousInjectionOnlyTogglePins(), turnInjectionPinLow(), and turnInjectionPinLowStage2().


|
inline |
Definition at line 22 of file injection_gpio.h.
| void InjectorOutputPin::open | ( | efitick_t | nowNt | ) |
Definition at line 29 of file injection_gpio.cpp.
Referenced by startSimultaneousInjection().


| void InjectorOutputPin::reset | ( | ) |
Definition at line 490 of file efi_gpio.cpp.
Referenced by InjectorOutputPin(), and EnginePins::reset().


|
overridevirtual |
Reimplemented from NamedOutputPin.
Definition at line 86 of file injection_gpio.cpp.
Referenced by open().


|
overridevirtual |
Reimplemented from NamedOutputPin.
Definition at line 112 of file injection_gpio.cpp.
Referenced by close(), and setPinConfigurationOverrides().


| int8_t InjectorOutputPin::injectorIndex |
Definition at line 25 of file injection_gpio.h.
Referenced by close(), EnginePins::EnginePins(), InjectorOutputPin(), open(), setHigh(), and setLow().
|
private |
Definition at line 28 of file injection_gpio.h.
Referenced by close(), getOverlappingCounter(), InjectorOutputPin(), open(), and reset().