rusEFI
The most advanced open source ECU
config
boards
proteus_meta.h
Go to the documentation of this file.
1
/*
2
* proteus_meta.h
3
*
4
* @date Oct 2, 2021
5
* @author Andrey Belomutskiy, (c) 2012-2021
6
*/
7
8
#pragma once
9
10
// not directly related but often used together
11
#include "
defaults.h
"
12
13
#define PROTEUS_DEFAULT_AT_PULLUP 2700
14
15
#define PROTEUS_LS_1 D7
16
// pin 15/black35
17
#define PROTEUS_LS_2 G9
18
19
// pin 4/black35
20
#define PROTEUS_LS_3 G10
21
22
// pin 16/black35
23
#define PROTEUS_LS_4 G11
24
25
// pin 5/black35
26
#define PROTEUS_LS_5 G12
27
28
// pin 6/black35
29
#define PROTEUS_LS_6 G13
30
31
// pin 7/black35
32
#define PROTEUS_LS_7 G14
33
#define PROTEUS_LS_8 B4
34
#define PROTEUS_LS_9 B5
35
36
// pin 20/black35
37
#define PROTEUS_LS_10 B6
38
#define PROTEUS_LS_11 B7
39
#define PROTEUS_LS_12 B8
40
41
// pin 10/black35
42
#define PROTEUS_LS_13 B9
43
// pin 11/black35
44
#define PROTEUS_LS_14 E0
45
// pin 12/black35
46
#define PROTEUS_LS_15 E1
47
// pin 23/black35
48
#define PROTEUS_LS_16 E2
49
50
51
// pin 2/black35
52
#define PROTEUS_HS_1 A9
53
54
// pin 1/black35
55
#define PROTEUS_HS_2 A8
56
57
#define PROTEUS_HS_3 D15
58
59
#define PROTEUS_HS_4 D14
60
61
// pin 35/black35
62
#define PROTEUS_IGN_1 D4
63
64
// pin 34/black35
65
#define PROTEUS_IGN_2 D3
66
67
// pin 22/black35
68
#define PROTEUS_IGN_3 C9
69
#define PROTEUS_IGN_4 C8
70
#define PROTEUS_IGN_5 C7
71
#define PROTEUS_IGN_6 G8
72
#define PROTEUS_IGN_7 G7
73
#define PROTEUS_IGN_8 G6
74
#define PROTEUS_IGN_9 G5
75
#define PROTEUS_IGN_10 G4
76
#define PROTEUS_IGN_11 G3
77
#define PROTEUS_IGN_12 G2
78
79
// Analog Temp 1 = PC4
80
#define PROTEUS_IN_ANALOG_TEMP_1 EFI_ADC_14
81
82
// IAT = Analog Temp 2 = PC5
83
#define PROTEUS_IN_ANALOG_TEMP_2 EFI_ADC_15
84
#define PROTEUS_IN_IAT PROTEUS_IN_ANALOG_TEMP_2
85
86
// CLT = Analog Temp 3 = PB0
87
#define PROTEUS_IN_ANALOG_TEMP_3 EFI_ADC_8
88
#define PROTEUS_IN_CLT PROTEUS_IN_ANALOG_TEMP_3
89
90
// Analog Temp 4 = PB1
91
#define PROTEUS_IN_ANALOG_TEMP_4 EFI_ADC_9
92
93
// MAP = Analog volt 1 = PC0
94
#define PROTEUS_IN_ANALOG_VOLT_1 EFI_ADC_10
95
#define PROTEUS_IN_MAP PROTEUS_IN_ANALOG_VOLT_1
96
97
// TPS = Analog volt 2 = PC1
98
#define PROTEUS_IN_ANALOG_VOLT_2 EFI_ADC_11
99
#define PROTEUS_IN_TPS PROTEUS_IN_ANALOG_VOLT_2
100
101
// PC2
102
#define PROTEUS_IN_ANALOG_VOLT_3 EFI_ADC_12
103
#define PROTEUS_IN_TPS1_2 PROTEUS_IN_ANALOG_VOLT_3
104
105
// PC3
106
#define PROTEUS_IN_ANALOG_VOLT_4 EFI_ADC_13
107
#define PROTEUS_IN_TPS2_1 PROTEUS_IN_ANALOG_VOLT_4
108
109
// PA0
110
#define PROTEUS_IN_ANALOG_VOLT_5 EFI_ADC_0
111
112
// PA1
113
#define PROTEUS_IN_ANALOG_VOLT_6 EFI_ADC_1
114
#define PROTEUS_IN_AV_6_DIGITAL Gpio::A1
115
116
// PA2
117
#define PROTEUS_IN_ANALOG_VOLT_7 EFI_ADC_2
118
#define PROTEUS_IN_PPS2 PROTEUS_IN_ANALOG_VOLT_7
119
120
// PA3
121
#define PROTEUS_IN_ANALOG_VOLT_8 EFI_ADC_3
122
#define PROTEUS_IN_AV_8_DIGITAL Gpio::A3
123
124
// PA4
125
#define PROTEUS_IN_ANALOG_VOLT_9 EFI_ADC_4
126
#define PROTEUS_IN_PPS PROTEUS_IN_ANALOG_VOLT_9
127
128
// PA5
129
#define PROTEUS_IN_ANALOG_VOLT_10 EFI_ADC_5
130
#define PROTEUS_IN_AV_10_DIGITAL Gpio::A5
131
132
// PA6
133
#define PROTEUS_IN_ANALOG_VOLT_11 EFI_ADC_6
134
#define PROTEUS_IN_AV_11_DIGITAL Gpio::A6
135
136
#define PROTEUS_VR_1 Gpio::E7
137
#define PROTEUS_VR_2 Gpio::E8
138
139
#define PROTEUS_DIGITAL_1 Gpio::C6
140
#define PROTEUS_DIGITAL_2 Gpio::E11
141
#define PROTEUS_DIGITAL_3 Gpio::E12
142
#define PROTEUS_DIGITAL_4 Gpio::E14
143
#define PROTEUS_DIGITAL_5 Gpio::E13
144
#define PROTEUS_DIGITAL_6 Gpio::E15
145
146
void
setProteusEtbIO
();
defaults.h
setProteusEtbIO
void setProteusEtbIO()
Definition:
default_base_engine.cpp:325
Generated on Tue Apr 30 2024 00:05:55 for rusEFI by
1.9.1