Skip to content

Commit 5bb6edc

Browse files
bcostmcmonr
authored andcommitted
Update stm32l4xxxx.h files
1 parent 4c7f0e6 commit 5bb6edc

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/stm32l432xx.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* This file contains:
88
* - Data structures and the address mapping for all peripherals
99
* - Peripheral's registers declarations and bits definition
10-
* - Macros to access peripherals registers hardware
10+
* - Macros to access peripherals registers hardware
1111
*
1212
******************************************************************************
1313
* @attention
@@ -1063,7 +1063,7 @@ typedef struct
10631063
#define I2C1 ((I2C_TypeDef *) I2C1_BASE)
10641064
#define I2C3 ((I2C_TypeDef *) I2C3_BASE)
10651065
#define CRS ((CRS_TypeDef *) CRS_BASE)
1066-
//#define CAN ((CAN_TypeDef *) CAN1_BASE)
1066+
//#define CAN ((CAN_TypeDef *) CAN1_BASE) // MBED FIX : already defined in mbed API
10671067
#define CAN1 ((CAN_TypeDef *) CAN1_BASE)
10681068
#define USB ((USB_TypeDef *) USB_BASE)
10691069
#define PWR ((PWR_TypeDef *) PWR_BASE)

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L433xC/device/stm32l433xx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1133,7 +1133,7 @@ typedef struct
11331133
#define I2C2 ((I2C_TypeDef *) I2C2_BASE)
11341134
#define I2C3 ((I2C_TypeDef *) I2C3_BASE)
11351135
#define CRS ((CRS_TypeDef *) CRS_BASE)
1136-
// #define CAN ((CAN_TypeDef *) CAN1_BASE)
1136+
// #define CAN ((CAN_TypeDef *) CAN1_BASE) // MBED FIX : already defined in mbed API
11371137
#define CAN1 ((CAN_TypeDef *) CAN1_BASE)
11381138
#define USB ((USB_TypeDef *) USB_BASE)
11391139
#define PWR ((PWR_TypeDef *) PWR_BASE)

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L476xG/device/stm32l476xx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1345,7 +1345,7 @@ typedef struct
13451345
#define I2C1 ((I2C_TypeDef *) I2C1_BASE)
13461346
#define I2C2 ((I2C_TypeDef *) I2C2_BASE)
13471347
#define I2C3 ((I2C_TypeDef *) I2C3_BASE)
1348-
//#define CAN ((CAN_TypeDef *) CAN1_BASE)
1348+
//#define CAN ((CAN_TypeDef *) CAN1_BASE) // MBED FIX : already defined in mbed API
13491349
#define CAN1 ((CAN_TypeDef *) CAN1_BASE)
13501350
#define PWR ((PWR_TypeDef *) PWR_BASE)
13511351
#define DAC ((DAC_TypeDef *) DAC1_BASE)

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L486xG/device/stm32l486xx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1379,7 +1379,7 @@ typedef struct
13791379
#define I2C1 ((I2C_TypeDef *) I2C1_BASE)
13801380
#define I2C2 ((I2C_TypeDef *) I2C2_BASE)
13811381
#define I2C3 ((I2C_TypeDef *) I2C3_BASE)
1382-
//#define CAN ((CAN_TypeDef *) CAN1_BASE)
1382+
//#define CAN ((CAN_TypeDef *) CAN1_BASE) // MBED FIX : already defined in mbed API
13831383
#define CAN1 ((CAN_TypeDef *) CAN1_BASE)
13841384
#define PWR ((PWR_TypeDef *) PWR_BASE)
13851385
#define DAC ((DAC_TypeDef *) DAC1_BASE)

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/device/stm32l496xx.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* This file contains:
88
* - Data structures and the address mapping for all peripherals
99
* - Peripheral's registers declarations and bits definition
10-
* - Macros to access peripheral�s registers hardware
10+
* - Macros to access peripheral�s registers hardware
1111
*
1212
******************************************************************************
1313
* @attention
@@ -1425,6 +1425,7 @@ typedef struct
14251425
#define I2C2 ((I2C_TypeDef *) I2C2_BASE)
14261426
#define I2C3 ((I2C_TypeDef *) I2C3_BASE)
14271427
#define CRS ((CRS_TypeDef *) CRS_BASE)
1428+
//#define CAN ((CAN_TypeDef *) CAN1_BASE) // MBED FIX : already defined in mbed API
14281429
#define CAN1 ((CAN_TypeDef *) CAN1_BASE)
14291430
#define CAN2 ((CAN_TypeDef *) CAN2_BASE)
14301431
#define I2C4 ((I2C_TypeDef *) I2C4_BASE)
@@ -16051,6 +16052,7 @@ typedef struct
1605116052
#define TIM16_OR1_TI1_RMP TIM16_OR1_TI1_RMP_Msk /*!<TI1_RMP[2:0] bits (TIM16 Input Capture 1 remap) */
1605216053
#define TIM16_OR1_TI1_RMP_0 (0x1U << TIM16_OR1_TI1_RMP_Pos) /*!< 0x00000001 */
1605316054
#define TIM16_OR1_TI1_RMP_1 (0x2U << TIM16_OR1_TI1_RMP_Pos) /*!< 0x00000002 */
16055+
#define TIM16_OR1_TI1_RMP_2 (0x4U << TIM16_OR1_TI1_RMP_Pos) /*!< 0x00000004 */
1605416056

1605516057
/******************* Bit definition for TIM16_OR2 register ******************/
1605616058
#define TIM16_OR2_BKINE_Pos (0U)

0 commit comments

Comments
 (0)