rusEFI
The most advanced open source ECU
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/A.yaml
4 // auto-generated by PinoutLogic.java based on config/boards/hellen/uaefi/connectors/B.yaml
5 // auto-generated by PinoutLogic.java based on config/boards/hellen/uaefi/connectors/C.yaml
6 // auto-generated by PinoutLogic.java based on config/boards/hellen/uaefi/connectors/D.yaml
7 // auto-generated by PinoutLogic.java based on config/boards/hellen/uaefi/connectors/E.yaml
8 #include "pch.h"
9 
10 // see comments at declaration in pin_repository.h
11 const char * getBoardSpecificPinName(brain_pin_e brainPin) {
12  switch(brainPin) {
13  case Gpio::A6: return "D10 A/C Request / BUTTON2";
14  case Gpio::A8: return "B1 injector output 6";
15  case Gpio::A9: return "B5 injector output 2";
16  case Gpio::B1: return "D2 BUTTON1";
17  case Gpio::B8: return "B10 Coil 6";
18  case Gpio::B9: return "B9 Main Relay Weak Low Side output 1";
19  case Gpio::C13: return "B15 Coil 1";
20  case Gpio::C6: return "B16 Low Side output 4 / Fuel Pump Relay";
21  case Gpio::D10: return "B3 injector output 4";
22  case Gpio::D11: return "B4 injector output 3";
23  case Gpio::D12: return "B18 VVT2 or Idle or Low Side output 2";
24  case Gpio::D13: return "B17 Low Side output 3";
25  case Gpio::D15: return "B7 VVT1 or Low Side output 1";
26  case Gpio::D2: return "B2 injector output 5";
27  case Gpio::D3: return "B6 injector output 1";
28  case Gpio::E0: return "C18 VR1+ Discrete";
29  case Gpio::E1: return "C17 VR2-/HALL max9924";
30  case Gpio::E11: return "D5 FLEX";
31  case Gpio::E12: return "C5 CAM 1 / HALL1";
32  case Gpio::E13: return "C6 CAM 2 / HALL2";
33  case Gpio::E14: return "C7 HALL3";
34  case Gpio::E15: return "C9 BUTTON3";
35  case Gpio::E2: return "B13 Coil 5";
36  case Gpio::E3: return "B11 Coil 4";
37  case Gpio::E4: return "B12 Coil 3";
38  case Gpio::E5: return "B14 Coil 2";
39  case Gpio::E6: return "B8 Fan Relay Weak Low Side output 2";
40  default: return nullptr;
41  }
42  return nullptr;
43 }
Gpio
const char * getBoardSpecificPinName(brain_pin_e brainPin)