File tree Expand file tree Collapse file tree 5 files changed +10
-0
lines changed Expand file tree Collapse file tree 5 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,10 @@ enum adcch_e {
14
14
ADC_CH1 ,/**< ADC channel 1 mapped to @ref GPIO_1 */
15
15
ADC_CH2 ,/**< ADC channel 2 mapped to @ref GPIO_21 */
16
16
ADC_CH3 ,/**< ADC channel 3 mapped to @ref GPIO_31 */
17
+ #if defined(PLATFORM_S20U ) || defined(PLATFORM_M56 )
17
18
ADC_CH4 ,/**< ADC channel 4 mapped to @ref GPIO_32 */
18
19
ADC_CH5 ,/**< ADC channel 5 mapped to pin ADC1 */
20
+ #endif
19
21
};
20
22
21
23
#ifdef __cplusplus
Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ enum gpioname_e {
79
79
GPIO_22 ,
80
80
GPIO_23 ,
81
81
GPIO_24 ,
82
+ #if defined (PLATFORM_MC60 ) || defined(PLATFORM_S20U ) || defined(PLATFORM_M56 )
82
83
GPIO_25 ,
83
84
GPIO_26 ,
84
85
GPIO_27 ,
@@ -87,11 +88,15 @@ enum gpioname_e {
87
88
GPIO_30 ,
88
89
GPIO_31 ,
89
90
GPIO_32 ,
91
+ #endif
92
+ #if defined(PLATFORM_S20U ) || defined(PLATFORM_M56 )
90
93
GPIO_33 ,
91
94
GPIO_34 ,
92
95
GPIO_35 ,
93
96
GPIO_36 ,
94
97
GPIO_37 ,
98
+ #endif
99
+ #if defined(PLATFORM_M56 )
95
100
/* S56 Module, Extra GPIO */
96
101
GPIO_38 ,
97
102
GPIO_39 ,
@@ -108,6 +113,7 @@ enum gpioname_e {
108
113
GPIO_50 ,
109
114
GPIO_51 ,
110
115
GPIO_52 ,
116
+ #endif
111
117
GPIO_PIN_MAX ,
112
118
};
113
119
Original file line number Diff line number Diff line change 11
11
*/
12
12
enum pwmch_e {
13
13
PWM_CH0 ,/**< PWM Channel 0 (available on @ref GPIO_1) */
14
+ #if !defined(PLATFORM_M66 )
14
15
PWM_CH1 ,/**< PWM Channel 1 (available on @ref GPIO_36) */
16
+ #endif
15
17
};
16
18
17
19
You can’t perform that action at this time.
0 commit comments