rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
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
11
12class InjectorOutputPin final : public NamedOutputPin {
13public:
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?
26
27private:
29};
void open(efitick_t nowNt)
void close(efitick_t nowNt)
int8_t getOverlappingCounter() const
void setHigh() override
void setLow() override
void startSimultaneousInjection()
void endSimultaneousInjectionOnlyTogglePins()