Skip to content

Commit 7e2bb73

Browse files
committed
[H7] Update STM32H7xx CMSIS Drivers to v1.9.0
Included in STM32CubeH7 FW v1.8.0 Signed-off-by: Frederic Pillon <[email protected]>
1 parent 9dec9f6 commit 7e2bb73

Some content is hidden

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

52 files changed

+152350
-163
lines changed

system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h723xx.h

Lines changed: 24126 additions & 0 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h725xx.h

Lines changed: 24138 additions & 0 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h730xx.h

Lines changed: 24617 additions & 0 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h730xxq.h

Lines changed: 24629 additions & 0 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h733xx.h

Lines changed: 24617 additions & 0 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h735xx.h

Lines changed: 24629 additions & 0 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h742xx.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3991,7 +3991,7 @@ typedef struct
39913991

39923992
/***************** Bit definition for FDCAN_ECR register *********************/
39933993
#define FDCAN_ECR_TEC_Pos (0U)
3994-
#define FDCAN_ECR_TEC_Msk (0xFUL << FDCAN_ECR_TEC_Pos) /*!< 0x0000000F */
3994+
#define FDCAN_ECR_TEC_Msk (0xFFUL << FDCAN_ECR_TEC_Pos) /*!< 0x000000FF */
39953995
#define FDCAN_ECR_TEC FDCAN_ECR_TEC_Msk /*!<Transmit Error Counter */
39963996
#define FDCAN_ECR_REC_Pos (8U)
39973997
#define FDCAN_ECR_REC_Msk (0x7FUL << FDCAN_ECR_REC_Pos) /*!< 0x00007F00 */
@@ -24984,14 +24984,16 @@ typedef struct
2498424984
((INSTANCE) == I2C2) || \
2498524985
((INSTANCE) == I2C3) || \
2498624986
((INSTANCE) == I2C4))
24987-
/************** I2C Instances : wakeup capability from stop modes *************/
24988-
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
2498924987

2499024988
/****************************** SMBUS Instances *******************************/
2499124989
#define IS_SMBUS_ALL_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \
2499224990
((INSTANCE) == I2C2) || \
2499324991
((INSTANCE) == I2C3) || \
2499424992
((INSTANCE) == I2C4))
24993+
24994+
/************** I2C Instances : wakeup capability from stop modes *************/
24995+
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
24996+
2499524997
/******************************** I2S Instances *******************************/
2499624998
#define IS_I2S_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
2499724999
((INSTANCE) == SPI2) || \
@@ -25008,9 +25010,6 @@ typedef struct
2500825010
#define IS_SDMMC_ALL_INSTANCE(_INSTANCE_) (((_INSTANCE_) == SDMMC1) || \
2500925011
((_INSTANCE_) == SDMMC2))
2501025012

25011-
/******************************** SMBUS Instances *****************************/
25012-
#define IS_SMBUS_INSTANCE(INSTANCE) ((INSTANCE) == I2C1)
25013-
2501425013
/******************************** SPI Instances *******************************/
2501525014
#define IS_SPI_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
2501625015
((INSTANCE) == SPI2) || \

system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h743xx.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4086,7 +4086,7 @@ typedef struct
40864086

40874087
/***************** Bit definition for FDCAN_ECR register *********************/
40884088
#define FDCAN_ECR_TEC_Pos (0U)
4089-
#define FDCAN_ECR_TEC_Msk (0xFUL << FDCAN_ECR_TEC_Pos) /*!< 0x0000000F */
4089+
#define FDCAN_ECR_TEC_Msk (0xFFUL << FDCAN_ECR_TEC_Pos) /*!< 0x000000FF */
40904090
#define FDCAN_ECR_TEC FDCAN_ECR_TEC_Msk /*!<Transmit Error Counter */
40914091
#define FDCAN_ECR_REC_Pos (8U)
40924092
#define FDCAN_ECR_REC_Msk (0x7FUL << FDCAN_ECR_REC_Pos) /*!< 0x00007F00 */
@@ -25632,14 +25632,16 @@ typedef struct
2563225632
((INSTANCE) == I2C2) || \
2563325633
((INSTANCE) == I2C3) || \
2563425634
((INSTANCE) == I2C4))
25635-
/************** I2C Instances : wakeup capability from stop modes *************/
25636-
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
2563725635

2563825636
/****************************** SMBUS Instances *******************************/
2563925637
#define IS_SMBUS_ALL_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \
2564025638
((INSTANCE) == I2C2) || \
2564125639
((INSTANCE) == I2C3) || \
2564225640
((INSTANCE) == I2C4))
25641+
25642+
/************** I2C Instances : wakeup capability from stop modes *************/
25643+
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
25644+
2564325645
/******************************** I2S Instances *******************************/
2564425646
#define IS_I2S_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
2564525647
((INSTANCE) == SPI2) || \
@@ -25658,9 +25660,6 @@ typedef struct
2565825660
#define IS_SDMMC_ALL_INSTANCE(_INSTANCE_) (((_INSTANCE_) == SDMMC1) || \
2565925661
((_INSTANCE_) == SDMMC2))
2566025662

25661-
/******************************** SMBUS Instances *****************************/
25662-
#define IS_SMBUS_INSTANCE(INSTANCE) ((INSTANCE) == I2C1)
25663-
2566425663
/******************************** SPI Instances *******************************/
2566525664
#define IS_SPI_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
2566625665
((INSTANCE) == SPI2) || \

system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h745xx.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4189,7 +4189,7 @@ typedef struct
41894189

41904190
/***************** Bit definition for FDCAN_ECR register *********************/
41914191
#define FDCAN_ECR_TEC_Pos (0U)
4192-
#define FDCAN_ECR_TEC_Msk (0xFUL << FDCAN_ECR_TEC_Pos) /*!< 0x0000000F */
4192+
#define FDCAN_ECR_TEC_Msk (0xFFUL << FDCAN_ECR_TEC_Pos) /*!< 0x000000FF */
41934193
#define FDCAN_ECR_TEC FDCAN_ECR_TEC_Msk /*!<Transmit Error Counter */
41944194
#define FDCAN_ECR_REC_Pos (8U)
41954195
#define FDCAN_ECR_REC_Msk (0x7FUL << FDCAN_ECR_REC_Pos) /*!< 0x00007F00 */
@@ -26404,14 +26404,16 @@ typedef struct
2640426404
((INSTANCE) == I2C2) || \
2640526405
((INSTANCE) == I2C3) || \
2640626406
((INSTANCE) == I2C4))
26407-
/************** I2C Instances : wakeup capability from stop modes *************/
26408-
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
2640926407

2641026408
/****************************** SMBUS Instances *******************************/
2641126409
#define IS_SMBUS_ALL_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \
2641226410
((INSTANCE) == I2C2) || \
2641326411
((INSTANCE) == I2C3) || \
2641426412
((INSTANCE) == I2C4))
26413+
26414+
/************** I2C Instances : wakeup capability from stop modes *************/
26415+
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
26416+
2641526417
/******************************** I2S Instances *******************************/
2641626418
#define IS_I2S_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
2641726419
((INSTANCE) == SPI2) || \
@@ -26430,9 +26432,6 @@ typedef struct
2643026432
#define IS_SDMMC_ALL_INSTANCE(_INSTANCE_) (((_INSTANCE_) == SDMMC1) || \
2643126433
((_INSTANCE_) == SDMMC2))
2643226434

26433-
/******************************** SMBUS Instances *****************************/
26434-
#define IS_SMBUS_INSTANCE(INSTANCE) ((INSTANCE) == I2C1)
26435-
2643626435
/******************************** SPI Instances *******************************/
2643726436
#define IS_SPI_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
2643826437
((INSTANCE) == SPI2) || \

system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h747xx.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4272,7 +4272,7 @@ typedef struct
42724272

42734273
/***************** Bit definition for FDCAN_ECR register *********************/
42744274
#define FDCAN_ECR_TEC_Pos (0U)
4275-
#define FDCAN_ECR_TEC_Msk (0xFUL << FDCAN_ECR_TEC_Pos) /*!< 0x0000000F */
4275+
#define FDCAN_ECR_TEC_Msk (0xFFUL << FDCAN_ECR_TEC_Pos) /*!< 0x000000FF */
42764276
#define FDCAN_ECR_TEC FDCAN_ECR_TEC_Msk /*!<Transmit Error Counter */
42774277
#define FDCAN_ECR_REC_Pos (8U)
42784278
#define FDCAN_ECR_REC_Msk (0x7FUL << FDCAN_ECR_REC_Pos) /*!< 0x00007F00 */
@@ -29577,14 +29577,16 @@ typedef struct
2957729577
((INSTANCE) == I2C2) || \
2957829578
((INSTANCE) == I2C3) || \
2957929579
((INSTANCE) == I2C4))
29580-
/************** I2C Instances : wakeup capability from stop modes *************/
29581-
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
2958229580

2958329581
/****************************** SMBUS Instances *******************************/
2958429582
#define IS_SMBUS_ALL_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \
2958529583
((INSTANCE) == I2C2) || \
2958629584
((INSTANCE) == I2C3) || \
2958729585
((INSTANCE) == I2C4))
29586+
29587+
/************** I2C Instances : wakeup capability from stop modes *************/
29588+
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
29589+
2958829590
/******************************** I2S Instances *******************************/
2958929591
#define IS_I2S_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
2959029592
((INSTANCE) == SPI2) || \
@@ -29603,9 +29605,6 @@ typedef struct
2960329605
#define IS_SDMMC_ALL_INSTANCE(_INSTANCE_) (((_INSTANCE_) == SDMMC1) || \
2960429606
((_INSTANCE_) == SDMMC2))
2960529607

29606-
/******************************** SMBUS Instances *****************************/
29607-
#define IS_SMBUS_INSTANCE(INSTANCE) ((INSTANCE) == I2C1)
29608-
2960929608
/******************************** SPI Instances *******************************/
2961029609
#define IS_SPI_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
2961129610
((INSTANCE) == SPI2) || \

0 commit comments

Comments
 (0)