rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
generated_ts_name_by_pin.cpp
Go to the documentation of this file.
1//DO NOT EDIT MANUALLY, let automation work hard.
2
3// auto-generated by PinoutLogic.java based on config/boards/hellen/uaefi/connectors/B.yaml
4// auto-generated by PinoutLogic.java based on config/boards/hellen/uaefi/connectors/C.yaml
5// auto-generated by PinoutLogic.java based on config/boards/hellen/uaefi/connectors/D.yaml
6// auto-generated by PinoutLogic.java based on config/boards/hellen/uaefi/connectors/E.yaml
7// auto-generated by PinoutLogic.java based on config/boards/hellen/uaefi/connectors/iobox.yaml
8// auto-generated by PinoutLogic.java based on config/boards/hellen/uaefi/connectors/uaefi-A.yaml
9#include "pch.h"
10
11// see comments at declaration in pin_repository.h
12const char * getBoardSpecificPinName(brain_pin_e brainPin) {
13 switch(brainPin) {
14 case Gpio::A1: return "C3 AUX2";
15 case Gpio::A6: return "D10 A/C Request / BUTTON2";
16 case Gpio::A7: return "C15 Fuel Pressure / AUX3";
17 case Gpio::A8: return "B1 injector output 6";
18 case Gpio::A9: return "B5 injector output 2";
19 case Gpio::B1: return "D2 BUTTON1";
20 case Gpio::B8: return "B10 Coil 6";
21 case Gpio::B9: return "B9 Main Relay Weak Low Side output 1 (no flyback here)";
22 case Gpio::C13: return "B15 Coil 1";
23 case Gpio::C6: return "B16 Low Side output 4 / Fuel Pump Relay (has flyback D5)";
24 case Gpio::D10: return "B3 injector output 4";
25 case Gpio::D11: return "B4 injector output 3";
26 case Gpio::D12: return "B18 VVT2 or Idle or Low Side output 2 (has flyback D3)";
27 case Gpio::D13: return "B17 Low Side output 3 (has flyback D4)";
28 case Gpio::D15: return "B7 VVT1 or Low Side output 1 (has flyback D2)";
29 case Gpio::D2: return "B2 injector output 5";
30 case Gpio::D3: return "B6 injector output 1";
31 case Gpio::E0: return "C18 VR1+ Discrete for low count wheel";
32 case Gpio::E1: return "C17 VR2-/HALL max9924 best for normal 12+ tooth wheels";
33 case Gpio::E11: return "D5 FLEX";
34 case Gpio::E12: return "C5 CAM 1 / HALL1";
35 case Gpio::E13: return "C6 CAM 2 / HALL2";
36 case Gpio::E14: return "C7 HALL3";
37 case Gpio::E15: return "C9 BUTTON3";
38 case Gpio::E2: return "B13 Coil 5";
39 case Gpio::E3: return "B11 Coil 4";
40 case Gpio::E4: return "B12 Coil 3";
41 case Gpio::E5: return "B14 Coil 2";
42 case Gpio::E6: return "B8 Fan Relay Weak Low Side output 2 (no flyback here)";
43 case Gpio::MSIOBOX_0_OUT_1: return "MS IO-Box 0 OUT 1";
44 case Gpio::MSIOBOX_0_OUT_2: return "MS IO-Box 0 OUT 2";
45 case Gpio::MSIOBOX_0_OUT_3: return "MS IO-Box 0 OUT 3";
46 case Gpio::MSIOBOX_0_OUT_4: return "MS IO-Box 0 OUT 4";
47 default: return nullptr;
48 }
49 return nullptr;
50}
@ MSIOBOX_0_OUT_4
@ MSIOBOX_0_OUT_2
@ MSIOBOX_0_OUT_3
@ MSIOBOX_0_OUT_1
const char * getBoardSpecificPinName(brain_pin_e brainPin)