rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Functions
generated_ts_name_by_pin.cpp File Reference

Functions

const chargetBoardSpecificPinName (brain_pin_e brainPin)
 

Function Documentation

◆ getBoardSpecificPinName()

const char * getBoardSpecificPinName ( brain_pin_e  brainPin)

Definition at line 8 of file generated_ts_name_by_pin.cpp.

8 {
9 switch(brainPin) {
10 case Gpio::PROTECTED_PIN_0: return "Out 1";
11 case Gpio::PROTECTED_PIN_1: return "Out 2";
12 case Gpio::PROTECTED_PIN_2: return "Out 3";
13 case Gpio::PROTECTED_PIN_3: return "Out 4";
14 case Gpio::PROTECTED_PIN_4: return "Out 5";
15 case Gpio::PROTECTED_PIN_5: return "Out 6";
16 case Gpio::PROTECTED_PIN_6: return "Out 7";
17 case Gpio::PROTECTED_PIN_7: return "Out 8";
18 default: return nullptr;
19 }
20 return nullptr;
21}
@ PROTECTED_PIN_1
@ PROTECTED_PIN_5
@ PROTECTED_PIN_0
@ PROTECTED_PIN_3
@ PROTECTED_PIN_4
@ PROTECTED_PIN_7
@ PROTECTED_PIN_2
@ PROTECTED_PIN_6

Go to the source code of this file.