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/alphax-silver-revA/connectors/alphax-silver.yaml
4#include "pch.h"
5
6// see comments at declaration in pin_repository.h
7const char * getBoardSpecificPinName(brain_pin_e brainPin) {
8 switch(brainPin) {
9 case Gpio::A6: return "VR Discrete Positive";
10 case Gpio::B1: return "VR max9924 Positive";
11 case Gpio::C13: return "13A Coil 1";
12 case Gpio::E12: return "25 Hall1 (not while VR max9924)";
13 case Gpio::E13: return "24 Hall2 (not while VR max9924)";
14 case Gpio::E14: return "17 Hall3 (not while descrete VR)";
15 case Gpio::E15: return "16 Hall4 (not while descrete VR)";
16 case Gpio::E3: return "10A Coil 4";
17 case Gpio::E4: return "11A Coil 3";
18 case Gpio::E5: return "12A Coil 2";
19 case Gpio::TLE9104_0_OUT_0: return "4A - Injector 1";
20 case Gpio::TLE9104_0_OUT_1: return "3A - Injector 2";
21 case Gpio::TLE9104_0_OUT_2: return "2A - Injector 3";
22 case Gpio::TLE9104_0_OUT_3: return "1A - Injector 4";
23 case Gpio::TLE9104_1_OUT_0: return "14A Tach Output";
24 case Gpio::TLE9104_1_OUT_1: return "5A Fuel Pump Relay";
25 case Gpio::TLE9104_1_OUT_2: return "6A Idle Output";
26 case Gpio::TLE9104_1_OUT_3: return "28A Fan Relay";
27 default: return nullptr;
28 }
29 return nullptr;
30}
@ TLE9104_0_OUT_0
@ TLE9104_0_OUT_2
@ TLE9104_0_OUT_3
@ TLE9104_1_OUT_0
@ TLE9104_1_OUT_2
@ TLE9104_1_OUT_1
@ TLE9104_0_OUT_1
@ TLE9104_1_OUT_3
const char * getBoardSpecificPinName(brain_pin_e brainPin)