Skip to content

Commit 5d7daf2

Browse files
committed
L1: update STM32L1xx CMSIS Drivers to v2.3.2
Included in STM32CubeL1 FW v1.10.3 Signed-off-by: Frederic Pillon <[email protected]>
1 parent d206c74 commit 5d7daf2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+856
-591
lines changed

Diff for: system/Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l100xb.h

+13-32
Original file line numberDiff line numberDiff line change
@@ -710,6 +710,15 @@ typedef struct
710710
* @{
711711
*/
712712

713+
/** @addtogroup Hardware_Constant_Definition
714+
* @{
715+
*/
716+
#define LSI_STARTUP_TIME 200U /*!< LSI Maximum startup time in us */
717+
718+
/**
719+
* @}
720+
*/
721+
713722
/** @addtogroup Peripheral_Registers_Bits_Definition
714723
* @{
715724
*/
@@ -2741,6 +2750,10 @@ typedef struct
27412750
/* (FLASH, DATA_EEPROM, OB) */
27422751
/* */
27432752
/******************************************************************************/
2753+
/*
2754+
* @brief Specific device feature definitions (not present on all devices in the STM32L1 serie)
2755+
*/
2756+
#define FLASH_CUT1
27442757

27452758
/******************* Bit definition for FLASH_ACR register ******************/
27462759
#define FLASH_ACR_LATENCY_Pos (0U)
@@ -5167,8 +5180,6 @@ typedef struct
51675180
#define SYSCFG_EXTICR1_EXTI0_PD (0x00000003U) /*!< PD[0] pin */
51685181
#define SYSCFG_EXTICR1_EXTI0_PE (0x00000004U) /*!< PE[0] pin */
51695182
#define SYSCFG_EXTICR1_EXTI0_PH (0x00000005U) /*!< PH[0] pin */
5170-
#define SYSCFG_EXTICR1_EXTI0_PF (0x00000006U) /*!< PF[0] pin */
5171-
#define SYSCFG_EXTICR1_EXTI0_PG (0x00000007U) /*!< PG[0] pin */
51725183

51735184
/**
51745185
* @brief EXTI1 configuration
@@ -5179,8 +5190,6 @@ typedef struct
51795190
#define SYSCFG_EXTICR1_EXTI1_PD (0x00000030U) /*!< PD[1] pin */
51805191
#define SYSCFG_EXTICR1_EXTI1_PE (0x00000040U) /*!< PE[1] pin */
51815192
#define SYSCFG_EXTICR1_EXTI1_PH (0x00000050U) /*!< PH[1] pin */
5182-
#define SYSCFG_EXTICR1_EXTI1_PF (0x00000060U) /*!< PF[1] pin */
5183-
#define SYSCFG_EXTICR1_EXTI1_PG (0x00000070U) /*!< PG[1] pin */
51845193

51855194
/**
51865195
* @brief EXTI2 configuration
@@ -5191,8 +5200,6 @@ typedef struct
51915200
#define SYSCFG_EXTICR1_EXTI2_PD (0x00000300U) /*!< PD[2] pin */
51925201
#define SYSCFG_EXTICR1_EXTI2_PE (0x00000400U) /*!< PE[2] pin */
51935202
#define SYSCFG_EXTICR1_EXTI2_PH (0x00000500U) /*!< PH[2] pin */
5194-
#define SYSCFG_EXTICR1_EXTI2_PF (0x00000600U) /*!< PF[2] pin */
5195-
#define SYSCFG_EXTICR1_EXTI2_PG (0x00000700U) /*!< PG[2] pin */
51965203

51975204
/**
51985205
* @brief EXTI3 configuration
@@ -5202,8 +5209,6 @@ typedef struct
52025209
#define SYSCFG_EXTICR1_EXTI3_PC (0x00002000U) /*!< PC[3] pin */
52035210
#define SYSCFG_EXTICR1_EXTI3_PD (0x00003000U) /*!< PD[3] pin */
52045211
#define SYSCFG_EXTICR1_EXTI3_PE (0x00004000U) /*!< PE[3] pin */
5205-
#define SYSCFG_EXTICR1_EXTI3_PF (0x00003000U) /*!< PF[3] pin */
5206-
#define SYSCFG_EXTICR1_EXTI3_PG (0x00004000U) /*!< PG[3] pin */
52075212

52085213
/***************** Bit definition for SYSCFG_EXTICR2 register *****************/
52095214
#define SYSCFG_EXTICR2_EXTI4_Pos (0U)
@@ -5227,8 +5232,6 @@ typedef struct
52275232
#define SYSCFG_EXTICR2_EXTI4_PC (0x00000002U) /*!< PC[4] pin */
52285233
#define SYSCFG_EXTICR2_EXTI4_PD (0x00000003U) /*!< PD[4] pin */
52295234
#define SYSCFG_EXTICR2_EXTI4_PE (0x00000004U) /*!< PE[4] pin */
5230-
#define SYSCFG_EXTICR2_EXTI4_PF (0x00000006U) /*!< PF[4] pin */
5231-
#define SYSCFG_EXTICR2_EXTI4_PG (0x00000007U) /*!< PG[4] pin */
52325235

52335236
/**
52345237
* @brief EXTI5 configuration
@@ -5238,8 +5241,6 @@ typedef struct
52385241
#define SYSCFG_EXTICR2_EXTI5_PC (0x00000020U) /*!< PC[5] pin */
52395242
#define SYSCFG_EXTICR2_EXTI5_PD (0x00000030U) /*!< PD[5] pin */
52405243
#define SYSCFG_EXTICR2_EXTI5_PE (0x00000040U) /*!< PE[5] pin */
5241-
#define SYSCFG_EXTICR2_EXTI5_PF (0x00000060U) /*!< PF[5] pin */
5242-
#define SYSCFG_EXTICR2_EXTI5_PG (0x00000070U) /*!< PG[5] pin */
52435244

52445245
/**
52455246
* @brief EXTI6 configuration
@@ -5249,8 +5250,6 @@ typedef struct
52495250
#define SYSCFG_EXTICR2_EXTI6_PC (0x00000200U) /*!< PC[6] pin */
52505251
#define SYSCFG_EXTICR2_EXTI6_PD (0x00000300U) /*!< PD[6] pin */
52515252
#define SYSCFG_EXTICR2_EXTI6_PE (0x00000400U) /*!< PE[6] pin */
5252-
#define SYSCFG_EXTICR2_EXTI6_PF (0x00000600U) /*!< PF[6] pin */
5253-
#define SYSCFG_EXTICR2_EXTI6_PG (0x00000700U) /*!< PG[6] pin */
52545253

52555254
/**
52565255
* @brief EXTI7 configuration
@@ -5260,8 +5259,6 @@ typedef struct
52605259
#define SYSCFG_EXTICR2_EXTI7_PC (0x00002000U) /*!< PC[7] pin */
52615260
#define SYSCFG_EXTICR2_EXTI7_PD (0x00003000U) /*!< PD[7] pin */
52625261
#define SYSCFG_EXTICR2_EXTI7_PE (0x00004000U) /*!< PE[7] pin */
5263-
#define SYSCFG_EXTICR2_EXTI7_PF (0x00006000U) /*!< PF[7] pin */
5264-
#define SYSCFG_EXTICR2_EXTI7_PG (0x00007000U) /*!< PG[7] pin */
52655262

52665263
/***************** Bit definition for SYSCFG_EXTICR3 register *****************/
52675264
#define SYSCFG_EXTICR3_EXTI8_Pos (0U)
@@ -5285,8 +5282,6 @@ typedef struct
52855282
#define SYSCFG_EXTICR3_EXTI8_PC (0x00000002U) /*!< PC[8] pin */
52865283
#define SYSCFG_EXTICR3_EXTI8_PD (0x00000003U) /*!< PD[8] pin */
52875284
#define SYSCFG_EXTICR3_EXTI8_PE (0x00000004U) /*!< PE[8] pin */
5288-
#define SYSCFG_EXTICR3_EXTI8_PF (0x00000006U) /*!< PF[8] pin */
5289-
#define SYSCFG_EXTICR3_EXTI8_PG (0x00000007U) /*!< PG[8] pin */
52905285

52915286
/**
52925287
* @brief EXTI9 configuration
@@ -5296,8 +5291,6 @@ typedef struct
52965291
#define SYSCFG_EXTICR3_EXTI9_PC (0x00000020U) /*!< PC[9] pin */
52975292
#define SYSCFG_EXTICR3_EXTI9_PD (0x00000030U) /*!< PD[9] pin */
52985293
#define SYSCFG_EXTICR3_EXTI9_PE (0x00000040U) /*!< PE[9] pin */
5299-
#define SYSCFG_EXTICR3_EXTI9_PF (0x00000060U) /*!< PF[9] pin */
5300-
#define SYSCFG_EXTICR3_EXTI9_PG (0x00000070U) /*!< PG[9] pin */
53015294

53025295
/**
53035296
* @brief EXTI10 configuration
@@ -5307,8 +5300,6 @@ typedef struct
53075300
#define SYSCFG_EXTICR3_EXTI10_PC (0x00000200U) /*!< PC[10] pin */
53085301
#define SYSCFG_EXTICR3_EXTI10_PD (0x00000300U) /*!< PD[10] pin */
53095302
#define SYSCFG_EXTICR3_EXTI10_PE (0x00000400U) /*!< PE[10] pin */
5310-
#define SYSCFG_EXTICR3_EXTI10_PF (0x00000600U) /*!< PF[10] pin */
5311-
#define SYSCFG_EXTICR3_EXTI10_PG (0x00000700U) /*!< PG[10] pin */
53125303

53135304
/**
53145305
* @brief EXTI11 configuration
@@ -5318,8 +5309,6 @@ typedef struct
53185309
#define SYSCFG_EXTICR3_EXTI11_PC (0x00002000U) /*!< PC[11] pin */
53195310
#define SYSCFG_EXTICR3_EXTI11_PD (0x00003000U) /*!< PD[11] pin */
53205311
#define SYSCFG_EXTICR3_EXTI11_PE (0x00004000U) /*!< PE[11] pin */
5321-
#define SYSCFG_EXTICR3_EXTI11_PF (0x00006000U) /*!< PF[11] pin */
5322-
#define SYSCFG_EXTICR3_EXTI11_PG (0x00007000U) /*!< PG[11] pin */
53235312

53245313
/***************** Bit definition for SYSCFG_EXTICR4 register *****************/
53255314
#define SYSCFG_EXTICR4_EXTI12_Pos (0U)
@@ -5343,8 +5332,6 @@ typedef struct
53435332
#define SYSCFG_EXTICR4_EXTI12_PC (0x00000002U) /*!< PC[12] pin */
53445333
#define SYSCFG_EXTICR4_EXTI12_PD (0x00000003U) /*!< PD[12] pin */
53455334
#define SYSCFG_EXTICR4_EXTI12_PE (0x00000004U) /*!< PE[12] pin */
5346-
#define SYSCFG_EXTICR4_EXTI12_PF (0x00000006U) /*!< PF[12] pin */
5347-
#define SYSCFG_EXTICR4_EXTI12_PG (0x00000007U) /*!< PG[12] pin */
53485335

53495336
/**
53505337
* @brief EXTI13 configuration
@@ -5354,8 +5341,6 @@ typedef struct
53545341
#define SYSCFG_EXTICR4_EXTI13_PC (0x00000020U) /*!< PC[13] pin */
53555342
#define SYSCFG_EXTICR4_EXTI13_PD (0x00000030U) /*!< PD[13] pin */
53565343
#define SYSCFG_EXTICR4_EXTI13_PE (0x00000040U) /*!< PE[13] pin */
5357-
#define SYSCFG_EXTICR4_EXTI13_PF (0x00000060U) /*!< PF[13] pin */
5358-
#define SYSCFG_EXTICR4_EXTI13_PG (0x00000070U) /*!< PG[13] pin */
53595344

53605345
/**
53615346
* @brief EXTI14 configuration
@@ -5365,8 +5350,6 @@ typedef struct
53655350
#define SYSCFG_EXTICR4_EXTI14_PC (0x00000200U) /*!< PC[14] pin */
53665351
#define SYSCFG_EXTICR4_EXTI14_PD (0x00000300U) /*!< PD[14] pin */
53675352
#define SYSCFG_EXTICR4_EXTI14_PE (0x00000400U) /*!< PE[14] pin */
5368-
#define SYSCFG_EXTICR4_EXTI14_PF (0x00000600U) /*!< PF[14] pin */
5369-
#define SYSCFG_EXTICR4_EXTI14_PG (0x00000700U) /*!< PG[14] pin */
53705353

53715354
/**
53725355
* @brief EXTI15 configuration
@@ -5376,8 +5359,6 @@ typedef struct
53765359
#define SYSCFG_EXTICR4_EXTI15_PC (0x00002000U) /*!< PC[15] pin */
53775360
#define SYSCFG_EXTICR4_EXTI15_PD (0x00003000U) /*!< PD[15] pin */
53785361
#define SYSCFG_EXTICR4_EXTI15_PE (0x00004000U) /*!< PE[15] pin */
5379-
#define SYSCFG_EXTICR4_EXTI15_PF (0x00006000U) /*!< PF[15] pin */
5380-
#define SYSCFG_EXTICR4_EXTI15_PG (0x00007000U) /*!< PG[15] pin */
53815362

53825363
/******************************************************************************/
53835364
/* */

0 commit comments

Comments
 (0)