File tree Expand file tree Collapse file tree 2 files changed +7
-10
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 +7
-10
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,
@@ -31,12 +31,9 @@ typedef enum {
31
31
ALT0 = 0x100 ,
32
32
ALT1 = 0x200 ,
33
33
ALT2 = 0x300 ,
34
- ALT3 = 0x400 ,
35
- ALT4 = 0x500
36
34
} ALTx ;
37
35
38
36
typedef enum {
39
-
40
37
PA_0 = 0x00 ,
41
38
PA_0_ALT0 = PA_0 | ALT0 , // same pin used for alternate HW
42
39
PA_1 = 0x01 ,
@@ -195,12 +192,14 @@ typedef enum {
195
192
ADC_VBAT = 0xF2 , // Internal pin virtual value
196
193
197
194
#ifdef TARGET_FF_ARDUINO_UNO
195
+ // Arduino Uno (Rev3) pins
198
196
ARDUINO_UNO_A0 = PA_3 ,
199
197
ARDUINO_UNO_A1 = PA_2 ,
200
198
ARDUINO_UNO_A2 = PC_3 ,
201
199
ARDUINO_UNO_A3 = PB_0 ,
202
200
ARDUINO_UNO_A4 = PC_1 ,
203
201
ARDUINO_UNO_A5 = PC_0 ,
202
+
204
203
ARDUINO_UNO_D0 = PD_9 ,
205
204
ARDUINO_UNO_D1 = PD_8 ,
206
205
ARDUINO_UNO_D2 = PF_15 ,
@@ -275,7 +274,6 @@ typedef enum {
275
274
#define LED3 PA_9 // LD3 Red
276
275
#define BUTTON1 PC_13
277
276
278
-
279
277
#ifdef __cplusplus
280
278
}
281
279
#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,
@@ -31,12 +31,9 @@ typedef enum {
31
31
ALT0 = 0x100 ,
32
32
ALT1 = 0x200 ,
33
33
ALT2 = 0x300 ,
34
- ALT3 = 0x400 ,
35
- ALT4 = 0x500
36
34
} ALTx ;
37
35
38
36
typedef enum {
39
-
40
37
PA_0 = 0x00 ,
41
38
PA_0_ALT0 = PA_0 | ALT0 , // same pin used for alternate HW
42
39
PA_1 = 0x01 ,
@@ -192,12 +189,14 @@ typedef enum {
192
189
ADC_VBAT = 0xF2 , // Internal pin virtual value
193
190
194
191
#ifdef TARGET_FF_ARDUINO_UNO
192
+ // Arduino Uno (Rev3) pins
195
193
ARDUINO_UNO_A0 = PA_0 ,
196
194
ARDUINO_UNO_A1 = PA_1 ,
197
195
ARDUINO_UNO_A2 = PA_4 ,
198
196
ARDUINO_UNO_A3 = PA_5 ,
199
197
ARDUINO_UNO_A4 = PC_4 ,
200
198
ARDUINO_UNO_A5 = PC_5 ,
199
+
201
200
ARDUINO_UNO_D0 = PB_10 ,
202
201
ARDUINO_UNO_D1 = PB_11 ,
203
202
ARDUINO_UNO_D2 = PD_11 ,
@@ -332,7 +331,7 @@ typedef enum {
332
331
// Standardized LED and button names
333
332
#define LED1 PG_12 // LD7 Green
334
333
#define LED2 PE_1 // LD9 Red
335
- #define BUTTON1 PC_13
334
+ #define BUTTON1 PC_13 // USER_BUTTON
336
335
337
336
#ifdef __cplusplus
338
337
}
You can’t perform that action at this time.
0 commit comments