GCC Code Coverage Report


Directory: ./
File: firmware/controllers/system/injection_gpio.h
Date: 2025-10-03 00:57:22
Coverage Exec Excl Total
Lines: 100.0% 1 0 1
Functions: 100.0% 1 0 1
Branches: -% 0 0 0
Decisions: -% 0 - 0

Line Branch Decision Exec Source
1 /*
2 * @file injection_gpio.h
3 */
4
5 #pragma once
6
7 #include "efi_output.h"
8
9 void startSimultaneousInjection();
10 void endSimultaneousInjectionOnlyTogglePins();
11
12 class InjectorOutputPin final : public NamedOutputPin {
13 public:
14 InjectorOutputPin();
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 4 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:
28 int8_t overlappingCounter;
29 };
30