rusEFI
The most advanced open source ECU
injection_gpio.h
Go to the documentation of this file.
1 /*
2  * @file injection_gpio.h
3  */
4 
5 #pragma once
6 
7 #include "efi_output.h"
8 
9 void startSimultaneousInjection(void* = nullptr);
11 
12 class InjectorOutputPin final : public NamedOutputPin {
13 public:
15  void reset();
16 
17  void open(efitick_t nowNt);
18  void close(efitick_t nowNt);
19  void setHigh() override;
20  void setLow() override;
21 
22  int8_t getOverlappingCounter() const { return overlappingCounter; }
23 
24  // todo: re-implement this injectorIndex via address manipulation to reduce memory usage?
25  int8_t injectorIndex;
26 
27 private:
29 };
void open(efitick_t nowNt)
void close(efitick_t nowNt)
int8_t getOverlappingCounter() const
void setHigh() override
void setLow() override
void endSimultaneousInjectionOnlyTogglePins()
void startSimultaneousInjection(void *=nullptr)