Auto-generated configs and docs
This commit is contained in:
parent
787bba32bd
commit
267abc22e9
|
@ -537,262 +537,7 @@
|
|||
#define GearControllerMode_Generic 2
|
||||
#define GearControllerMode_None 0
|
||||
#define GEARS_COUNT 8
|
||||
#define Gpio_A0 2
|
||||
#define Gpio_A1 3
|
||||
#define Gpio_A10 12
|
||||
#define Gpio_A11 13
|
||||
#define Gpio_A12 14
|
||||
#define Gpio_A13 15
|
||||
#define Gpio_A14 16
|
||||
#define Gpio_A15 17
|
||||
#define Gpio_A2 4
|
||||
#define Gpio_A3 5
|
||||
#define Gpio_A4 6
|
||||
#define Gpio_A5 7
|
||||
#define Gpio_A6 8
|
||||
#define Gpio_A7 9
|
||||
#define Gpio_A8 10
|
||||
#define Gpio_A9 11
|
||||
#define Gpio_auto_enum 0="Unassigned",2="A0",3="A1",12="A10",13="A11",14="A12",15="A13",16="A14",17="A15",4="A2",5="A3",6="A4",7="A5",8="A6",9="A7",10="A8",11="A9",18="B0",19="B1",28="B10",29="B11",30="B12",31="B13",32="B14",33="B15",20="B2",21="B3",22="B4",23="B5",24="B6",25="B7",26="B8",27="B9",34="C0",35="C1",44="C10",45="C11",46="C12",47="C13",48="C14",49="C15",36="C2",37="C3",38="C4",39="C5",40="C6",41="C7",42="C8",43="C9",249="CAN_PIN_0",250="CAN_PIN_1",251="CAN_PIN_2",252="CAN_PIN_3",253="CAN_PIN_4",254="CAN_PIN_5",255="CAN_PIN_6",256="CAN_PIN_7",50="D0",51="D1",60="D10",61="D11",62="D12",63="D13",64="D14",65="D15",52="D2",53="D3",54="D4",55="D5",56="D6",57="D7",58="D8",59="D9",66="E0",67="E1",76="E10",77="E11",78="E12",79="E13",80="E14",81="E15",68="E2",69="E3",70="E4",71="E5",72="E6",73="E7",74="E8",75="E9",82="F0",83="F1",92="F10",93="F11",94="F12",95="F13",96="F14",97="F15",84="F2",85="F3",86="F4",87="F5",88="F6",89="F7",90="F8",91="F9",98="G0",99="G1",108="G10",109="G11",110="G12",111="G13",112="G14",113="G15",100="G2",101="G3",102="G4",103="G5",104="G6",105="G7",106="G8",107="G9",114="H0",115="H1",124="H10",125="H11",126="H12",127="H13",128="H14",129="H15",116="H2",117="H3",118="H4",119="H5",120="H6",121="H7",122="H8",123="H9",130="I0",131="I1",140="I10",141="I11",142="I12",143="I13",144="I14",145="I15",132="I2",133="I3",134="I4",135="I5",136="I6",137="I7",138="I8",139="I9",1="Invalid",215="L9779_IGN_1",216="L9779_IGN_2",217="L9779_IGN_3",218="L9779_IGN_4",219="L9779_OUT_1",228="L9779_OUT_10",229="L9779_OUT_11",230="L9779_OUT_12",231="L9779_OUT_13",232="L9779_OUT_14",233="L9779_OUT_15",234="L9779_OUT_16",235="L9779_OUT_17",236="L9779_OUT_18",237="L9779_OUT_19",220="L9779_OUT_2",238="L9779_OUT_20",243="L9779_OUT_25",244="L9779_OUT_26",245="L9779_OUT_27",246="L9779_OUT_28",221="L9779_OUT_3",222="L9779_OUT_4",223="L9779_OUT_5",224="L9779_OUT_6",225="L9779_OUT_7",226="L9779_OUT_8",227="L9779_OUT_9",239="L9779_OUT_A",240="L9779_OUT_B",241="L9779_OUT_C",242="L9779_OUT_D",247="L9779_OUT_MRD",248="L9779_PIN_KEY",146="MC33972_PIN_1",166="MC33972_PIN_21",167="MC33972_PIN_22",257="PROTECTED_PIN_0",258="PROTECTED_PIN_1",267="PROTECTED_PIN_10",268="PROTECTED_PIN_11",269="PROTECTED_PIN_12",270="PROTECTED_PIN_13",271="PROTECTED_PIN_14",272="PROTECTED_PIN_15",259="PROTECTED_PIN_2",260="PROTECTED_PIN_3",261="PROTECTED_PIN_4",262="PROTECTED_PIN_5",263="PROTECTED_PIN_6",264="PROTECTED_PIN_7",265="PROTECTED_PIN_8",266="PROTECTED_PIN_9",199="TLE6240_PIN_1",208="TLE6240_PIN_10",209="TLE6240_PIN_11",210="TLE6240_PIN_12",211="TLE6240_PIN_13",212="TLE6240_PIN_14",213="TLE6240_PIN_15",214="TLE6240_PIN_16",200="TLE6240_PIN_2",201="TLE6240_PIN_3",202="TLE6240_PIN_4",203="TLE6240_PIN_5",204="TLE6240_PIN_6",205="TLE6240_PIN_7",206="TLE6240_PIN_8",207="TLE6240_PIN_9",168="TLE8888_PIN_1",177="TLE8888_PIN_10",178="TLE8888_PIN_11",179="TLE8888_PIN_12",180="TLE8888_PIN_13",181="TLE8888_PIN_14",182="TLE8888_PIN_15",183="TLE8888_PIN_16",184="TLE8888_PIN_17",185="TLE8888_PIN_18",186="TLE8888_PIN_19",169="TLE8888_PIN_2",187="TLE8888_PIN_20",188="TLE8888_PIN_21",189="TLE8888_PIN_22",190="TLE8888_PIN_23",191="TLE8888_PIN_24",192="TLE8888_PIN_25",193="TLE8888_PIN_26",194="TLE8888_PIN_27",195="TLE8888_PIN_28",170="TLE8888_PIN_3",171="TLE8888_PIN_4",172="TLE8888_PIN_5",173="TLE8888_PIN_6",174="TLE8888_PIN_7",175="TLE8888_PIN_8",176="TLE8888_PIN_9",197="TLE8888_PIN_KEY",196="TLE8888_PIN_MR",198="TLE8888_PIN_WAKE"
|
||||
#define Gpio_B0 18
|
||||
#define Gpio_B1 19
|
||||
#define Gpio_B10 28
|
||||
#define Gpio_B11 29
|
||||
#define Gpio_B12 30
|
||||
#define Gpio_B13 31
|
||||
#define Gpio_B14 32
|
||||
#define Gpio_B15 33
|
||||
#define Gpio_B2 20
|
||||
#define Gpio_B3 21
|
||||
#define Gpio_B4 22
|
||||
#define Gpio_B5 23
|
||||
#define Gpio_B6 24
|
||||
#define Gpio_B7 25
|
||||
#define Gpio_B8 26
|
||||
#define Gpio_B9 27
|
||||
#define Gpio_C0 34
|
||||
#define Gpio_C1 35
|
||||
#define Gpio_C10 44
|
||||
#define Gpio_C11 45
|
||||
#define Gpio_C12 46
|
||||
#define Gpio_C13 47
|
||||
#define Gpio_C14 48
|
||||
#define Gpio_C15 49
|
||||
#define Gpio_C2 36
|
||||
#define Gpio_C3 37
|
||||
#define Gpio_C4 38
|
||||
#define Gpio_C5 39
|
||||
#define Gpio_C6 40
|
||||
#define Gpio_C7 41
|
||||
#define Gpio_C8 42
|
||||
#define Gpio_C9 43
|
||||
#define Gpio_CAN_PIN_0 249
|
||||
#define Gpio_CAN_PIN_1 250
|
||||
#define Gpio_CAN_PIN_2 251
|
||||
#define Gpio_CAN_PIN_3 252
|
||||
#define Gpio_CAN_PIN_4 253
|
||||
#define Gpio_CAN_PIN_5 254
|
||||
#define Gpio_CAN_PIN_6 255
|
||||
#define Gpio_CAN_PIN_7 256
|
||||
#define Gpio_D0 50
|
||||
#define Gpio_D1 51
|
||||
#define Gpio_D10 60
|
||||
#define Gpio_D11 61
|
||||
#define Gpio_D12 62
|
||||
#define Gpio_D13 63
|
||||
#define Gpio_D14 64
|
||||
#define Gpio_D15 65
|
||||
#define Gpio_D2 52
|
||||
#define Gpio_D3 53
|
||||
#define Gpio_D4 54
|
||||
#define Gpio_D5 55
|
||||
#define Gpio_D6 56
|
||||
#define Gpio_D7 57
|
||||
#define Gpio_D8 58
|
||||
#define Gpio_D9 59
|
||||
#define Gpio_E0 66
|
||||
#define Gpio_E1 67
|
||||
#define Gpio_E10 76
|
||||
#define Gpio_E11 77
|
||||
#define Gpio_E12 78
|
||||
#define Gpio_E13 79
|
||||
#define Gpio_E14 80
|
||||
#define Gpio_E15 81
|
||||
#define Gpio_E2 68
|
||||
#define Gpio_E3 69
|
||||
#define Gpio_E4 70
|
||||
#define Gpio_E5 71
|
||||
#define Gpio_E6 72
|
||||
#define Gpio_E7 73
|
||||
#define Gpio_E8 74
|
||||
#define Gpio_E9 75
|
||||
#define Gpio_enum "NONE", "INVALID", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PA8", "PA9", "PA10", "PA11", "PA12", "PA13", "PA14", "PA15", "PB0", "PB1", "PB2", "PB3", "PB4", "PB5", "PB6", "PB7", "PB8", "PB9", "PB10", "PB11", "PB12", "PB13", "PB14", "PB15", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5", "PC6", "PC7", "PC8", "PC9", "PC10", "PC11", "PC12", "PC13", "PC14", "PC15", "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD9", "PD10", "PD11", "PD12", "PD13", "PD14", "PD15", "PE0", "PE1", "PE2", "PE3", "PE4", "PE5", "PE6", "PE7", "PE8", "PE9", "PE10", "PE11", "PE12", "PE13", "PE14", "PE15", "PF0", "PF1", "PF2", "PF3", "PF4", "PF5", "PF6", "PF7", "PF8", "PF9", "PF10", "PF11", "PF12", "PF13", "PF14", "PF15", "PG0", "PG1", "PG2", "PG3", "PG4", "PG5", "PG6", "PG7", "PG8", "PG9", "PG10", "PG11", "PG12", "PG13", "PG14", "PG15", "PH0", "PH1", "PH2", "PH3", "PH4", "PH5", "PH6", "PH7", "PH8", "PH9", "PH10", "PH11", "PH12", "PH13", "PH14", "PH15", "PI0", "PI1", "PI2", "PI3", "PI4", "PI5", "PI6", "PI7", "PI8", "PI9", "PI10", "PI11", "PI12", "PI13", "PI14", "PI15"
|
||||
#define Gpio_F0 82
|
||||
#define Gpio_F1 83
|
||||
#define Gpio_F10 92
|
||||
#define Gpio_F11 93
|
||||
#define Gpio_F12 94
|
||||
#define Gpio_F13 95
|
||||
#define Gpio_F14 96
|
||||
#define Gpio_F15 97
|
||||
#define Gpio_F2 84
|
||||
#define Gpio_F3 85
|
||||
#define Gpio_F4 86
|
||||
#define Gpio_F5 87
|
||||
#define Gpio_F6 88
|
||||
#define Gpio_F7 89
|
||||
#define Gpio_F8 90
|
||||
#define Gpio_F9 91
|
||||
#define Gpio_G0 98
|
||||
#define Gpio_G1 99
|
||||
#define Gpio_G10 108
|
||||
#define Gpio_G11 109
|
||||
#define Gpio_G12 110
|
||||
#define Gpio_G13 111
|
||||
#define Gpio_G14 112
|
||||
#define Gpio_G15 113
|
||||
#define Gpio_G2 100
|
||||
#define Gpio_G3 101
|
||||
#define Gpio_G4 102
|
||||
#define Gpio_G5 103
|
||||
#define Gpio_G6 104
|
||||
#define Gpio_G7 105
|
||||
#define Gpio_G8 106
|
||||
#define Gpio_G9 107
|
||||
#define Gpio_H0 114
|
||||
#define Gpio_H1 115
|
||||
#define Gpio_H10 124
|
||||
#define Gpio_H11 125
|
||||
#define Gpio_H12 126
|
||||
#define Gpio_H13 127
|
||||
#define Gpio_H14 128
|
||||
#define Gpio_H15 129
|
||||
#define Gpio_H2 116
|
||||
#define Gpio_H3 117
|
||||
#define Gpio_H4 118
|
||||
#define Gpio_H5 119
|
||||
#define Gpio_H6 120
|
||||
#define Gpio_H7 121
|
||||
#define Gpio_H8 122
|
||||
#define Gpio_H9 123
|
||||
#define Gpio_I0 130
|
||||
#define Gpio_I1 131
|
||||
#define Gpio_I10 140
|
||||
#define Gpio_I11 141
|
||||
#define Gpio_I12 142
|
||||
#define Gpio_I13 143
|
||||
#define Gpio_I14 144
|
||||
#define Gpio_I15 145
|
||||
#define Gpio_I2 132
|
||||
#define Gpio_I3 133
|
||||
#define Gpio_I4 134
|
||||
#define Gpio_I5 135
|
||||
#define Gpio_I6 136
|
||||
#define Gpio_I7 137
|
||||
#define Gpio_I8 138
|
||||
#define Gpio_I9 139
|
||||
#define Gpio_Invalid 1
|
||||
#define Gpio_L9779_IGN_1 215
|
||||
#define Gpio_L9779_IGN_2 216
|
||||
#define Gpio_L9779_IGN_3 217
|
||||
#define Gpio_L9779_IGN_4 218
|
||||
#define Gpio_L9779_OUT_1 219
|
||||
#define Gpio_L9779_OUT_10 228
|
||||
#define Gpio_L9779_OUT_11 229
|
||||
#define Gpio_L9779_OUT_12 230
|
||||
#define Gpio_L9779_OUT_13 231
|
||||
#define Gpio_L9779_OUT_14 232
|
||||
#define Gpio_L9779_OUT_15 233
|
||||
#define Gpio_L9779_OUT_16 234
|
||||
#define Gpio_L9779_OUT_17 235
|
||||
#define Gpio_L9779_OUT_18 236
|
||||
#define Gpio_L9779_OUT_19 237
|
||||
#define Gpio_L9779_OUT_2 220
|
||||
#define Gpio_L9779_OUT_20 238
|
||||
#define Gpio_L9779_OUT_25 243
|
||||
#define Gpio_L9779_OUT_26 244
|
||||
#define Gpio_L9779_OUT_27 245
|
||||
#define Gpio_L9779_OUT_28 246
|
||||
#define Gpio_L9779_OUT_3 221
|
||||
#define Gpio_L9779_OUT_4 222
|
||||
#define Gpio_L9779_OUT_5 223
|
||||
#define Gpio_L9779_OUT_6 224
|
||||
#define Gpio_L9779_OUT_7 225
|
||||
#define Gpio_L9779_OUT_8 226
|
||||
#define Gpio_L9779_OUT_9 227
|
||||
#define Gpio_L9779_OUT_A 239
|
||||
#define Gpio_L9779_OUT_B 240
|
||||
#define Gpio_L9779_OUT_C 241
|
||||
#define Gpio_L9779_OUT_D 242
|
||||
#define Gpio_L9779_OUT_MRD 247
|
||||
#define Gpio_L9779_PIN_KEY 248
|
||||
#define Gpio_MC33972_PIN_1 146
|
||||
#define Gpio_MC33972_PIN_21 166
|
||||
#define Gpio_MC33972_PIN_22 167
|
||||
#define Gpio_PROTECTED_PIN_0 257
|
||||
#define Gpio_PROTECTED_PIN_1 258
|
||||
#define Gpio_PROTECTED_PIN_10 267
|
||||
#define Gpio_PROTECTED_PIN_11 268
|
||||
#define Gpio_PROTECTED_PIN_12 269
|
||||
#define Gpio_PROTECTED_PIN_13 270
|
||||
#define Gpio_PROTECTED_PIN_14 271
|
||||
#define Gpio_PROTECTED_PIN_15 272
|
||||
#define Gpio_PROTECTED_PIN_2 259
|
||||
#define Gpio_PROTECTED_PIN_3 260
|
||||
#define Gpio_PROTECTED_PIN_4 261
|
||||
#define Gpio_PROTECTED_PIN_5 262
|
||||
#define Gpio_PROTECTED_PIN_6 263
|
||||
#define Gpio_PROTECTED_PIN_7 264
|
||||
#define Gpio_PROTECTED_PIN_8 265
|
||||
#define Gpio_PROTECTED_PIN_9 266
|
||||
#define Gpio_TLE6240_PIN_1 199
|
||||
#define Gpio_TLE6240_PIN_10 208
|
||||
#define Gpio_TLE6240_PIN_11 209
|
||||
#define Gpio_TLE6240_PIN_12 210
|
||||
#define Gpio_TLE6240_PIN_13 211
|
||||
#define Gpio_TLE6240_PIN_14 212
|
||||
#define Gpio_TLE6240_PIN_15 213
|
||||
#define Gpio_TLE6240_PIN_16 214
|
||||
#define Gpio_TLE6240_PIN_2 200
|
||||
#define Gpio_TLE6240_PIN_3 201
|
||||
#define Gpio_TLE6240_PIN_4 202
|
||||
#define Gpio_TLE6240_PIN_5 203
|
||||
#define Gpio_TLE6240_PIN_6 204
|
||||
#define Gpio_TLE6240_PIN_7 205
|
||||
#define Gpio_TLE6240_PIN_8 206
|
||||
#define Gpio_TLE6240_PIN_9 207
|
||||
#define Gpio_TLE8888_PIN_1 168
|
||||
#define Gpio_TLE8888_PIN_10 177
|
||||
#define Gpio_TLE8888_PIN_11 178
|
||||
#define Gpio_TLE8888_PIN_12 179
|
||||
#define Gpio_TLE8888_PIN_13 180
|
||||
#define Gpio_TLE8888_PIN_14 181
|
||||
#define Gpio_TLE8888_PIN_15 182
|
||||
#define Gpio_TLE8888_PIN_16 183
|
||||
#define Gpio_TLE8888_PIN_17 184
|
||||
#define Gpio_TLE8888_PIN_18 185
|
||||
#define Gpio_TLE8888_PIN_19 186
|
||||
#define Gpio_TLE8888_PIN_2 169
|
||||
#define Gpio_TLE8888_PIN_20 187
|
||||
#define Gpio_TLE8888_PIN_21 188
|
||||
#define Gpio_TLE8888_PIN_22 189
|
||||
#define Gpio_TLE8888_PIN_23 190
|
||||
#define Gpio_TLE8888_PIN_24 191
|
||||
#define Gpio_TLE8888_PIN_25 192
|
||||
#define Gpio_TLE8888_PIN_26 193
|
||||
#define Gpio_TLE8888_PIN_27 194
|
||||
#define Gpio_TLE8888_PIN_28 195
|
||||
#define Gpio_TLE8888_PIN_3 170
|
||||
#define Gpio_TLE8888_PIN_4 171
|
||||
#define Gpio_TLE8888_PIN_5 172
|
||||
#define Gpio_TLE8888_PIN_6 173
|
||||
#define Gpio_TLE8888_PIN_7 174
|
||||
#define Gpio_TLE8888_PIN_8 175
|
||||
#define Gpio_TLE8888_PIN_9 176
|
||||
#define Gpio_TLE8888_PIN_KEY 197
|
||||
#define Gpio_TLE8888_PIN_MR 196
|
||||
#define Gpio_TLE8888_PIN_WAKE 198
|
||||
#define Gpio_Unassigned 0
|
||||
#define gppwm_channel_e_auto_enum 0="GPPWM_Zero",9="GPPWM_AccelPedal",16="GPPWM_AuxLinear1",17="GPPWM_AuxLinear2",7="GPPWM_AuxTemp1",8="GPPWM_AuxTemp2",3="GPPWM_Clt",25="GPPWM_DetectedGear",15="GPPWM_EthanolPercent",5="GPPWM_FuelLoad",18="GPPWM_GppwmOutput1",19="GPPWM_GppwmOutput2",20="GPPWM_GppwmOutput3",21="GPPWM_GppwmOutput4",4="GPPWM_Iat",6="GPPWM_IgnLoad",22="GPPWM_LuaGauge1",23="GPPWM_LuaGauge2",2="GPPWM_Map",24="GPPWM_Rpm",1="GPPWM_Tps",12="GPPWM_VVT_1E",11="GPPWM_VVT_1I",14="GPPWM_VVT_2E",13="GPPWM_VVT_2I",10="GPPWM_Vbatt"
|
||||
#define gppwm_channel_e_enum "Zero", "TPS", "MAP", "CLT", "IAT", "Fuel Load", "Ignition Load", "Aux Temp 1", "Aux Temp 2", "Accel Pedal", "Battery Voltage", "VVT 1 I", "VVT 1 E", "VVT 2 I", "VVT 2 E", "Ethanol (Flex) %", "Aux Linear 1", "Aux Linear 2", "GPPWM Output 1", "GPPWM Output 2", "GPPWM Output 3", "GPPWM Output 4", "Lua Gauge 1", "Lua Gauge 2", "RPM", "Gear (detected)"
|
||||
#define gppwm_channel_e_GPPWM_AccelPedal 9
|
||||
|
|
|
@ -537,262 +537,7 @@
|
|||
#define GearControllerMode_Generic 2
|
||||
#define GearControllerMode_None 0
|
||||
#define GEARS_COUNT 8
|
||||
#define Gpio_A0 2
|
||||
#define Gpio_A1 3
|
||||
#define Gpio_A10 12
|
||||
#define Gpio_A11 13
|
||||
#define Gpio_A12 14
|
||||
#define Gpio_A13 15
|
||||
#define Gpio_A14 16
|
||||
#define Gpio_A15 17
|
||||
#define Gpio_A2 4
|
||||
#define Gpio_A3 5
|
||||
#define Gpio_A4 6
|
||||
#define Gpio_A5 7
|
||||
#define Gpio_A6 8
|
||||
#define Gpio_A7 9
|
||||
#define Gpio_A8 10
|
||||
#define Gpio_A9 11
|
||||
#define Gpio_auto_enum 0="Unassigned",2="A0",3="A1",12="A10",13="A11",14="A12",15="A13",16="A14",17="A15",4="A2",5="A3",6="A4",7="A5",8="A6",9="A7",10="A8",11="A9",18="B0",19="B1",28="B10",29="B11",30="B12",31="B13",32="B14",33="B15",20="B2",21="B3",22="B4",23="B5",24="B6",25="B7",26="B8",27="B9",34="C0",35="C1",44="C10",45="C11",46="C12",47="C13",48="C14",49="C15",36="C2",37="C3",38="C4",39="C5",40="C6",41="C7",42="C8",43="C9",249="CAN_PIN_0",250="CAN_PIN_1",251="CAN_PIN_2",252="CAN_PIN_3",253="CAN_PIN_4",254="CAN_PIN_5",255="CAN_PIN_6",256="CAN_PIN_7",50="D0",51="D1",60="D10",61="D11",62="D12",63="D13",64="D14",65="D15",52="D2",53="D3",54="D4",55="D5",56="D6",57="D7",58="D8",59="D9",66="E0",67="E1",76="E10",77="E11",78="E12",79="E13",80="E14",81="E15",68="E2",69="E3",70="E4",71="E5",72="E6",73="E7",74="E8",75="E9",82="F0",83="F1",92="F10",93="F11",94="F12",95="F13",96="F14",97="F15",84="F2",85="F3",86="F4",87="F5",88="F6",89="F7",90="F8",91="F9",98="G0",99="G1",108="G10",109="G11",110="G12",111="G13",112="G14",113="G15",100="G2",101="G3",102="G4",103="G5",104="G6",105="G7",106="G8",107="G9",114="H0",115="H1",124="H10",125="H11",126="H12",127="H13",128="H14",129="H15",116="H2",117="H3",118="H4",119="H5",120="H6",121="H7",122="H8",123="H9",130="I0",131="I1",140="I10",141="I11",142="I12",143="I13",144="I14",145="I15",132="I2",133="I3",134="I4",135="I5",136="I6",137="I7",138="I8",139="I9",1="Invalid",215="L9779_IGN_1",216="L9779_IGN_2",217="L9779_IGN_3",218="L9779_IGN_4",219="L9779_OUT_1",228="L9779_OUT_10",229="L9779_OUT_11",230="L9779_OUT_12",231="L9779_OUT_13",232="L9779_OUT_14",233="L9779_OUT_15",234="L9779_OUT_16",235="L9779_OUT_17",236="L9779_OUT_18",237="L9779_OUT_19",220="L9779_OUT_2",238="L9779_OUT_20",243="L9779_OUT_25",244="L9779_OUT_26",245="L9779_OUT_27",246="L9779_OUT_28",221="L9779_OUT_3",222="L9779_OUT_4",223="L9779_OUT_5",224="L9779_OUT_6",225="L9779_OUT_7",226="L9779_OUT_8",227="L9779_OUT_9",239="L9779_OUT_A",240="L9779_OUT_B",241="L9779_OUT_C",242="L9779_OUT_D",247="L9779_OUT_MRD",248="L9779_PIN_KEY",146="MC33972_PIN_1",166="MC33972_PIN_21",167="MC33972_PIN_22",257="PROTECTED_PIN_0",258="PROTECTED_PIN_1",267="PROTECTED_PIN_10",268="PROTECTED_PIN_11",269="PROTECTED_PIN_12",270="PROTECTED_PIN_13",271="PROTECTED_PIN_14",272="PROTECTED_PIN_15",259="PROTECTED_PIN_2",260="PROTECTED_PIN_3",261="PROTECTED_PIN_4",262="PROTECTED_PIN_5",263="PROTECTED_PIN_6",264="PROTECTED_PIN_7",265="PROTECTED_PIN_8",266="PROTECTED_PIN_9",199="TLE6240_PIN_1",208="TLE6240_PIN_10",209="TLE6240_PIN_11",210="TLE6240_PIN_12",211="TLE6240_PIN_13",212="TLE6240_PIN_14",213="TLE6240_PIN_15",214="TLE6240_PIN_16",200="TLE6240_PIN_2",201="TLE6240_PIN_3",202="TLE6240_PIN_4",203="TLE6240_PIN_5",204="TLE6240_PIN_6",205="TLE6240_PIN_7",206="TLE6240_PIN_8",207="TLE6240_PIN_9",168="TLE8888_PIN_1",177="TLE8888_PIN_10",178="TLE8888_PIN_11",179="TLE8888_PIN_12",180="TLE8888_PIN_13",181="TLE8888_PIN_14",182="TLE8888_PIN_15",183="TLE8888_PIN_16",184="TLE8888_PIN_17",185="TLE8888_PIN_18",186="TLE8888_PIN_19",169="TLE8888_PIN_2",187="TLE8888_PIN_20",188="TLE8888_PIN_21",189="TLE8888_PIN_22",190="TLE8888_PIN_23",191="TLE8888_PIN_24",192="TLE8888_PIN_25",193="TLE8888_PIN_26",194="TLE8888_PIN_27",195="TLE8888_PIN_28",170="TLE8888_PIN_3",171="TLE8888_PIN_4",172="TLE8888_PIN_5",173="TLE8888_PIN_6",174="TLE8888_PIN_7",175="TLE8888_PIN_8",176="TLE8888_PIN_9",197="TLE8888_PIN_KEY",196="TLE8888_PIN_MR",198="TLE8888_PIN_WAKE"
|
||||
#define Gpio_B0 18
|
||||
#define Gpio_B1 19
|
||||
#define Gpio_B10 28
|
||||
#define Gpio_B11 29
|
||||
#define Gpio_B12 30
|
||||
#define Gpio_B13 31
|
||||
#define Gpio_B14 32
|
||||
#define Gpio_B15 33
|
||||
#define Gpio_B2 20
|
||||
#define Gpio_B3 21
|
||||
#define Gpio_B4 22
|
||||
#define Gpio_B5 23
|
||||
#define Gpio_B6 24
|
||||
#define Gpio_B7 25
|
||||
#define Gpio_B8 26
|
||||
#define Gpio_B9 27
|
||||
#define Gpio_C0 34
|
||||
#define Gpio_C1 35
|
||||
#define Gpio_C10 44
|
||||
#define Gpio_C11 45
|
||||
#define Gpio_C12 46
|
||||
#define Gpio_C13 47
|
||||
#define Gpio_C14 48
|
||||
#define Gpio_C15 49
|
||||
#define Gpio_C2 36
|
||||
#define Gpio_C3 37
|
||||
#define Gpio_C4 38
|
||||
#define Gpio_C5 39
|
||||
#define Gpio_C6 40
|
||||
#define Gpio_C7 41
|
||||
#define Gpio_C8 42
|
||||
#define Gpio_C9 43
|
||||
#define Gpio_CAN_PIN_0 249
|
||||
#define Gpio_CAN_PIN_1 250
|
||||
#define Gpio_CAN_PIN_2 251
|
||||
#define Gpio_CAN_PIN_3 252
|
||||
#define Gpio_CAN_PIN_4 253
|
||||
#define Gpio_CAN_PIN_5 254
|
||||
#define Gpio_CAN_PIN_6 255
|
||||
#define Gpio_CAN_PIN_7 256
|
||||
#define Gpio_D0 50
|
||||
#define Gpio_D1 51
|
||||
#define Gpio_D10 60
|
||||
#define Gpio_D11 61
|
||||
#define Gpio_D12 62
|
||||
#define Gpio_D13 63
|
||||
#define Gpio_D14 64
|
||||
#define Gpio_D15 65
|
||||
#define Gpio_D2 52
|
||||
#define Gpio_D3 53
|
||||
#define Gpio_D4 54
|
||||
#define Gpio_D5 55
|
||||
#define Gpio_D6 56
|
||||
#define Gpio_D7 57
|
||||
#define Gpio_D8 58
|
||||
#define Gpio_D9 59
|
||||
#define Gpio_E0 66
|
||||
#define Gpio_E1 67
|
||||
#define Gpio_E10 76
|
||||
#define Gpio_E11 77
|
||||
#define Gpio_E12 78
|
||||
#define Gpio_E13 79
|
||||
#define Gpio_E14 80
|
||||
#define Gpio_E15 81
|
||||
#define Gpio_E2 68
|
||||
#define Gpio_E3 69
|
||||
#define Gpio_E4 70
|
||||
#define Gpio_E5 71
|
||||
#define Gpio_E6 72
|
||||
#define Gpio_E7 73
|
||||
#define Gpio_E8 74
|
||||
#define Gpio_E9 75
|
||||
#define Gpio_enum "NONE", "INVALID", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PA8", "PA9", "PA10", "PA11", "PA12", "PA13", "PA14", "PA15", "PA16", "PA17", "PB0", "PB1", "PB2", "PB3", "PB4", "PB5", "PB6", "PB7", "PB8", "PB9", "PB10", "PB11", "PB12", "PB13", "PB14", "PB15", "PB16", "PB17", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5", "PC6", "PC7", "PC8", "PC9", "PC10", "PC11", "PC12", "PC13", "PC14", "PC15", "PC16", "PC17", "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD9", "PD10", "PD11", "PD12", "PD13", "PD14", "PD15", "PD16", "PD17", "PE0", "PE1", "PE2", "PE3", "PE4", "PE5", "PE6", "PE7", "PE8", "PE9", "PE10", "PE11", "PE12", "PE13", "PE14", "PE15", "PE16", "PE17", "TLE6240_1", "TLE6240_2", "TLE6240_3", "TLE6240_4", "TLE6240_5", "TLE6240_6", "TLE6240_7", "TLE6240_8", "TLE6240_9", "TLE6240_10", "TLE6240_11", "TLE6240_12", "TLE6240_13", "TLE6240_14", "TLE6240_15", "TLE6240_16"
|
||||
#define Gpio_F0 82
|
||||
#define Gpio_F1 83
|
||||
#define Gpio_F10 92
|
||||
#define Gpio_F11 93
|
||||
#define Gpio_F12 94
|
||||
#define Gpio_F13 95
|
||||
#define Gpio_F14 96
|
||||
#define Gpio_F15 97
|
||||
#define Gpio_F2 84
|
||||
#define Gpio_F3 85
|
||||
#define Gpio_F4 86
|
||||
#define Gpio_F5 87
|
||||
#define Gpio_F6 88
|
||||
#define Gpio_F7 89
|
||||
#define Gpio_F8 90
|
||||
#define Gpio_F9 91
|
||||
#define Gpio_G0 98
|
||||
#define Gpio_G1 99
|
||||
#define Gpio_G10 108
|
||||
#define Gpio_G11 109
|
||||
#define Gpio_G12 110
|
||||
#define Gpio_G13 111
|
||||
#define Gpio_G14 112
|
||||
#define Gpio_G15 113
|
||||
#define Gpio_G2 100
|
||||
#define Gpio_G3 101
|
||||
#define Gpio_G4 102
|
||||
#define Gpio_G5 103
|
||||
#define Gpio_G6 104
|
||||
#define Gpio_G7 105
|
||||
#define Gpio_G8 106
|
||||
#define Gpio_G9 107
|
||||
#define Gpio_H0 114
|
||||
#define Gpio_H1 115
|
||||
#define Gpio_H10 124
|
||||
#define Gpio_H11 125
|
||||
#define Gpio_H12 126
|
||||
#define Gpio_H13 127
|
||||
#define Gpio_H14 128
|
||||
#define Gpio_H15 129
|
||||
#define Gpio_H2 116
|
||||
#define Gpio_H3 117
|
||||
#define Gpio_H4 118
|
||||
#define Gpio_H5 119
|
||||
#define Gpio_H6 120
|
||||
#define Gpio_H7 121
|
||||
#define Gpio_H8 122
|
||||
#define Gpio_H9 123
|
||||
#define Gpio_I0 130
|
||||
#define Gpio_I1 131
|
||||
#define Gpio_I10 140
|
||||
#define Gpio_I11 141
|
||||
#define Gpio_I12 142
|
||||
#define Gpio_I13 143
|
||||
#define Gpio_I14 144
|
||||
#define Gpio_I15 145
|
||||
#define Gpio_I2 132
|
||||
#define Gpio_I3 133
|
||||
#define Gpio_I4 134
|
||||
#define Gpio_I5 135
|
||||
#define Gpio_I6 136
|
||||
#define Gpio_I7 137
|
||||
#define Gpio_I8 138
|
||||
#define Gpio_I9 139
|
||||
#define Gpio_Invalid 1
|
||||
#define Gpio_L9779_IGN_1 215
|
||||
#define Gpio_L9779_IGN_2 216
|
||||
#define Gpio_L9779_IGN_3 217
|
||||
#define Gpio_L9779_IGN_4 218
|
||||
#define Gpio_L9779_OUT_1 219
|
||||
#define Gpio_L9779_OUT_10 228
|
||||
#define Gpio_L9779_OUT_11 229
|
||||
#define Gpio_L9779_OUT_12 230
|
||||
#define Gpio_L9779_OUT_13 231
|
||||
#define Gpio_L9779_OUT_14 232
|
||||
#define Gpio_L9779_OUT_15 233
|
||||
#define Gpio_L9779_OUT_16 234
|
||||
#define Gpio_L9779_OUT_17 235
|
||||
#define Gpio_L9779_OUT_18 236
|
||||
#define Gpio_L9779_OUT_19 237
|
||||
#define Gpio_L9779_OUT_2 220
|
||||
#define Gpio_L9779_OUT_20 238
|
||||
#define Gpio_L9779_OUT_25 243
|
||||
#define Gpio_L9779_OUT_26 244
|
||||
#define Gpio_L9779_OUT_27 245
|
||||
#define Gpio_L9779_OUT_28 246
|
||||
#define Gpio_L9779_OUT_3 221
|
||||
#define Gpio_L9779_OUT_4 222
|
||||
#define Gpio_L9779_OUT_5 223
|
||||
#define Gpio_L9779_OUT_6 224
|
||||
#define Gpio_L9779_OUT_7 225
|
||||
#define Gpio_L9779_OUT_8 226
|
||||
#define Gpio_L9779_OUT_9 227
|
||||
#define Gpio_L9779_OUT_A 239
|
||||
#define Gpio_L9779_OUT_B 240
|
||||
#define Gpio_L9779_OUT_C 241
|
||||
#define Gpio_L9779_OUT_D 242
|
||||
#define Gpio_L9779_OUT_MRD 247
|
||||
#define Gpio_L9779_PIN_KEY 248
|
||||
#define Gpio_MC33972_PIN_1 146
|
||||
#define Gpio_MC33972_PIN_21 166
|
||||
#define Gpio_MC33972_PIN_22 167
|
||||
#define Gpio_PROTECTED_PIN_0 257
|
||||
#define Gpio_PROTECTED_PIN_1 258
|
||||
#define Gpio_PROTECTED_PIN_10 267
|
||||
#define Gpio_PROTECTED_PIN_11 268
|
||||
#define Gpio_PROTECTED_PIN_12 269
|
||||
#define Gpio_PROTECTED_PIN_13 270
|
||||
#define Gpio_PROTECTED_PIN_14 271
|
||||
#define Gpio_PROTECTED_PIN_15 272
|
||||
#define Gpio_PROTECTED_PIN_2 259
|
||||
#define Gpio_PROTECTED_PIN_3 260
|
||||
#define Gpio_PROTECTED_PIN_4 261
|
||||
#define Gpio_PROTECTED_PIN_5 262
|
||||
#define Gpio_PROTECTED_PIN_6 263
|
||||
#define Gpio_PROTECTED_PIN_7 264
|
||||
#define Gpio_PROTECTED_PIN_8 265
|
||||
#define Gpio_PROTECTED_PIN_9 266
|
||||
#define Gpio_TLE6240_PIN_1 199
|
||||
#define Gpio_TLE6240_PIN_10 208
|
||||
#define Gpio_TLE6240_PIN_11 209
|
||||
#define Gpio_TLE6240_PIN_12 210
|
||||
#define Gpio_TLE6240_PIN_13 211
|
||||
#define Gpio_TLE6240_PIN_14 212
|
||||
#define Gpio_TLE6240_PIN_15 213
|
||||
#define Gpio_TLE6240_PIN_16 214
|
||||
#define Gpio_TLE6240_PIN_2 200
|
||||
#define Gpio_TLE6240_PIN_3 201
|
||||
#define Gpio_TLE6240_PIN_4 202
|
||||
#define Gpio_TLE6240_PIN_5 203
|
||||
#define Gpio_TLE6240_PIN_6 204
|
||||
#define Gpio_TLE6240_PIN_7 205
|
||||
#define Gpio_TLE6240_PIN_8 206
|
||||
#define Gpio_TLE6240_PIN_9 207
|
||||
#define Gpio_TLE8888_PIN_1 168
|
||||
#define Gpio_TLE8888_PIN_10 177
|
||||
#define Gpio_TLE8888_PIN_11 178
|
||||
#define Gpio_TLE8888_PIN_12 179
|
||||
#define Gpio_TLE8888_PIN_13 180
|
||||
#define Gpio_TLE8888_PIN_14 181
|
||||
#define Gpio_TLE8888_PIN_15 182
|
||||
#define Gpio_TLE8888_PIN_16 183
|
||||
#define Gpio_TLE8888_PIN_17 184
|
||||
#define Gpio_TLE8888_PIN_18 185
|
||||
#define Gpio_TLE8888_PIN_19 186
|
||||
#define Gpio_TLE8888_PIN_2 169
|
||||
#define Gpio_TLE8888_PIN_20 187
|
||||
#define Gpio_TLE8888_PIN_21 188
|
||||
#define Gpio_TLE8888_PIN_22 189
|
||||
#define Gpio_TLE8888_PIN_23 190
|
||||
#define Gpio_TLE8888_PIN_24 191
|
||||
#define Gpio_TLE8888_PIN_25 192
|
||||
#define Gpio_TLE8888_PIN_26 193
|
||||
#define Gpio_TLE8888_PIN_27 194
|
||||
#define Gpio_TLE8888_PIN_28 195
|
||||
#define Gpio_TLE8888_PIN_3 170
|
||||
#define Gpio_TLE8888_PIN_4 171
|
||||
#define Gpio_TLE8888_PIN_5 172
|
||||
#define Gpio_TLE8888_PIN_6 173
|
||||
#define Gpio_TLE8888_PIN_7 174
|
||||
#define Gpio_TLE8888_PIN_8 175
|
||||
#define Gpio_TLE8888_PIN_9 176
|
||||
#define Gpio_TLE8888_PIN_KEY 197
|
||||
#define Gpio_TLE8888_PIN_MR 196
|
||||
#define Gpio_TLE8888_PIN_WAKE 198
|
||||
#define Gpio_Unassigned 0
|
||||
#define gppwm_channel_e_auto_enum 0="GPPWM_Zero",9="GPPWM_AccelPedal",16="GPPWM_AuxLinear1",17="GPPWM_AuxLinear2",7="GPPWM_AuxTemp1",8="GPPWM_AuxTemp2",3="GPPWM_Clt",25="GPPWM_DetectedGear",15="GPPWM_EthanolPercent",5="GPPWM_FuelLoad",18="GPPWM_GppwmOutput1",19="GPPWM_GppwmOutput2",20="GPPWM_GppwmOutput3",21="GPPWM_GppwmOutput4",4="GPPWM_Iat",6="GPPWM_IgnLoad",22="GPPWM_LuaGauge1",23="GPPWM_LuaGauge2",2="GPPWM_Map",24="GPPWM_Rpm",1="GPPWM_Tps",12="GPPWM_VVT_1E",11="GPPWM_VVT_1I",14="GPPWM_VVT_2E",13="GPPWM_VVT_2I",10="GPPWM_Vbatt"
|
||||
#define gppwm_channel_e_enum "Zero", "TPS", "MAP", "CLT", "IAT", "Fuel Load", "Ignition Load", "Aux Temp 1", "Aux Temp 2", "Accel Pedal", "Battery Voltage", "VVT 1 I", "VVT 1 E", "VVT 2 I", "VVT 2 E", "Ethanol (Flex) %", "Aux Linear 1", "Aux Linear 2", "GPPWM Output 1", "GPPWM Output 2", "GPPWM Output 3", "GPPWM Output 4", "Lua Gauge 1", "Lua Gauge 2", "RPM", "Gear (detected)"
|
||||
#define gppwm_channel_e_GPPWM_AccelPedal 9
|
||||
|
|
|
@ -1,520 +1,7 @@
|
|||
#include "global.h"
|
||||
#include "rusefi_hw_enums.h"
|
||||
// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum_to_string.jar tool on Tue Aug 22 00:13:55 UTC 2023
|
||||
// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum_to_string.jar tool on Tue Aug 22 03:23:32 UTC 2023
|
||||
// see also gen_config_and_enums.bat
|
||||
|
||||
|
||||
|
||||
const char *getGpio(Gpio value){
|
||||
switch(value) {
|
||||
case Gpio::A0:
|
||||
return "A0";
|
||||
case Gpio::A1:
|
||||
return "A1";
|
||||
case Gpio::A10:
|
||||
return "A10";
|
||||
case Gpio::A11:
|
||||
return "A11";
|
||||
case Gpio::A12:
|
||||
return "A12";
|
||||
case Gpio::A13:
|
||||
return "A13";
|
||||
case Gpio::A14:
|
||||
return "A14";
|
||||
case Gpio::A15:
|
||||
return "A15";
|
||||
case Gpio::A2:
|
||||
return "A2";
|
||||
case Gpio::A3:
|
||||
return "A3";
|
||||
case Gpio::A4:
|
||||
return "A4";
|
||||
case Gpio::A5:
|
||||
return "A5";
|
||||
case Gpio::A6:
|
||||
return "A6";
|
||||
case Gpio::A7:
|
||||
return "A7";
|
||||
case Gpio::A8:
|
||||
return "A8";
|
||||
case Gpio::A9:
|
||||
return "A9";
|
||||
case Gpio::B0:
|
||||
return "B0";
|
||||
case Gpio::B1:
|
||||
return "B1";
|
||||
case Gpio::B10:
|
||||
return "B10";
|
||||
case Gpio::B11:
|
||||
return "B11";
|
||||
case Gpio::B12:
|
||||
return "B12";
|
||||
case Gpio::B13:
|
||||
return "B13";
|
||||
case Gpio::B14:
|
||||
return "B14";
|
||||
case Gpio::B15:
|
||||
return "B15";
|
||||
case Gpio::B2:
|
||||
return "B2";
|
||||
case Gpio::B3:
|
||||
return "B3";
|
||||
case Gpio::B4:
|
||||
return "B4";
|
||||
case Gpio::B5:
|
||||
return "B5";
|
||||
case Gpio::B6:
|
||||
return "B6";
|
||||
case Gpio::B7:
|
||||
return "B7";
|
||||
case Gpio::B8:
|
||||
return "B8";
|
||||
case Gpio::B9:
|
||||
return "B9";
|
||||
case Gpio::C0:
|
||||
return "C0";
|
||||
case Gpio::C1:
|
||||
return "C1";
|
||||
case Gpio::C10:
|
||||
return "C10";
|
||||
case Gpio::C11:
|
||||
return "C11";
|
||||
case Gpio::C12:
|
||||
return "C12";
|
||||
case Gpio::C13:
|
||||
return "C13";
|
||||
case Gpio::C14:
|
||||
return "C14";
|
||||
case Gpio::C15:
|
||||
return "C15";
|
||||
case Gpio::C2:
|
||||
return "C2";
|
||||
case Gpio::C3:
|
||||
return "C3";
|
||||
case Gpio::C4:
|
||||
return "C4";
|
||||
case Gpio::C5:
|
||||
return "C5";
|
||||
case Gpio::C6:
|
||||
return "C6";
|
||||
case Gpio::C7:
|
||||
return "C7";
|
||||
case Gpio::C8:
|
||||
return "C8";
|
||||
case Gpio::C9:
|
||||
return "C9";
|
||||
case Gpio::CAN_PIN_0:
|
||||
return "CAN_PIN_0";
|
||||
case Gpio::CAN_PIN_1:
|
||||
return "CAN_PIN_1";
|
||||
case Gpio::CAN_PIN_2:
|
||||
return "CAN_PIN_2";
|
||||
case Gpio::CAN_PIN_3:
|
||||
return "CAN_PIN_3";
|
||||
case Gpio::CAN_PIN_4:
|
||||
return "CAN_PIN_4";
|
||||
case Gpio::CAN_PIN_5:
|
||||
return "CAN_PIN_5";
|
||||
case Gpio::CAN_PIN_6:
|
||||
return "CAN_PIN_6";
|
||||
case Gpio::CAN_PIN_7:
|
||||
return "CAN_PIN_7";
|
||||
case Gpio::D0:
|
||||
return "D0";
|
||||
case Gpio::D1:
|
||||
return "D1";
|
||||
case Gpio::D10:
|
||||
return "D10";
|
||||
case Gpio::D11:
|
||||
return "D11";
|
||||
case Gpio::D12:
|
||||
return "D12";
|
||||
case Gpio::D13:
|
||||
return "D13";
|
||||
case Gpio::D14:
|
||||
return "D14";
|
||||
case Gpio::D15:
|
||||
return "D15";
|
||||
case Gpio::D2:
|
||||
return "D2";
|
||||
case Gpio::D3:
|
||||
return "D3";
|
||||
case Gpio::D4:
|
||||
return "D4";
|
||||
case Gpio::D5:
|
||||
return "D5";
|
||||
case Gpio::D6:
|
||||
return "D6";
|
||||
case Gpio::D7:
|
||||
return "D7";
|
||||
case Gpio::D8:
|
||||
return "D8";
|
||||
case Gpio::D9:
|
||||
return "D9";
|
||||
case Gpio::E0:
|
||||
return "E0";
|
||||
case Gpio::E1:
|
||||
return "E1";
|
||||
case Gpio::E10:
|
||||
return "E10";
|
||||
case Gpio::E11:
|
||||
return "E11";
|
||||
case Gpio::E12:
|
||||
return "E12";
|
||||
case Gpio::E13:
|
||||
return "E13";
|
||||
case Gpio::E14:
|
||||
return "E14";
|
||||
case Gpio::E15:
|
||||
return "E15";
|
||||
case Gpio::E2:
|
||||
return "E2";
|
||||
case Gpio::E3:
|
||||
return "E3";
|
||||
case Gpio::E4:
|
||||
return "E4";
|
||||
case Gpio::E5:
|
||||
return "E5";
|
||||
case Gpio::E6:
|
||||
return "E6";
|
||||
case Gpio::E7:
|
||||
return "E7";
|
||||
case Gpio::E8:
|
||||
return "E8";
|
||||
case Gpio::E9:
|
||||
return "E9";
|
||||
case Gpio::F0:
|
||||
return "F0";
|
||||
case Gpio::F1:
|
||||
return "F1";
|
||||
case Gpio::F10:
|
||||
return "F10";
|
||||
case Gpio::F11:
|
||||
return "F11";
|
||||
case Gpio::F12:
|
||||
return "F12";
|
||||
case Gpio::F13:
|
||||
return "F13";
|
||||
case Gpio::F14:
|
||||
return "F14";
|
||||
case Gpio::F15:
|
||||
return "F15";
|
||||
case Gpio::F2:
|
||||
return "F2";
|
||||
case Gpio::F3:
|
||||
return "F3";
|
||||
case Gpio::F4:
|
||||
return "F4";
|
||||
case Gpio::F5:
|
||||
return "F5";
|
||||
case Gpio::F6:
|
||||
return "F6";
|
||||
case Gpio::F7:
|
||||
return "F7";
|
||||
case Gpio::F8:
|
||||
return "F8";
|
||||
case Gpio::F9:
|
||||
return "F9";
|
||||
case Gpio::G0:
|
||||
return "G0";
|
||||
case Gpio::G1:
|
||||
return "G1";
|
||||
case Gpio::G10:
|
||||
return "G10";
|
||||
case Gpio::G11:
|
||||
return "G11";
|
||||
case Gpio::G12:
|
||||
return "G12";
|
||||
case Gpio::G13:
|
||||
return "G13";
|
||||
case Gpio::G14:
|
||||
return "G14";
|
||||
case Gpio::G15:
|
||||
return "G15";
|
||||
case Gpio::G2:
|
||||
return "G2";
|
||||
case Gpio::G3:
|
||||
return "G3";
|
||||
case Gpio::G4:
|
||||
return "G4";
|
||||
case Gpio::G5:
|
||||
return "G5";
|
||||
case Gpio::G6:
|
||||
return "G6";
|
||||
case Gpio::G7:
|
||||
return "G7";
|
||||
case Gpio::G8:
|
||||
return "G8";
|
||||
case Gpio::G9:
|
||||
return "G9";
|
||||
case Gpio::H0:
|
||||
return "H0";
|
||||
case Gpio::H1:
|
||||
return "H1";
|
||||
case Gpio::H10:
|
||||
return "H10";
|
||||
case Gpio::H11:
|
||||
return "H11";
|
||||
case Gpio::H12:
|
||||
return "H12";
|
||||
case Gpio::H13:
|
||||
return "H13";
|
||||
case Gpio::H14:
|
||||
return "H14";
|
||||
case Gpio::H15:
|
||||
return "H15";
|
||||
case Gpio::H2:
|
||||
return "H2";
|
||||
case Gpio::H3:
|
||||
return "H3";
|
||||
case Gpio::H4:
|
||||
return "H4";
|
||||
case Gpio::H5:
|
||||
return "H5";
|
||||
case Gpio::H6:
|
||||
return "H6";
|
||||
case Gpio::H7:
|
||||
return "H7";
|
||||
case Gpio::H8:
|
||||
return "H8";
|
||||
case Gpio::H9:
|
||||
return "H9";
|
||||
case Gpio::I0:
|
||||
return "I0";
|
||||
case Gpio::I1:
|
||||
return "I1";
|
||||
case Gpio::I10:
|
||||
return "I10";
|
||||
case Gpio::I11:
|
||||
return "I11";
|
||||
case Gpio::I12:
|
||||
return "I12";
|
||||
case Gpio::I13:
|
||||
return "I13";
|
||||
case Gpio::I14:
|
||||
return "I14";
|
||||
case Gpio::I15:
|
||||
return "I15";
|
||||
case Gpio::I2:
|
||||
return "I2";
|
||||
case Gpio::I3:
|
||||
return "I3";
|
||||
case Gpio::I4:
|
||||
return "I4";
|
||||
case Gpio::I5:
|
||||
return "I5";
|
||||
case Gpio::I6:
|
||||
return "I6";
|
||||
case Gpio::I7:
|
||||
return "I7";
|
||||
case Gpio::I8:
|
||||
return "I8";
|
||||
case Gpio::I9:
|
||||
return "I9";
|
||||
case Gpio::Invalid:
|
||||
return "Invalid";
|
||||
case Gpio::L9779_IGN_1:
|
||||
return "L9779_IGN_1";
|
||||
case Gpio::L9779_IGN_2:
|
||||
return "L9779_IGN_2";
|
||||
case Gpio::L9779_IGN_3:
|
||||
return "L9779_IGN_3";
|
||||
case Gpio::L9779_IGN_4:
|
||||
return "L9779_IGN_4";
|
||||
case Gpio::L9779_OUT_1:
|
||||
return "L9779_OUT_1";
|
||||
case Gpio::L9779_OUT_10:
|
||||
return "L9779_OUT_10";
|
||||
case Gpio::L9779_OUT_11:
|
||||
return "L9779_OUT_11";
|
||||
case Gpio::L9779_OUT_12:
|
||||
return "L9779_OUT_12";
|
||||
case Gpio::L9779_OUT_13:
|
||||
return "L9779_OUT_13";
|
||||
case Gpio::L9779_OUT_14:
|
||||
return "L9779_OUT_14";
|
||||
case Gpio::L9779_OUT_15:
|
||||
return "L9779_OUT_15";
|
||||
case Gpio::L9779_OUT_16:
|
||||
return "L9779_OUT_16";
|
||||
case Gpio::L9779_OUT_17:
|
||||
return "L9779_OUT_17";
|
||||
case Gpio::L9779_OUT_18:
|
||||
return "L9779_OUT_18";
|
||||
case Gpio::L9779_OUT_19:
|
||||
return "L9779_OUT_19";
|
||||
case Gpio::L9779_OUT_2:
|
||||
return "L9779_OUT_2";
|
||||
case Gpio::L9779_OUT_20:
|
||||
return "L9779_OUT_20";
|
||||
case Gpio::L9779_OUT_25:
|
||||
return "L9779_OUT_25";
|
||||
case Gpio::L9779_OUT_26:
|
||||
return "L9779_OUT_26";
|
||||
case Gpio::L9779_OUT_27:
|
||||
return "L9779_OUT_27";
|
||||
case Gpio::L9779_OUT_28:
|
||||
return "L9779_OUT_28";
|
||||
case Gpio::L9779_OUT_3:
|
||||
return "L9779_OUT_3";
|
||||
case Gpio::L9779_OUT_4:
|
||||
return "L9779_OUT_4";
|
||||
case Gpio::L9779_OUT_5:
|
||||
return "L9779_OUT_5";
|
||||
case Gpio::L9779_OUT_6:
|
||||
return "L9779_OUT_6";
|
||||
case Gpio::L9779_OUT_7:
|
||||
return "L9779_OUT_7";
|
||||
case Gpio::L9779_OUT_8:
|
||||
return "L9779_OUT_8";
|
||||
case Gpio::L9779_OUT_9:
|
||||
return "L9779_OUT_9";
|
||||
case Gpio::L9779_OUT_A:
|
||||
return "L9779_OUT_A";
|
||||
case Gpio::L9779_OUT_B:
|
||||
return "L9779_OUT_B";
|
||||
case Gpio::L9779_OUT_C:
|
||||
return "L9779_OUT_C";
|
||||
case Gpio::L9779_OUT_D:
|
||||
return "L9779_OUT_D";
|
||||
case Gpio::L9779_OUT_MRD:
|
||||
return "L9779_OUT_MRD";
|
||||
case Gpio::L9779_PIN_KEY:
|
||||
return "L9779_PIN_KEY";
|
||||
case Gpio::MC33972_PIN_1:
|
||||
return "MC33972_PIN_1";
|
||||
case Gpio::MC33972_PIN_21:
|
||||
return "MC33972_PIN_21";
|
||||
case Gpio::MC33972_PIN_22:
|
||||
return "MC33972_PIN_22";
|
||||
case Gpio::PROTECTED_PIN_0:
|
||||
return "PROTECTED_PIN_0";
|
||||
case Gpio::PROTECTED_PIN_1:
|
||||
return "PROTECTED_PIN_1";
|
||||
case Gpio::PROTECTED_PIN_10:
|
||||
return "PROTECTED_PIN_10";
|
||||
case Gpio::PROTECTED_PIN_11:
|
||||
return "PROTECTED_PIN_11";
|
||||
case Gpio::PROTECTED_PIN_12:
|
||||
return "PROTECTED_PIN_12";
|
||||
case Gpio::PROTECTED_PIN_13:
|
||||
return "PROTECTED_PIN_13";
|
||||
case Gpio::PROTECTED_PIN_14:
|
||||
return "PROTECTED_PIN_14";
|
||||
case Gpio::PROTECTED_PIN_15:
|
||||
return "PROTECTED_PIN_15";
|
||||
case Gpio::PROTECTED_PIN_2:
|
||||
return "PROTECTED_PIN_2";
|
||||
case Gpio::PROTECTED_PIN_3:
|
||||
return "PROTECTED_PIN_3";
|
||||
case Gpio::PROTECTED_PIN_4:
|
||||
return "PROTECTED_PIN_4";
|
||||
case Gpio::PROTECTED_PIN_5:
|
||||
return "PROTECTED_PIN_5";
|
||||
case Gpio::PROTECTED_PIN_6:
|
||||
return "PROTECTED_PIN_6";
|
||||
case Gpio::PROTECTED_PIN_7:
|
||||
return "PROTECTED_PIN_7";
|
||||
case Gpio::PROTECTED_PIN_8:
|
||||
return "PROTECTED_PIN_8";
|
||||
case Gpio::PROTECTED_PIN_9:
|
||||
return "PROTECTED_PIN_9";
|
||||
case Gpio::TLE6240_PIN_1:
|
||||
return "TLE6240_PIN_1";
|
||||
case Gpio::TLE6240_PIN_10:
|
||||
return "TLE6240_PIN_10";
|
||||
case Gpio::TLE6240_PIN_11:
|
||||
return "TLE6240_PIN_11";
|
||||
case Gpio::TLE6240_PIN_12:
|
||||
return "TLE6240_PIN_12";
|
||||
case Gpio::TLE6240_PIN_13:
|
||||
return "TLE6240_PIN_13";
|
||||
case Gpio::TLE6240_PIN_14:
|
||||
return "TLE6240_PIN_14";
|
||||
case Gpio::TLE6240_PIN_15:
|
||||
return "TLE6240_PIN_15";
|
||||
case Gpio::TLE6240_PIN_16:
|
||||
return "TLE6240_PIN_16";
|
||||
case Gpio::TLE6240_PIN_2:
|
||||
return "TLE6240_PIN_2";
|
||||
case Gpio::TLE6240_PIN_3:
|
||||
return "TLE6240_PIN_3";
|
||||
case Gpio::TLE6240_PIN_4:
|
||||
return "TLE6240_PIN_4";
|
||||
case Gpio::TLE6240_PIN_5:
|
||||
return "TLE6240_PIN_5";
|
||||
case Gpio::TLE6240_PIN_6:
|
||||
return "TLE6240_PIN_6";
|
||||
case Gpio::TLE6240_PIN_7:
|
||||
return "TLE6240_PIN_7";
|
||||
case Gpio::TLE6240_PIN_8:
|
||||
return "TLE6240_PIN_8";
|
||||
case Gpio::TLE6240_PIN_9:
|
||||
return "TLE6240_PIN_9";
|
||||
case Gpio::TLE8888_PIN_1:
|
||||
return "TLE8888_PIN_1";
|
||||
case Gpio::TLE8888_PIN_10:
|
||||
return "TLE8888_PIN_10";
|
||||
case Gpio::TLE8888_PIN_11:
|
||||
return "TLE8888_PIN_11";
|
||||
case Gpio::TLE8888_PIN_12:
|
||||
return "TLE8888_PIN_12";
|
||||
case Gpio::TLE8888_PIN_13:
|
||||
return "TLE8888_PIN_13";
|
||||
case Gpio::TLE8888_PIN_14:
|
||||
return "TLE8888_PIN_14";
|
||||
case Gpio::TLE8888_PIN_15:
|
||||
return "TLE8888_PIN_15";
|
||||
case Gpio::TLE8888_PIN_16:
|
||||
return "TLE8888_PIN_16";
|
||||
case Gpio::TLE8888_PIN_17:
|
||||
return "TLE8888_PIN_17";
|
||||
case Gpio::TLE8888_PIN_18:
|
||||
return "TLE8888_PIN_18";
|
||||
case Gpio::TLE8888_PIN_19:
|
||||
return "TLE8888_PIN_19";
|
||||
case Gpio::TLE8888_PIN_2:
|
||||
return "TLE8888_PIN_2";
|
||||
case Gpio::TLE8888_PIN_20:
|
||||
return "TLE8888_PIN_20";
|
||||
case Gpio::TLE8888_PIN_21:
|
||||
return "TLE8888_PIN_21";
|
||||
case Gpio::TLE8888_PIN_22:
|
||||
return "TLE8888_PIN_22";
|
||||
case Gpio::TLE8888_PIN_23:
|
||||
return "TLE8888_PIN_23";
|
||||
case Gpio::TLE8888_PIN_24:
|
||||
return "TLE8888_PIN_24";
|
||||
case Gpio::TLE8888_PIN_25:
|
||||
return "TLE8888_PIN_25";
|
||||
case Gpio::TLE8888_PIN_26:
|
||||
return "TLE8888_PIN_26";
|
||||
case Gpio::TLE8888_PIN_27:
|
||||
return "TLE8888_PIN_27";
|
||||
case Gpio::TLE8888_PIN_28:
|
||||
return "TLE8888_PIN_28";
|
||||
case Gpio::TLE8888_PIN_3:
|
||||
return "TLE8888_PIN_3";
|
||||
case Gpio::TLE8888_PIN_4:
|
||||
return "TLE8888_PIN_4";
|
||||
case Gpio::TLE8888_PIN_5:
|
||||
return "TLE8888_PIN_5";
|
||||
case Gpio::TLE8888_PIN_6:
|
||||
return "TLE8888_PIN_6";
|
||||
case Gpio::TLE8888_PIN_7:
|
||||
return "TLE8888_PIN_7";
|
||||
case Gpio::TLE8888_PIN_8:
|
||||
return "TLE8888_PIN_8";
|
||||
case Gpio::TLE8888_PIN_9:
|
||||
return "TLE8888_PIN_9";
|
||||
case Gpio::TLE8888_PIN_KEY:
|
||||
return "TLE8888_PIN_KEY";
|
||||
case Gpio::TLE8888_PIN_MR:
|
||||
return "TLE8888_PIN_MR";
|
||||
case Gpio::TLE8888_PIN_WAKE:
|
||||
return "TLE8888_PIN_WAKE";
|
||||
case Gpio::Unassigned:
|
||||
return "Unassigned";
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum2string.jar tool on Thu Apr 28 22:03:38 UTC 2022
|
||||
// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum_to_string.jar tool on Tue Aug 22 03:23:32 UTC 2023
|
||||
// see also gen_config_and_enums.bat
|
||||
|
||||
|
||||
|
||||
#include "rusefi_hw_enums.h"
|
||||
#pragma once
|
||||
#if __cplusplus
|
||||
const char *getGpio(Gpio value);
|
||||
#endif //__cplusplus
|
||||
|
|
Loading…
Reference in New Issue