File tree Expand file tree Collapse file tree 2 files changed +5
-20
lines changed
targets/TARGET_STM/TARGET_STM32L5
TARGET_STM32L552xE/TARGET_NUCLEO_L552ZE_Q
TARGET_STM32L562xE/TARGET_DISCO_L562QE Expand file tree Collapse file tree 2 files changed +5
-20
lines changed Original file line number Diff line number Diff line change 2
2
* SPDX-License-Identifier: BSD-3-Clause
3
3
******************************************************************************
4
4
*
5
- * Copyright (c) 2016-2020 STMicroelectronics.
5
+ * Copyright (c) 2016-2021 STMicroelectronics.
6
6
* All rights reserved.
7
7
*
8
8
* This software component is licensed by ST under BSD 3-Clause license,
27
27
extern "C" {
28
28
#endif
29
29
30
- typedef enum {
31
- ALT0 = 0x100 ,
32
- ALT1 = 0x200 ,
33
- ALT2 = 0x300 ,
34
- ALT3 = 0x400 ,
35
- ALT4 = 0x500
36
- } ALTx ;
37
-
38
30
typedef enum {
39
31
40
32
PA_0 = 0x00 ,
@@ -195,6 +187,7 @@ typedef enum {
195
187
ADC_VBAT = 0xF2 , // Internal pin virtual value
196
188
197
189
#ifdef TARGET_FF_ARDUINO_UNO
190
+ // Arduino Uno (Rev3) pins
198
191
ARDUINO_UNO_A0 = PA_3 ,
199
192
ARDUINO_UNO_A1 = PA_2 ,
200
193
ARDUINO_UNO_A2 = PC_3 ,
@@ -275,7 +268,6 @@ typedef enum {
275
268
#define LED3 PA_9 // LD3 Red
276
269
#define BUTTON1 PC_13
277
270
278
-
279
271
#ifdef __cplusplus
280
272
}
281
273
#endif
Original file line number Diff line number Diff line change 2
2
* SPDX-License-Identifier: BSD-3-Clause
3
3
******************************************************************************
4
4
*
5
- * Copyright (c) 2016-2020 STMicroelectronics.
5
+ * Copyright (c) 2016-2021 STMicroelectronics.
6
6
* All rights reserved.
7
7
*
8
8
* This software component is licensed by ST under BSD 3-Clause license,
27
27
extern "C" {
28
28
#endif
29
29
30
- typedef enum {
31
- ALT0 = 0x100 ,
32
- ALT1 = 0x200 ,
33
- ALT2 = 0x300 ,
34
- ALT3 = 0x400 ,
35
- ALT4 = 0x500
36
- } ALTx ;
37
-
38
30
typedef enum {
39
31
40
32
PA_0 = 0x00 ,
@@ -192,6 +184,7 @@ typedef enum {
192
184
ADC_VBAT = 0xF2 , // Internal pin virtual value
193
185
194
186
#ifdef TARGET_FF_ARDUINO_UNO
187
+ // Arduino Uno (Rev3) pins
195
188
ARDUINO_UNO_A0 = PA_0 ,
196
189
ARDUINO_UNO_A1 = PA_1 ,
197
190
ARDUINO_UNO_A2 = PA_4 ,
@@ -332,7 +325,7 @@ typedef enum {
332
325
// Standardized LED and button names
333
326
#define LED1 PG_12 // LD7 Green
334
327
#define LED2 PE_1 // LD9 Red
335
- #define BUTTON1 PC_13
328
+ #define BUTTON1 PC_13 // USER_BUTTON
336
329
337
330
#ifdef __cplusplus
338
331
}
You can’t perform that action at this time.
0 commit comments