rusEFI
The most advanced open source ECU
Functions | Variables
rusefi_hw_adc_enums.h File Reference

Functions

enum __attribute__ ((__packed__))
 

Variables

 adc_channel_e
 

Function Documentation

◆ __attribute__()

enum __attribute__ ( (__packed__)  )

Definition at line 1 of file rusefi_hw_adc_enums.h.

1  {
2  EFI_ADC_NONE = 0,
3 
4  EFI_ADC_0 = 1, // PA0
5  EFI_ADC_1 = 2, // PA1
6  EFI_ADC_2 = 3, // PA2
7  EFI_ADC_3 = 4, // PA3
8  EFI_ADC_4 = 5, // PA4
9  EFI_ADC_5 = 6, // PA5
10  EFI_ADC_6 = 7, // PA6
11  EFI_ADC_7 = 8, // PA7
12  EFI_ADC_8 = 9, // PB0
13  EFI_ADC_9 = 10, // PB1
14  EFI_ADC_10 = 11, // PC0
15  EFI_ADC_11 = 12, // PC1
16  EFI_ADC_12 = 13, // PC2
17  EFI_ADC_13 = 14, // PC3
18  EFI_ADC_14 = 15, // PC4
19  EFI_ADC_15 = 16, // PC5
20  EFI_ADC_16 = 17, // PA0, muxed using exrernal analog mux
21  EFI_ADC_17 = 18, // PA1, muxed using exrernal analog mux
22  EFI_ADC_18 = 19, // PA2, muxed using exrernal analog mux
23  EFI_ADC_19 = 20, // PA3, muxed using exrernal analog mux
24  EFI_ADC_20 = 21, // PA4, muxed using exrernal analog mux
25  EFI_ADC_21 = 22, // PA5, muxed using exrernal analog mux
26  EFI_ADC_22 = 23, // PA6, muxed using exrernal analog mux
27  EFI_ADC_23 = 24, // PA7, muxed using exrernal analog mux
28  EFI_ADC_24 = 25, // PB0, muxed using exrernal analog mux
29  EFI_ADC_25 = 26, // PB1, muxed using exrernal analog mux
30  EFI_ADC_26 = 27, // PC0, muxed using exrernal analog mux
31  EFI_ADC_27 = 28, // PC1, muxed using exrernal analog mux
32  EFI_ADC_28 = 29, // PC2, muxed using exrernal analog mux
33  EFI_ADC_29 = 30, // PC3, muxed using exrernal analog mux
34  EFI_ADC_30 = 31, // PC4, muxed using exrernal analog mux
35  EFI_ADC_31 = 32, // PC5, muxed using exrernal analog mux
36 
37  // Additional 8 channels available for ADC3 only
38  EFI_ADC_32 = 33, // PF6, ADC3 only
39  EFI_ADC_33 = 34, // PF7, ADC3 only
40  EFI_ADC_34 = 35, // PF8, ADC3 only
41  EFI_ADC_35 = 36, // PF9, ADC3 only
42  EFI_ADC_36 = 37, // PF10, ADC3 only
43  EFI_ADC_37 = 38, // PF3, ADC3 only
44  EFI_ADC_38 = 39, // PF4, ADC3 only
45  EFI_ADC_39 = 40, // PF5, ADC3 only
46 
47  // External ADC channels
48  EFI_ADC_40 = 41,
49  EFI_ADC_41 = 42,
50  EFI_ADC_42 = 43,
51  EFI_ADC_43 = 44,
52  EFI_ADC_44 = 45,
53  EFI_ADC_45 = 46,
54  EFI_ADC_46 = 47,
55  EFI_ADC_47 = 48,
56 
57  EFI_ADC_TOTAL_CHANNELS = 49, // Please keep this in sync with the last valid channel index!
58 
59  EFI_ADC_ERROR = 50,
adc_channel_e

Variable Documentation

◆ adc_channel_e

adc_channel_e

Go to the source code of this file.