lib: update lib/stm32h7 to v1.9.0 for stm32h723
Signed-off-by: Chen.BJ from BigTreeTech chenbj@biqu3d.com
This commit is contained in:
parent
c5d56f4438
commit
50b2e2e67e
|
@ -90,7 +90,7 @@ taken from the Drivers/CMSIS/Device/ST/STM32L4xx/ directory.
|
|||
|
||||
The stm32h7 directory contains code from:
|
||||
https://github.com/STMicroelectronics/STM32CubeH7
|
||||
version v1.7.0 (79196b09acfb720589f58e93ccf956401b18a191). Contents
|
||||
version v1.9.0 (ccb11556044540590ca6e45056e6b65cdca2deb2). Contents
|
||||
taken from the Drivers/CMSIS/Device/ST/STM32H7xx/ directory.
|
||||
|
||||
The rp2040 directory contains code from the pico sdk:
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -631,7 +631,7 @@ typedef struct
|
|||
__IO uint32_t CBRUR; /*!< MDMA channel x Block Repeat address Update register, Address offset: 0x60 */
|
||||
__IO uint32_t CLAR; /*!< MDMA channel x Link Address register, Address offset: 0x64 */
|
||||
__IO uint32_t CTBR; /*!< MDMA channel x Trigger and Bus selection Register, Address offset: 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x6C */
|
||||
__IO uint32_t CMAR; /*!< MDMA channel x Mask address register, Address offset: 0x70 */
|
||||
__IO uint32_t CMDR; /*!< MDMA channel x Mask Data register, Address offset: 0x74 */
|
||||
}MDMA_Channel_TypeDef;
|
||||
|
@ -881,6 +881,15 @@ __IO uint32_t EMR3; /*!< EXTI Event mask register,
|
|||
__IO uint32_t PR3; /*!< EXTI Pending register, Address offset: 0xA8 */
|
||||
}EXTI_TypeDef;
|
||||
|
||||
/**
|
||||
* @brief This structure registers corresponds to EXTI_Typdef CPU1/CPU2 registers subset (IMRx, EMRx and PRx), allowing to define EXTI_D1/EXTI_D2
|
||||
* with rapid/common access to these IMRx, EMRx, PRx registers for CPU1 and CPU2.
|
||||
* Note that EXTI_D1 and EXTI_D2 bases addresses are calculated to point to CPUx first register:
|
||||
* IMR1 in case of EXTI_D1 that is addressing CPU1 (Coretx-M7)
|
||||
* C2IMR1 in case of EXTI_D2 that is addressing CPU2 (Coretx-M4)
|
||||
* Note: EXTI_D2 and corresponding C2IMRx, C2EMRx and C2PRx registers are available for Dual Core devices only
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
__IO uint32_t IMR1; /*!< EXTI Interrupt mask register, Address offset: 0x00 */
|
||||
|
@ -1571,7 +1580,7 @@ typedef struct
|
|||
{
|
||||
__IO uint32_t MCR; /*!< HRTIM Master Timer control register, Address offset: 0x00 */
|
||||
__IO uint32_t MISR; /*!< HRTIM Master Timer interrupt status register, Address offset: 0x04 */
|
||||
__IO uint32_t MICR; /*!< HRTIM Master Timer interupt clear register, Address offset: 0x08 */
|
||||
__IO uint32_t MICR; /*!< HRTIM Master Timer interrupt clear register, Address offset: 0x08 */
|
||||
__IO uint32_t MDIER; /*!< HRTIM Master Timer DMA/interrupt enable register Address offset: 0x0C */
|
||||
__IO uint32_t MCNTR; /*!< HRTIM Master Timer counter register, Address offset: 0x10 */
|
||||
__IO uint32_t MPER; /*!< HRTIM Master Timer period register, Address offset: 0x14 */
|
||||
|
@ -1876,6 +1885,90 @@ typedef struct
|
|||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @brief Global Programmer View
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint32_t RESERVED0[2036]; /*!< Reserved, Address offset: 0x00-0x1FCC */
|
||||
__IO uint32_t AXI_PERIPH_ID_4; /*!< AXI interconnect - peripheral ID4 register, Address offset: 0x1FD0 */
|
||||
uint32_t AXI_PERIPH_ID_5; /*!< Reserved, Address offset: 0x1FD4 */
|
||||
uint32_t AXI_PERIPH_ID_6; /*!< Reserved, Address offset: 0x1FD8 */
|
||||
uint32_t AXI_PERIPH_ID_7; /*!< Reserved, Address offset: 0x1FDC */
|
||||
__IO uint32_t AXI_PERIPH_ID_0; /*!< AXI interconnect - peripheral ID0 register, Address offset: 0x1FE0 */
|
||||
__IO uint32_t AXI_PERIPH_ID_1; /*!< AXI interconnect - peripheral ID1 register, Address offset: 0x1FE4 */
|
||||
__IO uint32_t AXI_PERIPH_ID_2; /*!< AXI interconnect - peripheral ID2 register, Address offset: 0x1FE8 */
|
||||
__IO uint32_t AXI_PERIPH_ID_3; /*!< AXI interconnect - peripheral ID3 register, Address offset: 0x1FEC */
|
||||
__IO uint32_t AXI_COMP_ID_0; /*!< AXI interconnect - component ID0 register, Address offset: 0x1FF0 */
|
||||
__IO uint32_t AXI_COMP_ID_1; /*!< AXI interconnect - component ID1 register, Address offset: 0x1FF4 */
|
||||
__IO uint32_t AXI_COMP_ID_2; /*!< AXI interconnect - component ID2 register, Address offset: 0x1FF8 */
|
||||
__IO uint32_t AXI_COMP_ID_3; /*!< AXI interconnect - component ID3 register, Address offset: 0x1FFC */
|
||||
uint32_t RESERVED1[2]; /*!< Reserved, Address offset: 0x2000-0x2004 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 1 bus matrix issuing functionality register, Address offset: 0x2008 */
|
||||
uint32_t RESERVED2[6]; /*!< Reserved, Address offset: 0x200C-0x2020 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD2; /*!< AXI interconnect - TARG 1 bus matrix functionality 2 register, Address offset: 0x2024 */
|
||||
uint32_t RESERVED3; /*!< Reserved, Address offset: 0x2028 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_LB; /*!< AXI interconnect - TARG 1 long burst functionality modification register, Address offset: 0x202C */
|
||||
uint32_t RESERVED4[54]; /*!< Reserved, Address offset: 0x2030-0x2104 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD; /*!< AXI interconnect - TARG 1 issuing functionality modification register, Address offset: 0x2108 */
|
||||
uint32_t RESERVED5[959]; /*!< Reserved, Address offset: 0x210C-0x3004 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 2 bus matrix issuing functionality register, Address offset: 0x3008 */
|
||||
uint32_t RESERVED6[6]; /*!< Reserved, Address offset: 0x300C-0x3020 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD2; /*!< AXI interconnect - TARG 2 bus matrix functionality 2 register, Address offset: 0x3024 */
|
||||
uint32_t RESERVED7; /*!< Reserved, Address offset: 0x3028 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_LB; /*!< AXI interconnect - TARG 2 long burst functionality modification register, Address offset: 0x302C */
|
||||
uint32_t RESERVED8[54]; /*!< Reserved, Address offset: 0x3030-0x3104 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD; /*!< AXI interconnect - TARG 2 issuing functionality modification register, Address offset: 0x3108 */
|
||||
uint32_t RESERVED9[959]; /*!< Reserved, Address offset: 0x310C-0x4004 */
|
||||
__IO uint32_t AXI_TARG3_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 3 bus matrix issuing functionality register, Address offset: 0x4008 */
|
||||
uint32_t RESERVED10[1023]; /*!< Reserved, Address offset: 0x400C-0x5004 */
|
||||
__IO uint32_t AXI_TARG4_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 4 bus matrix issuing functionality register, Address offset: 0x5008 */
|
||||
uint32_t RESERVED11[1023]; /*!< Reserved, Address offset: 0x500C-0x6004 */
|
||||
__IO uint32_t AXI_TARG5_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 5 bus matrix issuing functionality register, Address offset: 0x6008 */
|
||||
uint32_t RESERVED12[1023]; /*!< Reserved, Address offset: 0x600C-0x7004 */
|
||||
__IO uint32_t AXI_TARG6_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 6 bus matrix issuing functionality register, Address offset: 0x7008 */
|
||||
uint32_t RESERVED13[1023]; /*!< Reserved, Address offset: 0x700C-0x8004 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 7 bus matrix issuing functionality register, Address offset: 0x8008 */
|
||||
uint32_t RESERVED14[6]; /*!< Reserved, Address offset: 0x800C-0x8020 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD2; /*!< AXI interconnect - TARG 7 bus matrix functionality 2 register, Address offset: 0x8024 */
|
||||
uint32_t RESERVED15; /*!< Reserved, Address offset: 0x8028 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_LB; /*!< AXI interconnect - TARG 7 long burst functionality modification register, Address offset: 0x802C */
|
||||
uint32_t RESERVED16[54]; /*!< Reserved, Address offset: 0x8030-0x8104 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD; /*!< AXI interconnect - TARG 7 issuing functionality modification register, Address offset: 0x8108 */
|
||||
uint32_t RESERVED17[59334]; /*!< Reserved, Address offset: 0x810C-0x42020 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD2; /*!< AXI interconnect - INI 1 functionality modification 2 register, Address offset: 0x42024 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD_AHB; /*!< AXI interconnect - INI 1 AHB functionality modification register, Address offset: 0x42028 */
|
||||
uint32_t RESERVED18[53]; /*!< Reserved, Address offset: 0x4202C-0x420FC */
|
||||
__IO uint32_t AXI_INI1_READ_QOS; /*!< AXI interconnect - INI 1 read QoS register, Address offset: 0x42100 */
|
||||
__IO uint32_t AXI_INI1_WRITE_QOS; /*!< AXI interconnect - INI 1 write QoS register, Address offset: 0x42104 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD; /*!< AXI interconnect - INI 1 issuing functionality modification register, Address offset: 0x42108 */
|
||||
uint32_t RESERVED19[1021]; /*!< Reserved, Address offset: 0x4210C-0x430FC */
|
||||
__IO uint32_t AXI_INI2_READ_QOS; /*!< AXI interconnect - INI 2 read QoS register, Address offset: 0x43100 */
|
||||
__IO uint32_t AXI_INI2_WRITE_QOS; /*!< AXI interconnect - INI 2 write QoS register, Address offset: 0x43104 */
|
||||
__IO uint32_t AXI_INI2_FN_MOD; /*!< AXI interconnect - INI 2 issuing functionality modification register, Address offset: 0x43108 */
|
||||
uint32_t RESERVED20[966]; /*!< Reserved, Address offset: 0x4310C-0x44020 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD2; /*!< AXI interconnect - INI 3 functionality modification 2 register, Address offset: 0x44024 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD_AHB; /*!< AXI interconnect - INI 3 AHB functionality modification register, Address offset: 0x44028 */
|
||||
uint32_t RESERVED21[53]; /*!< Reserved, Address offset: 0x4402C-0x440FC */
|
||||
__IO uint32_t AXI_INI3_READ_QOS; /*!< AXI interconnect - INI 3 read QoS register, Address offset: 0x44100 */
|
||||
__IO uint32_t AXI_INI3_WRITE_QOS; /*!< AXI interconnect - INI 3 write QoS register, Address offset: 0x44104 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD; /*!< AXI interconnect - INI 3 issuing functionality modification register, Address offset: 0x44108 */
|
||||
uint32_t RESERVED22[1021]; /*!< Reserved, Address offset: 0x4410C-0x450FC */
|
||||
__IO uint32_t AXI_INI4_READ_QOS; /*!< AXI interconnect - INI 4 read QoS register, Address offset: 0x45100 */
|
||||
__IO uint32_t AXI_INI4_WRITE_QOS; /*!< AXI interconnect - INI 4 write QoS register, Address offset: 0x45104 */
|
||||
__IO uint32_t AXI_INI4_FN_MOD; /*!< AXI interconnect - INI 4 issuing functionality modification register, Address offset: 0x45108 */
|
||||
uint32_t RESERVED23[1021]; /*!< Reserved, Address offset: 0x4510C-0x460FC */
|
||||
__IO uint32_t AXI_INI5_READ_QOS; /*!< AXI interconnect - INI 5 read QoS register, Address offset: 0x46100 */
|
||||
__IO uint32_t AXI_INI5_WRITE_QOS; /*!< AXI interconnect - INI 5 write QoS register, Address offset: 0x46104 */
|
||||
__IO uint32_t AXI_INI5_FN_MOD; /*!< AXI interconnect - INI 5 issuing functionality modification register, Address offset: 0x46108 */
|
||||
uint32_t RESERVED24[1021]; /*!< Reserved, Address offset: 0x4610C-0x470FC */
|
||||
__IO uint32_t AXI_INI6_READ_QOS; /*!< AXI interconnect - INI 6 read QoS register, Address offset: 0x47100 */
|
||||
__IO uint32_t AXI_INI6_WRITE_QOS; /*!< AXI interconnect - INI 6 write QoS register, Address offset: 0x47104 */
|
||||
__IO uint32_t AXI_INI6_FN_MOD; /*!< AXI interconnect - INI 6 issuing functionality modification register, Address offset: 0x47108 */
|
||||
|
||||
} GPV_TypeDef;
|
||||
|
||||
/** @addtogroup Peripheral_memory_map
|
||||
* @{
|
||||
*/
|
||||
|
@ -2226,6 +2319,9 @@ typedef struct
|
|||
#define RAMECC3_Monitor2_BASE (RAMECC3_BASE + 0x40UL)
|
||||
|
||||
|
||||
|
||||
#define GPV_BASE (PERIPH_BASE + 0x11000000UL) /*!< GPV_BASE (PERIPH_BASE + 0x11000000UL) */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -2512,6 +2608,8 @@ typedef struct
|
|||
#define USB_OTG_FS USB2_OTG_FS
|
||||
#define USB_OTG_FS_PERIPH_BASE USB2_OTG_FS_PERIPH_BASE
|
||||
|
||||
#define GPV ((GPV_TypeDef *) GPV_BASE)
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -2984,7 +3082,7 @@ typedef struct
|
|||
/******************** Bit definition for ADC_SQR1 register ********************/
|
||||
#define ADC_SQR1_L_Pos (0U)
|
||||
#define ADC_SQR1_L_Msk (0xFUL << ADC_SQR1_L_Pos) /*!< 0x0000000F */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence lenght */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence length */
|
||||
#define ADC_SQR1_L_0 (0x1UL << ADC_SQR1_L_Pos) /*!< 0x00000001 */
|
||||
#define ADC_SQR1_L_1 (0x2UL << ADC_SQR1_L_Pos) /*!< 0x00000002 */
|
||||
#define ADC_SQR1_L_2 (0x4UL << ADC_SQR1_L_Pos) /*!< 0x00000004 */
|
||||
|
@ -3864,7 +3962,7 @@ typedef struct
|
|||
/***************** Bit definition for FDCAN_ENDN register *******************/
|
||||
#define FDCAN_ENDN_ETV_Pos (0U)
|
||||
#define FDCAN_ENDN_ETV_Msk (0xFFFFFFFFUL << FDCAN_ENDN_ETV_Pos) /*!< 0xFFFFFFFF */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endiannes Test Value */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endianness Test Value */
|
||||
|
||||
/***************** Bit definition for FDCAN_DBTP register *******************/
|
||||
#define FDCAN_DBTP_DSJW_Pos (0U)
|
||||
|
@ -3991,7 +4089,7 @@ typedef struct
|
|||
|
||||
/***************** Bit definition for FDCAN_ECR register *********************/
|
||||
#define FDCAN_ECR_TEC_Pos (0U)
|
||||
#define FDCAN_ECR_TEC_Msk (0xFUL << FDCAN_ECR_TEC_Pos) /*!< 0x0000000F */
|
||||
#define FDCAN_ECR_TEC_Msk (0xFFUL << FDCAN_ECR_TEC_Pos) /*!< 0x000000FF */
|
||||
#define FDCAN_ECR_TEC FDCAN_ECR_TEC_Msk /*!<Transmit Error Counter */
|
||||
#define FDCAN_ECR_REC_Pos (8U)
|
||||
#define FDCAN_ECR_REC_Msk (0x7FUL << FDCAN_ECR_REC_Pos) /*!< 0x00007F00 */
|
||||
|
@ -10457,8 +10555,11 @@ typedef struct
|
|||
/*
|
||||
* @brief FLASH Global Defines
|
||||
*/
|
||||
#define FLASH_SIZE_DATA_REGISTER 0x1FF1E880U
|
||||
#define FLASH_SECTOR_TOTAL 8U /* 8 sectors */
|
||||
#define FLASH_SIZE 0x200000UL /* 2 MB */
|
||||
#define FLASH_SIZE ((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0xFFFFU)) ? 0x200000U : \
|
||||
((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0x0000U)) ? 0x200000U : \
|
||||
(((uint32_t)(*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0FFFU)) << 10U))) /* 2 MB */
|
||||
#define FLASH_BANK_SIZE (FLASH_SIZE >> 1) /* 1 MB */
|
||||
#define FLASH_SECTOR_SIZE 0x00020000UL /* 128 KB */
|
||||
#define FLASH_LATENCY_DEFAULT FLASH_ACR_LATENCY_7WS /* FLASH Seven Latency cycles */
|
||||
|
@ -10808,7 +10909,7 @@ typedef struct
|
|||
/****************** Bit definition for FMC_BCR1 register *******************/
|
||||
#define FMC_BCR1_CCLKEN_Pos (20U)
|
||||
#define FMC_BCR1_CCLKEN_Msk (0x1UL << FMC_BCR1_CCLKEN_Pos) /*!< 0x00100000 */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continous clock enable */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continuous clock enable */
|
||||
#define FMC_BCR1_WFDIS_Pos (21U)
|
||||
#define FMC_BCR1_WFDIS_Msk (0x1UL << FMC_BCR1_WFDIS_Pos) /*!< 0x00200000 */
|
||||
#define FMC_BCR1_WFDIS FMC_BCR1_WFDIS_Msk /*!<Write FIFO Disable */
|
||||
|
@ -11288,7 +11389,7 @@ typedef struct
|
|||
|
||||
#define FMC_SDRTR_REIE_Pos (14U)
|
||||
#define FMC_SDRTR_REIE_Msk (0x1UL << FMC_SDRTR_REIE_Pos) /*!< 0x00004000 */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interupt enable */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interrupt enable */
|
||||
|
||||
/****************** Bit definition for FMC_SDSR register ******************/
|
||||
#define FMC_SDSR_RE_Pos (0U)
|
||||
|
@ -12861,7 +12962,7 @@ typedef struct
|
|||
#define MDMA_CISR_TCIF MDMA_CISR_TCIF_Msk /*!< Channel x buffer transfer complete interrupt flag */
|
||||
#define MDMA_CISR_CRQA_Pos (16U)
|
||||
#define MDMA_CISR_CRQA_Msk (0x1UL << MDMA_CISR_CRQA_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x ReQest Active flag */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x request Active flag */
|
||||
|
||||
/******************** Bit definition for MDMA_CxIFCR register ****************/
|
||||
#define MDMA_CIFCR_CTEIF_Pos (0U)
|
||||
|
@ -12926,13 +13027,13 @@ typedef struct
|
|||
#define MDMA_CCR_PL_1 (0x2UL << MDMA_CCR_PL_Pos) /*!< 0x00000080 */
|
||||
#define MDMA_CCR_BEX_Pos (12U)
|
||||
#define MDMA_CCR_BEX_Msk (0x1UL << MDMA_CCR_BEX_Pos) /*!< 0x00001000 */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianess eXchange */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianness eXchange */
|
||||
#define MDMA_CCR_HEX_Pos (13U)
|
||||
#define MDMA_CCR_HEX_Msk (0x1UL << MDMA_CCR_HEX_Pos) /*!< 0x00002000 */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianess eXchange */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianness eXchange */
|
||||
#define MDMA_CCR_WEX_Pos (14U)
|
||||
#define MDMA_CCR_WEX_Msk (0x1UL << MDMA_CCR_WEX_Pos) /*!< 0x00004000 */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianess eXchange */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianness eXchange */
|
||||
#define MDMA_CCR_SWRQ_Pos (16U)
|
||||
#define MDMA_CCR_SWRQ_Msk (0x1UL << MDMA_CCR_SWRQ_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CCR_SWRQ MDMA_CCR_SWRQ_Msk /*!< SW ReQuest */
|
||||
|
@ -12988,7 +13089,7 @@ typedef struct
|
|||
#define MDMA_CTCR_PKE MDMA_CTCR_PKE_Msk /*!< PacK Enable */
|
||||
#define MDMA_CTCR_PAM_Pos (26U)
|
||||
#define MDMA_CTCR_PAM_Msk (0x3UL << MDMA_CTCR_PAM_Pos) /*!< 0x0C000000 */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignement Mode */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignment Mode */
|
||||
#define MDMA_CTCR_PAM_0 (0x1UL << MDMA_CTCR_PAM_Pos) /*!< 0x4000000 */
|
||||
#define MDMA_CTCR_PAM_1 (0x2UL << MDMA_CTCR_PAM_Pos) /*!< 0x8000000 */
|
||||
#define MDMA_CTCR_TRGM_Pos (28U)
|
||||
|
@ -17747,7 +17848,7 @@ typedef struct
|
|||
#define QUADSPI_CR_ABORT QUADSPI_CR_ABORT_Msk /*!< Abort request */
|
||||
#define QUADSPI_CR_DMAEN_Pos (2U)
|
||||
#define QUADSPI_CR_DMAEN_Msk (0x1UL << QUADSPI_CR_DMAEN_Pos) /*!< 0x00000004 */
|
||||
#define QUADSPI_CR_DMAEN QUADSPI_CR_DMAEN_Msk /*!< DMA Enable */
|
||||
#define QUADSPI_CR_DMAEN QUADSPI_CR_DMAEN_Msk /*!< Reserved: needed for softawre compatibility (DMA Enable) */
|
||||
#define QUADSPI_CR_TCEN_Pos (3U)
|
||||
#define QUADSPI_CR_TCEN_Msk (0x1UL << QUADSPI_CR_TCEN_Pos) /*!< 0x00000008 */
|
||||
#define QUADSPI_CR_TCEN QUADSPI_CR_TCEN_Msk /*!< Timeout Counter Enable */
|
||||
|
@ -20288,7 +20389,7 @@ typedef struct
|
|||
/******************* Bit definition for SWPMI_RDR register ********************/
|
||||
#define SWPMI_RDR_RD_Pos (0U)
|
||||
#define SWPMI_RDR_RD_Msk (0xFFFFFFFFUL << SWPMI_RDR_RD_Pos) /*!< 0xFFFFFFFF */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Recive Data Register */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Receive Data Register */
|
||||
|
||||
|
||||
/******************* Bit definition for SWPMI_OR register ********************/
|
||||
|
@ -20375,12 +20476,6 @@ typedef struct
|
|||
#define DBGMCU_CR_DBG_STANDBYD1_Pos (2U)
|
||||
#define DBGMCU_CR_DBG_STANDBYD1_Msk (0x1UL << DBGMCU_CR_DBG_STANDBYD1_Pos) /*!< 0x00000004 */
|
||||
#define DBGMCU_CR_DBG_STANDBYD1 DBGMCU_CR_DBG_STANDBYD1_Msk
|
||||
#define DBGMCU_CR_DBG_STOPD3_Pos (7U)
|
||||
#define DBGMCU_CR_DBG_STOPD3_Msk (0x1UL << DBGMCU_CR_DBG_STOPD3_Pos) /*!< 0x00000080 */
|
||||
#define DBGMCU_CR_DBG_STOPD3 DBGMCU_CR_DBG_STOPD3_Msk
|
||||
#define DBGMCU_CR_DBG_STANDBYD3_Pos (8U)
|
||||
#define DBGMCU_CR_DBG_STANDBYD3_Msk (0x1UL << DBGMCU_CR_DBG_STANDBYD3_Pos) /*!< 0x00000100 */
|
||||
#define DBGMCU_CR_DBG_STANDBYD3 DBGMCU_CR_DBG_STANDBYD3_Msk
|
||||
#define DBGMCU_CR_DBG_TRACECKEN_Pos (20U)
|
||||
#define DBGMCU_CR_DBG_TRACECKEN_Msk (0x1UL << DBGMCU_CR_DBG_TRACECKEN_Pos) /*!< 0x00100000 */
|
||||
#define DBGMCU_CR_DBG_TRACECKEN DBGMCU_CR_DBG_TRACECKEN_Msk
|
||||
|
@ -22243,7 +22338,7 @@ typedef struct
|
|||
/**** Bit definition for Common HRTIM Timer Burst mode control register ********/
|
||||
#define HRTIM_BMCR_BME_Pos (0U)
|
||||
#define HRTIM_BMCR_BME_Msk (0x1UL << HRTIM_BMCR_BME_Pos) /*!< 0x00000001 */
|
||||
#define HRTIM_BMCR_BME HRTIM_BMCR_BME_Msk /*!< Burst mode enbale */
|
||||
#define HRTIM_BMCR_BME HRTIM_BMCR_BME_Msk /*!< Burst mode enable */
|
||||
#define HRTIM_BMCR_BMOM_Pos (1U)
|
||||
#define HRTIM_BMCR_BMOM_Msk (0x1UL << HRTIM_BMCR_BMOM_Pos) /*!< 0x00000002 */
|
||||
#define HRTIM_BMCR_BMOM HRTIM_BMCR_BMOM_Msk /*!< Burst mode operating mode */
|
||||
|
@ -24984,14 +25079,16 @@ typedef struct
|
|||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/****************************** SMBUS Instances *******************************/
|
||||
#define IS_SMBUS_ALL_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \
|
||||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/******************************** I2S Instances *******************************/
|
||||
#define IS_I2S_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -25008,9 +25105,6 @@ typedef struct
|
|||
#define IS_SDMMC_ALL_INSTANCE(_INSTANCE_) (((_INSTANCE_) == SDMMC1) || \
|
||||
((_INSTANCE_) == SDMMC2))
|
||||
|
||||
/******************************** SMBUS Instances *****************************/
|
||||
#define IS_SMBUS_INSTANCE(INSTANCE) ((INSTANCE) == I2C1)
|
||||
|
||||
/******************************** SPI Instances *******************************/
|
||||
#define IS_SPI_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -25189,6 +25283,7 @@ typedef struct
|
|||
((INSTANCE) == TIM6) || \
|
||||
((INSTANCE) == TIM7) || \
|
||||
((INSTANCE) == TIM8) || \
|
||||
((INSTANCE) == TIM12) || \
|
||||
((INSTANCE) == TIM15))
|
||||
|
||||
/****** TIM Instances : Salve mode available (TIMx_SMCR.TS available )*********/
|
||||
|
|
|
@ -634,7 +634,7 @@ typedef struct
|
|||
__IO uint32_t CBRUR; /*!< MDMA channel x Block Repeat address Update register, Address offset: 0x60 */
|
||||
__IO uint32_t CLAR; /*!< MDMA channel x Link Address register, Address offset: 0x64 */
|
||||
__IO uint32_t CTBR; /*!< MDMA channel x Trigger and Bus selection Register, Address offset: 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x6C */
|
||||
__IO uint32_t CMAR; /*!< MDMA channel x Mask address register, Address offset: 0x70 */
|
||||
__IO uint32_t CMDR; /*!< MDMA channel x Mask Data register, Address offset: 0x74 */
|
||||
}MDMA_Channel_TypeDef;
|
||||
|
@ -884,6 +884,15 @@ __IO uint32_t EMR3; /*!< EXTI Event mask register,
|
|||
__IO uint32_t PR3; /*!< EXTI Pending register, Address offset: 0xA8 */
|
||||
}EXTI_TypeDef;
|
||||
|
||||
/**
|
||||
* @brief This structure registers corresponds to EXTI_Typdef CPU1/CPU2 registers subset (IMRx, EMRx and PRx), allowing to define EXTI_D1/EXTI_D2
|
||||
* with rapid/common access to these IMRx, EMRx, PRx registers for CPU1 and CPU2.
|
||||
* Note that EXTI_D1 and EXTI_D2 bases addresses are calculated to point to CPUx first register:
|
||||
* IMR1 in case of EXTI_D1 that is addressing CPU1 (Coretx-M7)
|
||||
* C2IMR1 in case of EXTI_D2 that is addressing CPU2 (Coretx-M4)
|
||||
* Note: EXTI_D2 and corresponding C2IMRx, C2EMRx and C2PRx registers are available for Dual Core devices only
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
__IO uint32_t IMR1; /*!< EXTI Interrupt mask register, Address offset: 0x00 */
|
||||
|
@ -1658,7 +1667,7 @@ typedef struct
|
|||
{
|
||||
__IO uint32_t MCR; /*!< HRTIM Master Timer control register, Address offset: 0x00 */
|
||||
__IO uint32_t MISR; /*!< HRTIM Master Timer interrupt status register, Address offset: 0x04 */
|
||||
__IO uint32_t MICR; /*!< HRTIM Master Timer interupt clear register, Address offset: 0x08 */
|
||||
__IO uint32_t MICR; /*!< HRTIM Master Timer interrupt clear register, Address offset: 0x08 */
|
||||
__IO uint32_t MDIER; /*!< HRTIM Master Timer DMA/interrupt enable register Address offset: 0x0C */
|
||||
__IO uint32_t MCNTR; /*!< HRTIM Master Timer counter register, Address offset: 0x10 */
|
||||
__IO uint32_t MPER; /*!< HRTIM Master Timer period register, Address offset: 0x14 */
|
||||
|
@ -1963,6 +1972,90 @@ typedef struct
|
|||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @brief Global Programmer View
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint32_t RESERVED0[2036]; /*!< Reserved, Address offset: 0x00-0x1FCC */
|
||||
__IO uint32_t AXI_PERIPH_ID_4; /*!< AXI interconnect - peripheral ID4 register, Address offset: 0x1FD0 */
|
||||
uint32_t AXI_PERIPH_ID_5; /*!< Reserved, Address offset: 0x1FD4 */
|
||||
uint32_t AXI_PERIPH_ID_6; /*!< Reserved, Address offset: 0x1FD8 */
|
||||
uint32_t AXI_PERIPH_ID_7; /*!< Reserved, Address offset: 0x1FDC */
|
||||
__IO uint32_t AXI_PERIPH_ID_0; /*!< AXI interconnect - peripheral ID0 register, Address offset: 0x1FE0 */
|
||||
__IO uint32_t AXI_PERIPH_ID_1; /*!< AXI interconnect - peripheral ID1 register, Address offset: 0x1FE4 */
|
||||
__IO uint32_t AXI_PERIPH_ID_2; /*!< AXI interconnect - peripheral ID2 register, Address offset: 0x1FE8 */
|
||||
__IO uint32_t AXI_PERIPH_ID_3; /*!< AXI interconnect - peripheral ID3 register, Address offset: 0x1FEC */
|
||||
__IO uint32_t AXI_COMP_ID_0; /*!< AXI interconnect - component ID0 register, Address offset: 0x1FF0 */
|
||||
__IO uint32_t AXI_COMP_ID_1; /*!< AXI interconnect - component ID1 register, Address offset: 0x1FF4 */
|
||||
__IO uint32_t AXI_COMP_ID_2; /*!< AXI interconnect - component ID2 register, Address offset: 0x1FF8 */
|
||||
__IO uint32_t AXI_COMP_ID_3; /*!< AXI interconnect - component ID3 register, Address offset: 0x1FFC */
|
||||
uint32_t RESERVED1[2]; /*!< Reserved, Address offset: 0x2000-0x2004 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 1 bus matrix issuing functionality register, Address offset: 0x2008 */
|
||||
uint32_t RESERVED2[6]; /*!< Reserved, Address offset: 0x200C-0x2020 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD2; /*!< AXI interconnect - TARG 1 bus matrix functionality 2 register, Address offset: 0x2024 */
|
||||
uint32_t RESERVED3; /*!< Reserved, Address offset: 0x2028 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_LB; /*!< AXI interconnect - TARG 1 long burst functionality modification register, Address offset: 0x202C */
|
||||
uint32_t RESERVED4[54]; /*!< Reserved, Address offset: 0x2030-0x2104 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD; /*!< AXI interconnect - TARG 1 issuing functionality modification register, Address offset: 0x2108 */
|
||||
uint32_t RESERVED5[959]; /*!< Reserved, Address offset: 0x210C-0x3004 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 2 bus matrix issuing functionality register, Address offset: 0x3008 */
|
||||
uint32_t RESERVED6[6]; /*!< Reserved, Address offset: 0x300C-0x3020 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD2; /*!< AXI interconnect - TARG 2 bus matrix functionality 2 register, Address offset: 0x3024 */
|
||||
uint32_t RESERVED7; /*!< Reserved, Address offset: 0x3028 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_LB; /*!< AXI interconnect - TARG 2 long burst functionality modification register, Address offset: 0x302C */
|
||||
uint32_t RESERVED8[54]; /*!< Reserved, Address offset: 0x3030-0x3104 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD; /*!< AXI interconnect - TARG 2 issuing functionality modification register, Address offset: 0x3108 */
|
||||
uint32_t RESERVED9[959]; /*!< Reserved, Address offset: 0x310C-0x4004 */
|
||||
__IO uint32_t AXI_TARG3_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 3 bus matrix issuing functionality register, Address offset: 0x4008 */
|
||||
uint32_t RESERVED10[1023]; /*!< Reserved, Address offset: 0x400C-0x5004 */
|
||||
__IO uint32_t AXI_TARG4_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 4 bus matrix issuing functionality register, Address offset: 0x5008 */
|
||||
uint32_t RESERVED11[1023]; /*!< Reserved, Address offset: 0x500C-0x6004 */
|
||||
__IO uint32_t AXI_TARG5_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 5 bus matrix issuing functionality register, Address offset: 0x6008 */
|
||||
uint32_t RESERVED12[1023]; /*!< Reserved, Address offset: 0x600C-0x7004 */
|
||||
__IO uint32_t AXI_TARG6_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 6 bus matrix issuing functionality register, Address offset: 0x7008 */
|
||||
uint32_t RESERVED13[1023]; /*!< Reserved, Address offset: 0x700C-0x8004 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 7 bus matrix issuing functionality register, Address offset: 0x8008 */
|
||||
uint32_t RESERVED14[6]; /*!< Reserved, Address offset: 0x800C-0x8020 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD2; /*!< AXI interconnect - TARG 7 bus matrix functionality 2 register, Address offset: 0x8024 */
|
||||
uint32_t RESERVED15; /*!< Reserved, Address offset: 0x8028 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_LB; /*!< AXI interconnect - TARG 7 long burst functionality modification register, Address offset: 0x802C */
|
||||
uint32_t RESERVED16[54]; /*!< Reserved, Address offset: 0x8030-0x8104 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD; /*!< AXI interconnect - TARG 7 issuing functionality modification register, Address offset: 0x8108 */
|
||||
uint32_t RESERVED17[59334]; /*!< Reserved, Address offset: 0x810C-0x42020 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD2; /*!< AXI interconnect - INI 1 functionality modification 2 register, Address offset: 0x42024 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD_AHB; /*!< AXI interconnect - INI 1 AHB functionality modification register, Address offset: 0x42028 */
|
||||
uint32_t RESERVED18[53]; /*!< Reserved, Address offset: 0x4202C-0x420FC */
|
||||
__IO uint32_t AXI_INI1_READ_QOS; /*!< AXI interconnect - INI 1 read QoS register, Address offset: 0x42100 */
|
||||
__IO uint32_t AXI_INI1_WRITE_QOS; /*!< AXI interconnect - INI 1 write QoS register, Address offset: 0x42104 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD; /*!< AXI interconnect - INI 1 issuing functionality modification register, Address offset: 0x42108 */
|
||||
uint32_t RESERVED19[1021]; /*!< Reserved, Address offset: 0x4210C-0x430FC */
|
||||
__IO uint32_t AXI_INI2_READ_QOS; /*!< AXI interconnect - INI 2 read QoS register, Address offset: 0x43100 */
|
||||
__IO uint32_t AXI_INI2_WRITE_QOS; /*!< AXI interconnect - INI 2 write QoS register, Address offset: 0x43104 */
|
||||
__IO uint32_t AXI_INI2_FN_MOD; /*!< AXI interconnect - INI 2 issuing functionality modification register, Address offset: 0x43108 */
|
||||
uint32_t RESERVED20[966]; /*!< Reserved, Address offset: 0x4310C-0x44020 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD2; /*!< AXI interconnect - INI 3 functionality modification 2 register, Address offset: 0x44024 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD_AHB; /*!< AXI interconnect - INI 3 AHB functionality modification register, Address offset: 0x44028 */
|
||||
uint32_t RESERVED21[53]; /*!< Reserved, Address offset: 0x4402C-0x440FC */
|
||||
__IO uint32_t AXI_INI3_READ_QOS; /*!< AXI interconnect - INI 3 read QoS register, Address offset: 0x44100 */
|
||||
__IO uint32_t AXI_INI3_WRITE_QOS; /*!< AXI interconnect - INI 3 write QoS register, Address offset: 0x44104 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD; /*!< AXI interconnect - INI 3 issuing functionality modification register, Address offset: 0x44108 */
|
||||
uint32_t RESERVED22[1021]; /*!< Reserved, Address offset: 0x4410C-0x450FC */
|
||||
__IO uint32_t AXI_INI4_READ_QOS; /*!< AXI interconnect - INI 4 read QoS register, Address offset: 0x45100 */
|
||||
__IO uint32_t AXI_INI4_WRITE_QOS; /*!< AXI interconnect - INI 4 write QoS register, Address offset: 0x45104 */
|
||||
__IO uint32_t AXI_INI4_FN_MOD; /*!< AXI interconnect - INI 4 issuing functionality modification register, Address offset: 0x45108 */
|
||||
uint32_t RESERVED23[1021]; /*!< Reserved, Address offset: 0x4510C-0x460FC */
|
||||
__IO uint32_t AXI_INI5_READ_QOS; /*!< AXI interconnect - INI 5 read QoS register, Address offset: 0x46100 */
|
||||
__IO uint32_t AXI_INI5_WRITE_QOS; /*!< AXI interconnect - INI 5 write QoS register, Address offset: 0x46104 */
|
||||
__IO uint32_t AXI_INI5_FN_MOD; /*!< AXI interconnect - INI 5 issuing functionality modification register, Address offset: 0x46108 */
|
||||
uint32_t RESERVED24[1021]; /*!< Reserved, Address offset: 0x4610C-0x470FC */
|
||||
__IO uint32_t AXI_INI6_READ_QOS; /*!< AXI interconnect - INI 6 read QoS register, Address offset: 0x47100 */
|
||||
__IO uint32_t AXI_INI6_WRITE_QOS; /*!< AXI interconnect - INI 6 write QoS register, Address offset: 0x47104 */
|
||||
__IO uint32_t AXI_INI6_FN_MOD; /*!< AXI interconnect - INI 6 issuing functionality modification register, Address offset: 0x47108 */
|
||||
|
||||
} GPV_TypeDef;
|
||||
|
||||
/** @addtogroup Peripheral_memory_map
|
||||
* @{
|
||||
*/
|
||||
|
@ -2317,6 +2410,9 @@ typedef struct
|
|||
#define RAMECC3_Monitor2_BASE (RAMECC3_BASE + 0x40UL)
|
||||
|
||||
|
||||
|
||||
#define GPV_BASE (PERIPH_BASE + 0x11000000UL) /*!< GPV_BASE (PERIPH_BASE + 0x11000000UL) */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -2607,6 +2703,8 @@ typedef struct
|
|||
#define USB_OTG_FS USB2_OTG_FS
|
||||
#define USB_OTG_FS_PERIPH_BASE USB2_OTG_FS_PERIPH_BASE
|
||||
|
||||
#define GPV ((GPV_TypeDef *) GPV_BASE)
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -3079,7 +3177,7 @@ typedef struct
|
|||
/******************** Bit definition for ADC_SQR1 register ********************/
|
||||
#define ADC_SQR1_L_Pos (0U)
|
||||
#define ADC_SQR1_L_Msk (0xFUL << ADC_SQR1_L_Pos) /*!< 0x0000000F */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence lenght */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence length */
|
||||
#define ADC_SQR1_L_0 (0x1UL << ADC_SQR1_L_Pos) /*!< 0x00000001 */
|
||||
#define ADC_SQR1_L_1 (0x2UL << ADC_SQR1_L_Pos) /*!< 0x00000002 */
|
||||
#define ADC_SQR1_L_2 (0x4UL << ADC_SQR1_L_Pos) /*!< 0x00000004 */
|
||||
|
@ -3959,7 +4057,7 @@ typedef struct
|
|||
/***************** Bit definition for FDCAN_ENDN register *******************/
|
||||
#define FDCAN_ENDN_ETV_Pos (0U)
|
||||
#define FDCAN_ENDN_ETV_Msk (0xFFFFFFFFUL << FDCAN_ENDN_ETV_Pos) /*!< 0xFFFFFFFF */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endiannes Test Value */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endianness Test Value */
|
||||
|
||||
/***************** Bit definition for FDCAN_DBTP register *******************/
|
||||
#define FDCAN_DBTP_DSJW_Pos (0U)
|
||||
|
@ -4086,7 +4184,7 @@ typedef struct
|
|||
|
||||
/***************** Bit definition for FDCAN_ECR register *********************/
|
||||
#define FDCAN_ECR_TEC_Pos (0U)
|
||||
#define FDCAN_ECR_TEC_Msk (0xFUL << FDCAN_ECR_TEC_Pos) /*!< 0x0000000F */
|
||||
#define FDCAN_ECR_TEC_Msk (0xFFUL << FDCAN_ECR_TEC_Pos) /*!< 0x000000FF */
|
||||
#define FDCAN_ECR_TEC FDCAN_ECR_TEC_Msk /*!<Transmit Error Counter */
|
||||
#define FDCAN_ECR_REC_Pos (8U)
|
||||
#define FDCAN_ECR_REC_Msk (0x7FUL << FDCAN_ECR_REC_Pos) /*!< 0x00007F00 */
|
||||
|
@ -10552,8 +10650,11 @@ typedef struct
|
|||
/*
|
||||
* @brief FLASH Global Defines
|
||||
*/
|
||||
#define FLASH_SIZE_DATA_REGISTER 0x1FF1E880U
|
||||
#define FLASH_SECTOR_TOTAL 8U /* 8 sectors */
|
||||
#define FLASH_SIZE 0x200000UL /* 2 MB */
|
||||
#define FLASH_SIZE ((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0xFFFFU)) ? 0x200000U : \
|
||||
((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0x0000U)) ? 0x200000U : \
|
||||
(((uint32_t)(*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0FFFU)) << 10U))) /* 2 MB */
|
||||
#define FLASH_BANK_SIZE (FLASH_SIZE >> 1) /* 1 MB */
|
||||
#define FLASH_SECTOR_SIZE 0x00020000UL /* 128 KB */
|
||||
#define FLASH_LATENCY_DEFAULT FLASH_ACR_LATENCY_7WS /* FLASH Seven Latency cycles */
|
||||
|
@ -10903,7 +11004,7 @@ typedef struct
|
|||
/****************** Bit definition for FMC_BCR1 register *******************/
|
||||
#define FMC_BCR1_CCLKEN_Pos (20U)
|
||||
#define FMC_BCR1_CCLKEN_Msk (0x1UL << FMC_BCR1_CCLKEN_Pos) /*!< 0x00100000 */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continous clock enable */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continuous clock enable */
|
||||
#define FMC_BCR1_WFDIS_Pos (21U)
|
||||
#define FMC_BCR1_WFDIS_Msk (0x1UL << FMC_BCR1_WFDIS_Pos) /*!< 0x00200000 */
|
||||
#define FMC_BCR1_WFDIS FMC_BCR1_WFDIS_Msk /*!<Write FIFO Disable */
|
||||
|
@ -11383,7 +11484,7 @@ typedef struct
|
|||
|
||||
#define FMC_SDRTR_REIE_Pos (14U)
|
||||
#define FMC_SDRTR_REIE_Msk (0x1UL << FMC_SDRTR_REIE_Pos) /*!< 0x00004000 */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interupt enable */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interrupt enable */
|
||||
|
||||
/****************** Bit definition for FMC_SDSR register ******************/
|
||||
#define FMC_SDSR_RE_Pos (0U)
|
||||
|
@ -13163,7 +13264,7 @@ typedef struct
|
|||
|
||||
#define LTDC_AWCR_AAH_Pos (0U)
|
||||
#define LTDC_AWCR_AAH_Msk (0x7FFUL << LTDC_AWCR_AAH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active heigh */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active height */
|
||||
#define LTDC_AWCR_AAW_Pos (16U)
|
||||
#define LTDC_AWCR_AAW_Msk (0xFFFUL << LTDC_AWCR_AAW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_AWCR_AAW LTDC_AWCR_AAW_Msk /*!< Accumulated Active Width */
|
||||
|
@ -13172,7 +13273,7 @@ typedef struct
|
|||
|
||||
#define LTDC_TWCR_TOTALH_Pos (0U)
|
||||
#define LTDC_TWCR_TOTALH_Msk (0x7FFUL << LTDC_TWCR_TOTALH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total Heigh */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total height */
|
||||
#define LTDC_TWCR_TOTALW_Pos (16U)
|
||||
#define LTDC_TWCR_TOTALW_Msk (0xFFFUL << LTDC_TWCR_TOTALW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_TWCR_TOTALW LTDC_TWCR_TOTALW_Msk /*!< Total Width */
|
||||
|
@ -13491,7 +13592,7 @@ typedef struct
|
|||
#define MDMA_CISR_TCIF MDMA_CISR_TCIF_Msk /*!< Channel x buffer transfer complete interrupt flag */
|
||||
#define MDMA_CISR_CRQA_Pos (16U)
|
||||
#define MDMA_CISR_CRQA_Msk (0x1UL << MDMA_CISR_CRQA_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x ReQest Active flag */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x request Active flag */
|
||||
|
||||
/******************** Bit definition for MDMA_CxIFCR register ****************/
|
||||
#define MDMA_CIFCR_CTEIF_Pos (0U)
|
||||
|
@ -13556,13 +13657,13 @@ typedef struct
|
|||
#define MDMA_CCR_PL_1 (0x2UL << MDMA_CCR_PL_Pos) /*!< 0x00000080 */
|
||||
#define MDMA_CCR_BEX_Pos (12U)
|
||||
#define MDMA_CCR_BEX_Msk (0x1UL << MDMA_CCR_BEX_Pos) /*!< 0x00001000 */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianess eXchange */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianness eXchange */
|
||||
#define MDMA_CCR_HEX_Pos (13U)
|
||||
#define MDMA_CCR_HEX_Msk (0x1UL << MDMA_CCR_HEX_Pos) /*!< 0x00002000 */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianess eXchange */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianness eXchange */
|
||||
#define MDMA_CCR_WEX_Pos (14U)
|
||||
#define MDMA_CCR_WEX_Msk (0x1UL << MDMA_CCR_WEX_Pos) /*!< 0x00004000 */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianess eXchange */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianness eXchange */
|
||||
#define MDMA_CCR_SWRQ_Pos (16U)
|
||||
#define MDMA_CCR_SWRQ_Msk (0x1UL << MDMA_CCR_SWRQ_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CCR_SWRQ MDMA_CCR_SWRQ_Msk /*!< SW ReQuest */
|
||||
|
@ -13618,7 +13719,7 @@ typedef struct
|
|||
#define MDMA_CTCR_PKE MDMA_CTCR_PKE_Msk /*!< PacK Enable */
|
||||
#define MDMA_CTCR_PAM_Pos (26U)
|
||||
#define MDMA_CTCR_PAM_Msk (0x3UL << MDMA_CTCR_PAM_Pos) /*!< 0x0C000000 */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignement Mode */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignment Mode */
|
||||
#define MDMA_CTCR_PAM_0 (0x1UL << MDMA_CTCR_PAM_Pos) /*!< 0x4000000 */
|
||||
#define MDMA_CTCR_PAM_1 (0x2UL << MDMA_CTCR_PAM_Pos) /*!< 0x8000000 */
|
||||
#define MDMA_CTCR_TRGM_Pos (28U)
|
||||
|
@ -18395,7 +18496,7 @@ typedef struct
|
|||
#define QUADSPI_CR_ABORT QUADSPI_CR_ABORT_Msk /*!< Abort request */
|
||||
#define QUADSPI_CR_DMAEN_Pos (2U)
|
||||
#define QUADSPI_CR_DMAEN_Msk (0x1UL << QUADSPI_CR_DMAEN_Pos) /*!< 0x00000004 */
|
||||
#define QUADSPI_CR_DMAEN QUADSPI_CR_DMAEN_Msk /*!< DMA Enable */
|
||||
#define QUADSPI_CR_DMAEN QUADSPI_CR_DMAEN_Msk /*!< Reserved: needed for softawre compatibility (DMA Enable) */
|
||||
#define QUADSPI_CR_TCEN_Pos (3U)
|
||||
#define QUADSPI_CR_TCEN_Msk (0x1UL << QUADSPI_CR_TCEN_Pos) /*!< 0x00000008 */
|
||||
#define QUADSPI_CR_TCEN QUADSPI_CR_TCEN_Msk /*!< Timeout Counter Enable */
|
||||
|
@ -20936,7 +21037,7 @@ typedef struct
|
|||
/******************* Bit definition for SWPMI_RDR register ********************/
|
||||
#define SWPMI_RDR_RD_Pos (0U)
|
||||
#define SWPMI_RDR_RD_Msk (0xFFFFFFFFUL << SWPMI_RDR_RD_Pos) /*!< 0xFFFFFFFF */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Recive Data Register */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Receive Data Register */
|
||||
|
||||
|
||||
/******************* Bit definition for SWPMI_OR register ********************/
|
||||
|
@ -21023,12 +21124,6 @@ typedef struct
|
|||
#define DBGMCU_CR_DBG_STANDBYD1_Pos (2U)
|
||||
#define DBGMCU_CR_DBG_STANDBYD1_Msk (0x1UL << DBGMCU_CR_DBG_STANDBYD1_Pos) /*!< 0x00000004 */
|
||||
#define DBGMCU_CR_DBG_STANDBYD1 DBGMCU_CR_DBG_STANDBYD1_Msk
|
||||
#define DBGMCU_CR_DBG_STOPD3_Pos (7U)
|
||||
#define DBGMCU_CR_DBG_STOPD3_Msk (0x1UL << DBGMCU_CR_DBG_STOPD3_Pos) /*!< 0x00000080 */
|
||||
#define DBGMCU_CR_DBG_STOPD3 DBGMCU_CR_DBG_STOPD3_Msk
|
||||
#define DBGMCU_CR_DBG_STANDBYD3_Pos (8U)
|
||||
#define DBGMCU_CR_DBG_STANDBYD3_Msk (0x1UL << DBGMCU_CR_DBG_STANDBYD3_Pos) /*!< 0x00000100 */
|
||||
#define DBGMCU_CR_DBG_STANDBYD3 DBGMCU_CR_DBG_STANDBYD3_Msk
|
||||
#define DBGMCU_CR_DBG_TRACECKEN_Pos (20U)
|
||||
#define DBGMCU_CR_DBG_TRACECKEN_Msk (0x1UL << DBGMCU_CR_DBG_TRACECKEN_Pos) /*!< 0x00100000 */
|
||||
#define DBGMCU_CR_DBG_TRACECKEN DBGMCU_CR_DBG_TRACECKEN_Msk
|
||||
|
@ -22891,7 +22986,7 @@ typedef struct
|
|||
/**** Bit definition for Common HRTIM Timer Burst mode control register ********/
|
||||
#define HRTIM_BMCR_BME_Pos (0U)
|
||||
#define HRTIM_BMCR_BME_Msk (0x1UL << HRTIM_BMCR_BME_Pos) /*!< 0x00000001 */
|
||||
#define HRTIM_BMCR_BME HRTIM_BMCR_BME_Msk /*!< Burst mode enbale */
|
||||
#define HRTIM_BMCR_BME HRTIM_BMCR_BME_Msk /*!< Burst mode enable */
|
||||
#define HRTIM_BMCR_BMOM_Pos (1U)
|
||||
#define HRTIM_BMCR_BMOM_Msk (0x1UL << HRTIM_BMCR_BMOM_Pos) /*!< 0x00000002 */
|
||||
#define HRTIM_BMCR_BMOM HRTIM_BMCR_BMOM_Msk /*!< Burst mode operating mode */
|
||||
|
@ -25632,14 +25727,16 @@ typedef struct
|
|||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/****************************** SMBUS Instances *******************************/
|
||||
#define IS_SMBUS_ALL_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \
|
||||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/******************************** I2S Instances *******************************/
|
||||
#define IS_I2S_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -25658,9 +25755,6 @@ typedef struct
|
|||
#define IS_SDMMC_ALL_INSTANCE(_INSTANCE_) (((_INSTANCE_) == SDMMC1) || \
|
||||
((_INSTANCE_) == SDMMC2))
|
||||
|
||||
/******************************** SMBUS Instances *****************************/
|
||||
#define IS_SMBUS_INSTANCE(INSTANCE) ((INSTANCE) == I2C1)
|
||||
|
||||
/******************************** SPI Instances *******************************/
|
||||
#define IS_SPI_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -25839,6 +25933,7 @@ typedef struct
|
|||
((INSTANCE) == TIM6) || \
|
||||
((INSTANCE) == TIM7) || \
|
||||
((INSTANCE) == TIM8) || \
|
||||
((INSTANCE) == TIM12) || \
|
||||
((INSTANCE) == TIM15))
|
||||
|
||||
/****** TIM Instances : Salve mode available (TIMx_SMCR.TS available )*********/
|
||||
|
|
|
@ -666,7 +666,7 @@ typedef struct
|
|||
__IO uint32_t CBRUR; /*!< MDMA channel x Block Repeat address Update register, Address offset: 0x60 */
|
||||
__IO uint32_t CLAR; /*!< MDMA channel x Link Address register, Address offset: 0x64 */
|
||||
__IO uint32_t CTBR; /*!< MDMA channel x Trigger and Bus selection Register, Address offset: 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x6C */
|
||||
__IO uint32_t CMAR; /*!< MDMA channel x Mask address register, Address offset: 0x70 */
|
||||
__IO uint32_t CMDR; /*!< MDMA channel x Mask Data register, Address offset: 0x74 */
|
||||
}MDMA_Channel_TypeDef;
|
||||
|
@ -929,6 +929,15 @@ __IO uint32_t C2PR3; /*!< EXTI Pending register,
|
|||
|
||||
}EXTI_TypeDef;
|
||||
|
||||
/**
|
||||
* @brief This structure registers corresponds to EXTI_Typdef CPU1/CPU2 registers subset (IMRx, EMRx and PRx), allowing to define EXTI_D1/EXTI_D2
|
||||
* with rapid/common access to these IMRx, EMRx, PRx registers for CPU1 and CPU2.
|
||||
* Note that EXTI_D1 and EXTI_D2 bases addresses are calculated to point to CPUx first register:
|
||||
* IMR1 in case of EXTI_D1 that is addressing CPU1 (Coretx-M7)
|
||||
* C2IMR1 in case of EXTI_D2 that is addressing CPU2 (Coretx-M4)
|
||||
* Note: EXTI_D2 and corresponding C2IMRx, C2EMRx and C2PRx registers are available for Dual Core devices only
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
__IO uint32_t IMR1; /*!< EXTI Interrupt mask register, Address offset: 0x00 */
|
||||
|
@ -1733,7 +1742,7 @@ typedef struct
|
|||
{
|
||||
__IO uint32_t MCR; /*!< HRTIM Master Timer control register, Address offset: 0x00 */
|
||||
__IO uint32_t MISR; /*!< HRTIM Master Timer interrupt status register, Address offset: 0x04 */
|
||||
__IO uint32_t MICR; /*!< HRTIM Master Timer interupt clear register, Address offset: 0x08 */
|
||||
__IO uint32_t MICR; /*!< HRTIM Master Timer interrupt clear register, Address offset: 0x08 */
|
||||
__IO uint32_t MDIER; /*!< HRTIM Master Timer DMA/interrupt enable register Address offset: 0x0C */
|
||||
__IO uint32_t MCNTR; /*!< HRTIM Master Timer counter register, Address offset: 0x10 */
|
||||
__IO uint32_t MPER; /*!< HRTIM Master Timer period register, Address offset: 0x14 */
|
||||
|
@ -2038,6 +2047,94 @@ typedef struct
|
|||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @brief Global Programmer View
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint32_t RESERVED0[2036]; /*!< Reserved, Address offset: 0x00-0x1FCC */
|
||||
__IO uint32_t AXI_PERIPH_ID_4; /*!< AXI interconnect - peripheral ID4 register, Address offset: 0x1FD0 */
|
||||
uint32_t AXI_PERIPH_ID_5; /*!< Reserved, Address offset: 0x1FD4 */
|
||||
uint32_t AXI_PERIPH_ID_6; /*!< Reserved, Address offset: 0x1FD8 */
|
||||
uint32_t AXI_PERIPH_ID_7; /*!< Reserved, Address offset: 0x1FDC */
|
||||
__IO uint32_t AXI_PERIPH_ID_0; /*!< AXI interconnect - peripheral ID0 register, Address offset: 0x1FE0 */
|
||||
__IO uint32_t AXI_PERIPH_ID_1; /*!< AXI interconnect - peripheral ID1 register, Address offset: 0x1FE4 */
|
||||
__IO uint32_t AXI_PERIPH_ID_2; /*!< AXI interconnect - peripheral ID2 register, Address offset: 0x1FE8 */
|
||||
__IO uint32_t AXI_PERIPH_ID_3; /*!< AXI interconnect - peripheral ID3 register, Address offset: 0x1FEC */
|
||||
__IO uint32_t AXI_COMP_ID_0; /*!< AXI interconnect - component ID0 register, Address offset: 0x1FF0 */
|
||||
__IO uint32_t AXI_COMP_ID_1; /*!< AXI interconnect - component ID1 register, Address offset: 0x1FF4 */
|
||||
__IO uint32_t AXI_COMP_ID_2; /*!< AXI interconnect - component ID2 register, Address offset: 0x1FF8 */
|
||||
__IO uint32_t AXI_COMP_ID_3; /*!< AXI interconnect - component ID3 register, Address offset: 0x1FFC */
|
||||
uint32_t RESERVED1[2]; /*!< Reserved, Address offset: 0x2000-0x2004 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 1 bus matrix issuing functionality register, Address offset: 0x2008 */
|
||||
uint32_t RESERVED2[6]; /*!< Reserved, Address offset: 0x200C-0x2020 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD2; /*!< AXI interconnect - TARG 1 bus matrix functionality 2 register, Address offset: 0x2024 */
|
||||
uint32_t RESERVED3; /*!< Reserved, Address offset: 0x2028 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_LB; /*!< AXI interconnect - TARG 1 long burst functionality modification register, Address offset: 0x202C */
|
||||
uint32_t RESERVED4[54]; /*!< Reserved, Address offset: 0x2030-0x2104 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD; /*!< AXI interconnect - TARG 1 issuing functionality modification register, Address offset: 0x2108 */
|
||||
uint32_t RESERVED5[959]; /*!< Reserved, Address offset: 0x210C-0x3004 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 2 bus matrix issuing functionality register, Address offset: 0x3008 */
|
||||
uint32_t RESERVED6[6]; /*!< Reserved, Address offset: 0x300C-0x3020 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD2; /*!< AXI interconnect - TARG 2 bus matrix functionality 2 register, Address offset: 0x3024 */
|
||||
uint32_t RESERVED7; /*!< Reserved, Address offset: 0x3028 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_LB; /*!< AXI interconnect - TARG 2 long burst functionality modification register, Address offset: 0x302C */
|
||||
uint32_t RESERVED8[54]; /*!< Reserved, Address offset: 0x3030-0x3104 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD; /*!< AXI interconnect - TARG 2 issuing functionality modification register, Address offset: 0x3108 */
|
||||
uint32_t RESERVED9[959]; /*!< Reserved, Address offset: 0x310C-0x4004 */
|
||||
__IO uint32_t AXI_TARG3_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 3 bus matrix issuing functionality register, Address offset: 0x4008 */
|
||||
uint32_t RESERVED10[1023]; /*!< Reserved, Address offset: 0x400C-0x5004 */
|
||||
__IO uint32_t AXI_TARG4_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 4 bus matrix issuing functionality register, Address offset: 0x5008 */
|
||||
uint32_t RESERVED11[1023]; /*!< Reserved, Address offset: 0x500C-0x6004 */
|
||||
__IO uint32_t AXI_TARG5_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 5 bus matrix issuing functionality register, Address offset: 0x6008 */
|
||||
uint32_t RESERVED12[1023]; /*!< Reserved, Address offset: 0x600C-0x7004 */
|
||||
__IO uint32_t AXI_TARG6_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 6 bus matrix issuing functionality register, Address offset: 0x7008 */
|
||||
uint32_t RESERVED13[1023]; /*!< Reserved, Address offset: 0x700C-0x8004 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 7 bus matrix issuing functionality register, Address offset: 0x8008 */
|
||||
uint32_t RESERVED14[6]; /*!< Reserved, Address offset: 0x800C-0x8020 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD2; /*!< AXI interconnect - TARG 7 bus matrix functionality 2 register, Address offset: 0x8024 */
|
||||
uint32_t RESERVED15; /*!< Reserved, Address offset: 0x8028 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_LB; /*!< AXI interconnect - TARG 7 long burst functionality modification register, Address offset: 0x802C */
|
||||
uint32_t RESERVED16[54]; /*!< Reserved, Address offset: 0x8030-0x8104 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD; /*!< AXI interconnect - TARG 7 issuing functionality modification register, Address offset: 0x8108 */
|
||||
uint32_t RESERVED17[59334]; /*!< Reserved, Address offset: 0x810C-0x42020 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD2; /*!< AXI interconnect - INI 1 functionality modification 2 register, Address offset: 0x42024 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD_AHB; /*!< AXI interconnect - INI 1 AHB functionality modification register, Address offset: 0x42028 */
|
||||
uint32_t RESERVED18[53]; /*!< Reserved, Address offset: 0x4202C-0x420FC */
|
||||
__IO uint32_t AXI_INI1_READ_QOS; /*!< AXI interconnect - INI 1 read QoS register, Address offset: 0x42100 */
|
||||
__IO uint32_t AXI_INI1_WRITE_QOS; /*!< AXI interconnect - INI 1 write QoS register, Address offset: 0x42104 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD; /*!< AXI interconnect - INI 1 issuing functionality modification register, Address offset: 0x42108 */
|
||||
uint32_t RESERVED19[1021]; /*!< Reserved, Address offset: 0x4210C-0x430FC */
|
||||
__IO uint32_t AXI_INI2_READ_QOS; /*!< AXI interconnect - INI 2 read QoS register, Address offset: 0x43100 */
|
||||
__IO uint32_t AXI_INI2_WRITE_QOS; /*!< AXI interconnect - INI 2 write QoS register, Address offset: 0x43104 */
|
||||
__IO uint32_t AXI_INI2_FN_MOD; /*!< AXI interconnect - INI 2 issuing functionality modification register, Address offset: 0x43108 */
|
||||
uint32_t RESERVED20[966]; /*!< Reserved, Address offset: 0x4310C-0x44020 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD2; /*!< AXI interconnect - INI 3 functionality modification 2 register, Address offset: 0x44024 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD_AHB; /*!< AXI interconnect - INI 3 AHB functionality modification register, Address offset: 0x44028 */
|
||||
uint32_t RESERVED21[53]; /*!< Reserved, Address offset: 0x4402C-0x440FC */
|
||||
__IO uint32_t AXI_INI3_READ_QOS; /*!< AXI interconnect - INI 3 read QoS register, Address offset: 0x44100 */
|
||||
__IO uint32_t AXI_INI3_WRITE_QOS; /*!< AXI interconnect - INI 3 write QoS register, Address offset: 0x44104 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD; /*!< AXI interconnect - INI 3 issuing functionality modification register, Address offset: 0x44108 */
|
||||
uint32_t RESERVED22[1021]; /*!< Reserved, Address offset: 0x4410C-0x450FC */
|
||||
__IO uint32_t AXI_INI4_READ_QOS; /*!< AXI interconnect - INI 4 read QoS register, Address offset: 0x45100 */
|
||||
__IO uint32_t AXI_INI4_WRITE_QOS; /*!< AXI interconnect - INI 4 write QoS register, Address offset: 0x45104 */
|
||||
__IO uint32_t AXI_INI4_FN_MOD; /*!< AXI interconnect - INI 4 issuing functionality modification register, Address offset: 0x45108 */
|
||||
uint32_t RESERVED23[1021]; /*!< Reserved, Address offset: 0x4510C-0x460FC */
|
||||
__IO uint32_t AXI_INI5_READ_QOS; /*!< AXI interconnect - INI 5 read QoS register, Address offset: 0x46100 */
|
||||
__IO uint32_t AXI_INI5_WRITE_QOS; /*!< AXI interconnect - INI 5 write QoS register, Address offset: 0x46104 */
|
||||
__IO uint32_t AXI_INI5_FN_MOD; /*!< AXI interconnect - INI 5 issuing functionality modification register, Address offset: 0x46108 */
|
||||
uint32_t RESERVED24[1021]; /*!< Reserved, Address offset: 0x4610C-0x470FC */
|
||||
__IO uint32_t AXI_INI6_READ_QOS; /*!< AXI interconnect - INI 6 read QoS register, Address offset: 0x47100 */
|
||||
__IO uint32_t AXI_INI6_WRITE_QOS; /*!< AXI interconnect - INI 6 write QoS register, Address offset: 0x47104 */
|
||||
__IO uint32_t AXI_INI6_FN_MOD; /*!< AXI interconnect - INI 6 issuing functionality modification register, Address offset: 0x47108 */
|
||||
uint32_t RESERVED25[1021]; /*!< Reserved, Address offset: 0x4710C-0x480FC */
|
||||
__IO uint32_t AXI_INI7_READ_QOS; /*!< AXI interconnect - INI 7 read QoS register, Address offset: 0x48100 */
|
||||
__IO uint32_t AXI_INI7_WRITE_QOS; /*!< AXI interconnect - INI 7 write QoS register, Address offset: 0x48104 */
|
||||
__IO uint32_t AXI_INI7_FN_MOD; /*!< AXI interconnect - INI 7 issuing functionality modification register, Address offset: 0x48108 */
|
||||
|
||||
} GPV_TypeDef;
|
||||
|
||||
/** @addtogroup Peripheral_memory_map
|
||||
* @{
|
||||
*/
|
||||
|
@ -2397,6 +2494,9 @@ typedef struct
|
|||
#define RAMECC3_Monitor2_BASE (RAMECC3_BASE + 0x40UL)
|
||||
|
||||
|
||||
|
||||
#define GPV_BASE (PERIPH_BASE + 0x11000000UL) /*!< GPV_BASE (PERIPH_BASE + 0x11000000UL) */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -2697,6 +2797,8 @@ typedef struct
|
|||
#define USB_OTG_FS USB2_OTG_FS
|
||||
#define USB_OTG_FS_PERIPH_BASE USB2_OTG_FS_PERIPH_BASE
|
||||
|
||||
#define GPV ((GPV_TypeDef *) GPV_BASE)
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -3169,7 +3271,7 @@ typedef struct
|
|||
/******************** Bit definition for ADC_SQR1 register ********************/
|
||||
#define ADC_SQR1_L_Pos (0U)
|
||||
#define ADC_SQR1_L_Msk (0xFUL << ADC_SQR1_L_Pos) /*!< 0x0000000F */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence lenght */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence length */
|
||||
#define ADC_SQR1_L_0 (0x1UL << ADC_SQR1_L_Pos) /*!< 0x00000001 */
|
||||
#define ADC_SQR1_L_1 (0x2UL << ADC_SQR1_L_Pos) /*!< 0x00000002 */
|
||||
#define ADC_SQR1_L_2 (0x4UL << ADC_SQR1_L_Pos) /*!< 0x00000004 */
|
||||
|
@ -4062,7 +4164,7 @@ typedef struct
|
|||
/***************** Bit definition for FDCAN_ENDN register *******************/
|
||||
#define FDCAN_ENDN_ETV_Pos (0U)
|
||||
#define FDCAN_ENDN_ETV_Msk (0xFFFFFFFFUL << FDCAN_ENDN_ETV_Pos) /*!< 0xFFFFFFFF */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endiannes Test Value */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endianness Test Value */
|
||||
|
||||
/***************** Bit definition for FDCAN_DBTP register *******************/
|
||||
#define FDCAN_DBTP_DSJW_Pos (0U)
|
||||
|
@ -4189,7 +4291,7 @@ typedef struct
|
|||
|
||||
/***************** Bit definition for FDCAN_ECR register *********************/
|
||||
#define FDCAN_ECR_TEC_Pos (0U)
|
||||
#define FDCAN_ECR_TEC_Msk (0xFUL << FDCAN_ECR_TEC_Pos) /*!< 0x0000000F */
|
||||
#define FDCAN_ECR_TEC_Msk (0xFFUL << FDCAN_ECR_TEC_Pos) /*!< 0x000000FF */
|
||||
#define FDCAN_ECR_TEC FDCAN_ECR_TEC_Msk /*!<Transmit Error Counter */
|
||||
#define FDCAN_ECR_REC_Pos (8U)
|
||||
#define FDCAN_ECR_REC_Msk (0x7FUL << FDCAN_ECR_REC_Pos) /*!< 0x00007F00 */
|
||||
|
@ -10655,8 +10757,11 @@ typedef struct
|
|||
/*
|
||||
* @brief FLASH Global Defines
|
||||
*/
|
||||
#define FLASH_SIZE_DATA_REGISTER 0x1FF1E880U
|
||||
#define FLASH_SECTOR_TOTAL 8U /* 8 sectors */
|
||||
#define FLASH_SIZE 0x200000UL /* 2 MB */
|
||||
#define FLASH_SIZE ((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0xFFFFU)) ? 0x200000U : \
|
||||
((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0x0000U)) ? 0x200000U : \
|
||||
(((uint32_t)(*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0FFFU)) << 10U))) /* 2 MB */
|
||||
#define FLASH_BANK_SIZE (FLASH_SIZE >> 1) /* 1 MB */
|
||||
#define FLASH_SECTOR_SIZE 0x00020000UL /* 128 KB */
|
||||
#define FLASH_LATENCY_DEFAULT FLASH_ACR_LATENCY_7WS /* FLASH Seven Latency cycles */
|
||||
|
@ -11028,7 +11133,7 @@ typedef struct
|
|||
/****************** Bit definition for FMC_BCR1 register *******************/
|
||||
#define FMC_BCR1_CCLKEN_Pos (20U)
|
||||
#define FMC_BCR1_CCLKEN_Msk (0x1UL << FMC_BCR1_CCLKEN_Pos) /*!< 0x00100000 */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continous clock enable */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continuous clock enable */
|
||||
#define FMC_BCR1_WFDIS_Pos (21U)
|
||||
#define FMC_BCR1_WFDIS_Msk (0x1UL << FMC_BCR1_WFDIS_Pos) /*!< 0x00200000 */
|
||||
#define FMC_BCR1_WFDIS FMC_BCR1_WFDIS_Msk /*!<Write FIFO Disable */
|
||||
|
@ -11508,7 +11613,7 @@ typedef struct
|
|||
|
||||
#define FMC_SDRTR_REIE_Pos (14U)
|
||||
#define FMC_SDRTR_REIE_Msk (0x1UL << FMC_SDRTR_REIE_Pos) /*!< 0x00004000 */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interupt enable */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interrupt enable */
|
||||
|
||||
/****************** Bit definition for FMC_SDSR register ******************/
|
||||
#define FMC_SDSR_RE_Pos (0U)
|
||||
|
@ -13679,7 +13784,7 @@ typedef struct
|
|||
|
||||
#define LTDC_AWCR_AAH_Pos (0U)
|
||||
#define LTDC_AWCR_AAH_Msk (0x7FFUL << LTDC_AWCR_AAH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active heigh */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active height */
|
||||
#define LTDC_AWCR_AAW_Pos (16U)
|
||||
#define LTDC_AWCR_AAW_Msk (0xFFFUL << LTDC_AWCR_AAW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_AWCR_AAW LTDC_AWCR_AAW_Msk /*!< Accumulated Active Width */
|
||||
|
@ -13688,7 +13793,7 @@ typedef struct
|
|||
|
||||
#define LTDC_TWCR_TOTALH_Pos (0U)
|
||||
#define LTDC_TWCR_TOTALH_Msk (0x7FFUL << LTDC_TWCR_TOTALH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total Heigh */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total height */
|
||||
#define LTDC_TWCR_TOTALW_Pos (16U)
|
||||
#define LTDC_TWCR_TOTALW_Msk (0xFFFUL << LTDC_TWCR_TOTALW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_TWCR_TOTALW LTDC_TWCR_TOTALW_Msk /*!< Total Width */
|
||||
|
@ -14007,7 +14112,7 @@ typedef struct
|
|||
#define MDMA_CISR_TCIF MDMA_CISR_TCIF_Msk /*!< Channel x buffer transfer complete interrupt flag */
|
||||
#define MDMA_CISR_CRQA_Pos (16U)
|
||||
#define MDMA_CISR_CRQA_Msk (0x1UL << MDMA_CISR_CRQA_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x ReQest Active flag */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x request Active flag */
|
||||
|
||||
/******************** Bit definition for MDMA_CxIFCR register ****************/
|
||||
#define MDMA_CIFCR_CTEIF_Pos (0U)
|
||||
|
@ -14072,13 +14177,13 @@ typedef struct
|
|||
#define MDMA_CCR_PL_1 (0x2UL << MDMA_CCR_PL_Pos) /*!< 0x00000080 */
|
||||
#define MDMA_CCR_BEX_Pos (12U)
|
||||
#define MDMA_CCR_BEX_Msk (0x1UL << MDMA_CCR_BEX_Pos) /*!< 0x00001000 */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianess eXchange */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianness eXchange */
|
||||
#define MDMA_CCR_HEX_Pos (13U)
|
||||
#define MDMA_CCR_HEX_Msk (0x1UL << MDMA_CCR_HEX_Pos) /*!< 0x00002000 */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianess eXchange */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianness eXchange */
|
||||
#define MDMA_CCR_WEX_Pos (14U)
|
||||
#define MDMA_CCR_WEX_Msk (0x1UL << MDMA_CCR_WEX_Pos) /*!< 0x00004000 */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianess eXchange */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianness eXchange */
|
||||
#define MDMA_CCR_SWRQ_Pos (16U)
|
||||
#define MDMA_CCR_SWRQ_Msk (0x1UL << MDMA_CCR_SWRQ_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CCR_SWRQ MDMA_CCR_SWRQ_Msk /*!< SW ReQuest */
|
||||
|
@ -14134,7 +14239,7 @@ typedef struct
|
|||
#define MDMA_CTCR_PKE MDMA_CTCR_PKE_Msk /*!< PacK Enable */
|
||||
#define MDMA_CTCR_PAM_Pos (26U)
|
||||
#define MDMA_CTCR_PAM_Msk (0x3UL << MDMA_CTCR_PAM_Pos) /*!< 0x0C000000 */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignement Mode */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignment Mode */
|
||||
#define MDMA_CTCR_PAM_0 (0x1UL << MDMA_CTCR_PAM_Pos) /*!< 0x4000000 */
|
||||
#define MDMA_CTCR_PAM_1 (0x2UL << MDMA_CTCR_PAM_Pos) /*!< 0x8000000 */
|
||||
#define MDMA_CTCR_TRGM_Pos (28U)
|
||||
|
@ -19022,7 +19127,7 @@ typedef struct
|
|||
#define QUADSPI_CR_ABORT QUADSPI_CR_ABORT_Msk /*!< Abort request */
|
||||
#define QUADSPI_CR_DMAEN_Pos (2U)
|
||||
#define QUADSPI_CR_DMAEN_Msk (0x1UL << QUADSPI_CR_DMAEN_Pos) /*!< 0x00000004 */
|
||||
#define QUADSPI_CR_DMAEN QUADSPI_CR_DMAEN_Msk /*!< DMA Enable */
|
||||
#define QUADSPI_CR_DMAEN QUADSPI_CR_DMAEN_Msk /*!< Reserved: needed for softawre compatibility (DMA Enable) */
|
||||
#define QUADSPI_CR_TCEN_Pos (3U)
|
||||
#define QUADSPI_CR_TCEN_Msk (0x1UL << QUADSPI_CR_TCEN_Pos) /*!< 0x00000008 */
|
||||
#define QUADSPI_CR_TCEN QUADSPI_CR_TCEN_Msk /*!< Timeout Counter Enable */
|
||||
|
@ -21590,7 +21695,7 @@ typedef struct
|
|||
/******************* Bit definition for SWPMI_RDR register ********************/
|
||||
#define SWPMI_RDR_RD_Pos (0U)
|
||||
#define SWPMI_RDR_RD_Msk (0xFFFFFFFFUL << SWPMI_RDR_RD_Pos) /*!< 0xFFFFFFFF */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Recive Data Register */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Receive Data Register */
|
||||
|
||||
|
||||
/******************* Bit definition for SWPMI_OR register ********************/
|
||||
|
@ -21686,12 +21791,6 @@ typedef struct
|
|||
#define DBGMCU_CR_DBG_STANDBYD2_Pos (5U)
|
||||
#define DBGMCU_CR_DBG_STANDBYD2_Msk (0x1UL << DBGMCU_CR_DBG_STANDBYD2_Pos) /*!< 0x00000020 */
|
||||
#define DBGMCU_CR_DBG_STANDBYD2 DBGMCU_CR_DBG_STANDBYD2_Msk
|
||||
#define DBGMCU_CR_DBG_STOPD3_Pos (7U)
|
||||
#define DBGMCU_CR_DBG_STOPD3_Msk (0x1UL << DBGMCU_CR_DBG_STOPD3_Pos) /*!< 0x00000080 */
|
||||
#define DBGMCU_CR_DBG_STOPD3 DBGMCU_CR_DBG_STOPD3_Msk
|
||||
#define DBGMCU_CR_DBG_STANDBYD3_Pos (8U)
|
||||
#define DBGMCU_CR_DBG_STANDBYD3_Msk (0x1UL << DBGMCU_CR_DBG_STANDBYD3_Pos) /*!< 0x00000100 */
|
||||
#define DBGMCU_CR_DBG_STANDBYD3 DBGMCU_CR_DBG_STANDBYD3_Msk
|
||||
#define DBGMCU_CR_DBG_TRACECKEN_Pos (20U)
|
||||
#define DBGMCU_CR_DBG_TRACECKEN_Msk (0x1UL << DBGMCU_CR_DBG_TRACECKEN_Pos) /*!< 0x00100000 */
|
||||
#define DBGMCU_CR_DBG_TRACECKEN DBGMCU_CR_DBG_TRACECKEN_Msk
|
||||
|
@ -23656,7 +23755,7 @@ typedef struct
|
|||
/**** Bit definition for Common HRTIM Timer Burst mode control register ********/
|
||||
#define HRTIM_BMCR_BME_Pos (0U)
|
||||
#define HRTIM_BMCR_BME_Msk (0x1UL << HRTIM_BMCR_BME_Pos) /*!< 0x00000001 */
|
||||
#define HRTIM_BMCR_BME HRTIM_BMCR_BME_Msk /*!< Burst mode enbale */
|
||||
#define HRTIM_BMCR_BME HRTIM_BMCR_BME_Msk /*!< Burst mode enable */
|
||||
#define HRTIM_BMCR_BMOM_Pos (1U)
|
||||
#define HRTIM_BMCR_BMOM_Msk (0x1UL << HRTIM_BMCR_BMOM_Pos) /*!< 0x00000002 */
|
||||
#define HRTIM_BMCR_BMOM HRTIM_BMCR_BMOM_Msk /*!< Burst mode operating mode */
|
||||
|
@ -26404,14 +26503,16 @@ typedef struct
|
|||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/****************************** SMBUS Instances *******************************/
|
||||
#define IS_SMBUS_ALL_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \
|
||||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/******************************** I2S Instances *******************************/
|
||||
#define IS_I2S_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -26430,9 +26531,6 @@ typedef struct
|
|||
#define IS_SDMMC_ALL_INSTANCE(_INSTANCE_) (((_INSTANCE_) == SDMMC1) || \
|
||||
((_INSTANCE_) == SDMMC2))
|
||||
|
||||
/******************************** SMBUS Instances *****************************/
|
||||
#define IS_SMBUS_INSTANCE(INSTANCE) ((INSTANCE) == I2C1)
|
||||
|
||||
/******************************** SPI Instances *******************************/
|
||||
#define IS_SPI_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -26611,6 +26709,7 @@ typedef struct
|
|||
((INSTANCE) == TIM6) || \
|
||||
((INSTANCE) == TIM7) || \
|
||||
((INSTANCE) == TIM8) || \
|
||||
((INSTANCE) == TIM12) || \
|
||||
((INSTANCE) == TIM15))
|
||||
|
||||
/****** TIM Instances : Salve mode available (TIMx_SMCR.TS available )*********/
|
||||
|
|
|
@ -667,7 +667,7 @@ typedef struct
|
|||
__IO uint32_t CBRUR; /*!< MDMA channel x Block Repeat address Update register, Address offset: 0x60 */
|
||||
__IO uint32_t CLAR; /*!< MDMA channel x Link Address register, Address offset: 0x64 */
|
||||
__IO uint32_t CTBR; /*!< MDMA channel x Trigger and Bus selection Register, Address offset: 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x6C */
|
||||
__IO uint32_t CMAR; /*!< MDMA channel x Mask address register, Address offset: 0x70 */
|
||||
__IO uint32_t CMDR; /*!< MDMA channel x Mask Data register, Address offset: 0x74 */
|
||||
}MDMA_Channel_TypeDef;
|
||||
|
@ -761,7 +761,7 @@ typedef struct
|
|||
uint32_t RESERVED6[7]; /*!< Reserved, 0x11C - 0x137 */
|
||||
__IO uint32_t VMCCR; /*!< DSI Host Video Mode Current Configuration Register, Address offset: 0x138 */
|
||||
__IO uint32_t VPCCR; /*!< DSI Host Video Packet Current Configuration Register, Address offset: 0x13C */
|
||||
__IO uint32_t VCCCR; /*!< DSI Host Video Chuncks Current Configuration Register, Address offset: 0x140 */
|
||||
__IO uint32_t VCCCR; /*!< DSI Host Video Chunks Current Configuration Register, Address offset: 0x140 */
|
||||
__IO uint32_t VNPCCR; /*!< DSI Host Video Null Packet Current Configuration Register, Address offset: 0x144 */
|
||||
__IO uint32_t VHSACCR; /*!< DSI Host Video HSA Current Configuration Register, Address offset: 0x148 */
|
||||
__IO uint32_t VHBPCCR; /*!< DSI Host Video HBP Current Configuration Register, Address offset: 0x14C */
|
||||
|
@ -1010,6 +1010,15 @@ __IO uint32_t C2PR3; /*!< EXTI Pending register,
|
|||
|
||||
}EXTI_TypeDef;
|
||||
|
||||
/**
|
||||
* @brief This structure registers corresponds to EXTI_Typdef CPU1/CPU2 registers subset (IMRx, EMRx and PRx), allowing to define EXTI_D1/EXTI_D2
|
||||
* with rapid/common access to these IMRx, EMRx, PRx registers for CPU1 and CPU2.
|
||||
* Note that EXTI_D1 and EXTI_D2 bases addresses are calculated to point to CPUx first register:
|
||||
* IMR1 in case of EXTI_D1 that is addressing CPU1 (Coretx-M7)
|
||||
* C2IMR1 in case of EXTI_D2 that is addressing CPU2 (Coretx-M4)
|
||||
* Note: EXTI_D2 and corresponding C2IMRx, C2EMRx and C2PRx registers are available for Dual Core devices only
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
__IO uint32_t IMR1; /*!< EXTI Interrupt mask register, Address offset: 0x00 */
|
||||
|
@ -1814,7 +1823,7 @@ typedef struct
|
|||
{
|
||||
__IO uint32_t MCR; /*!< HRTIM Master Timer control register, Address offset: 0x00 */
|
||||
__IO uint32_t MISR; /*!< HRTIM Master Timer interrupt status register, Address offset: 0x04 */
|
||||
__IO uint32_t MICR; /*!< HRTIM Master Timer interupt clear register, Address offset: 0x08 */
|
||||
__IO uint32_t MICR; /*!< HRTIM Master Timer interrupt clear register, Address offset: 0x08 */
|
||||
__IO uint32_t MDIER; /*!< HRTIM Master Timer DMA/interrupt enable register Address offset: 0x0C */
|
||||
__IO uint32_t MCNTR; /*!< HRTIM Master Timer counter register, Address offset: 0x10 */
|
||||
__IO uint32_t MPER; /*!< HRTIM Master Timer period register, Address offset: 0x14 */
|
||||
|
@ -2119,6 +2128,94 @@ typedef struct
|
|||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @brief Global Programmer View
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint32_t RESERVED0[2036]; /*!< Reserved, Address offset: 0x00-0x1FCC */
|
||||
__IO uint32_t AXI_PERIPH_ID_4; /*!< AXI interconnect - peripheral ID4 register, Address offset: 0x1FD0 */
|
||||
uint32_t AXI_PERIPH_ID_5; /*!< Reserved, Address offset: 0x1FD4 */
|
||||
uint32_t AXI_PERIPH_ID_6; /*!< Reserved, Address offset: 0x1FD8 */
|
||||
uint32_t AXI_PERIPH_ID_7; /*!< Reserved, Address offset: 0x1FDC */
|
||||
__IO uint32_t AXI_PERIPH_ID_0; /*!< AXI interconnect - peripheral ID0 register, Address offset: 0x1FE0 */
|
||||
__IO uint32_t AXI_PERIPH_ID_1; /*!< AXI interconnect - peripheral ID1 register, Address offset: 0x1FE4 */
|
||||
__IO uint32_t AXI_PERIPH_ID_2; /*!< AXI interconnect - peripheral ID2 register, Address offset: 0x1FE8 */
|
||||
__IO uint32_t AXI_PERIPH_ID_3; /*!< AXI interconnect - peripheral ID3 register, Address offset: 0x1FEC */
|
||||
__IO uint32_t AXI_COMP_ID_0; /*!< AXI interconnect - component ID0 register, Address offset: 0x1FF0 */
|
||||
__IO uint32_t AXI_COMP_ID_1; /*!< AXI interconnect - component ID1 register, Address offset: 0x1FF4 */
|
||||
__IO uint32_t AXI_COMP_ID_2; /*!< AXI interconnect - component ID2 register, Address offset: 0x1FF8 */
|
||||
__IO uint32_t AXI_COMP_ID_3; /*!< AXI interconnect - component ID3 register, Address offset: 0x1FFC */
|
||||
uint32_t RESERVED1[2]; /*!< Reserved, Address offset: 0x2000-0x2004 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 1 bus matrix issuing functionality register, Address offset: 0x2008 */
|
||||
uint32_t RESERVED2[6]; /*!< Reserved, Address offset: 0x200C-0x2020 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD2; /*!< AXI interconnect - TARG 1 bus matrix functionality 2 register, Address offset: 0x2024 */
|
||||
uint32_t RESERVED3; /*!< Reserved, Address offset: 0x2028 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_LB; /*!< AXI interconnect - TARG 1 long burst functionality modification register, Address offset: 0x202C */
|
||||
uint32_t RESERVED4[54]; /*!< Reserved, Address offset: 0x2030-0x2104 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD; /*!< AXI interconnect - TARG 1 issuing functionality modification register, Address offset: 0x2108 */
|
||||
uint32_t RESERVED5[959]; /*!< Reserved, Address offset: 0x210C-0x3004 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 2 bus matrix issuing functionality register, Address offset: 0x3008 */
|
||||
uint32_t RESERVED6[6]; /*!< Reserved, Address offset: 0x300C-0x3020 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD2; /*!< AXI interconnect - TARG 2 bus matrix functionality 2 register, Address offset: 0x3024 */
|
||||
uint32_t RESERVED7; /*!< Reserved, Address offset: 0x3028 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_LB; /*!< AXI interconnect - TARG 2 long burst functionality modification register, Address offset: 0x302C */
|
||||
uint32_t RESERVED8[54]; /*!< Reserved, Address offset: 0x3030-0x3104 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD; /*!< AXI interconnect - TARG 2 issuing functionality modification register, Address offset: 0x3108 */
|
||||
uint32_t RESERVED9[959]; /*!< Reserved, Address offset: 0x310C-0x4004 */
|
||||
__IO uint32_t AXI_TARG3_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 3 bus matrix issuing functionality register, Address offset: 0x4008 */
|
||||
uint32_t RESERVED10[1023]; /*!< Reserved, Address offset: 0x400C-0x5004 */
|
||||
__IO uint32_t AXI_TARG4_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 4 bus matrix issuing functionality register, Address offset: 0x5008 */
|
||||
uint32_t RESERVED11[1023]; /*!< Reserved, Address offset: 0x500C-0x6004 */
|
||||
__IO uint32_t AXI_TARG5_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 5 bus matrix issuing functionality register, Address offset: 0x6008 */
|
||||
uint32_t RESERVED12[1023]; /*!< Reserved, Address offset: 0x600C-0x7004 */
|
||||
__IO uint32_t AXI_TARG6_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 6 bus matrix issuing functionality register, Address offset: 0x7008 */
|
||||
uint32_t RESERVED13[1023]; /*!< Reserved, Address offset: 0x700C-0x8004 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 7 bus matrix issuing functionality register, Address offset: 0x8008 */
|
||||
uint32_t RESERVED14[6]; /*!< Reserved, Address offset: 0x800C-0x8020 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD2; /*!< AXI interconnect - TARG 7 bus matrix functionality 2 register, Address offset: 0x8024 */
|
||||
uint32_t RESERVED15; /*!< Reserved, Address offset: 0x8028 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_LB; /*!< AXI interconnect - TARG 7 long burst functionality modification register, Address offset: 0x802C */
|
||||
uint32_t RESERVED16[54]; /*!< Reserved, Address offset: 0x8030-0x8104 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD; /*!< AXI interconnect - TARG 7 issuing functionality modification register, Address offset: 0x8108 */
|
||||
uint32_t RESERVED17[59334]; /*!< Reserved, Address offset: 0x810C-0x42020 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD2; /*!< AXI interconnect - INI 1 functionality modification 2 register, Address offset: 0x42024 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD_AHB; /*!< AXI interconnect - INI 1 AHB functionality modification register, Address offset: 0x42028 */
|
||||
uint32_t RESERVED18[53]; /*!< Reserved, Address offset: 0x4202C-0x420FC */
|
||||
__IO uint32_t AXI_INI1_READ_QOS; /*!< AXI interconnect - INI 1 read QoS register, Address offset: 0x42100 */
|
||||
__IO uint32_t AXI_INI1_WRITE_QOS; /*!< AXI interconnect - INI 1 write QoS register, Address offset: 0x42104 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD; /*!< AXI interconnect - INI 1 issuing functionality modification register, Address offset: 0x42108 */
|
||||
uint32_t RESERVED19[1021]; /*!< Reserved, Address offset: 0x4210C-0x430FC */
|
||||
__IO uint32_t AXI_INI2_READ_QOS; /*!< AXI interconnect - INI 2 read QoS register, Address offset: 0x43100 */
|
||||
__IO uint32_t AXI_INI2_WRITE_QOS; /*!< AXI interconnect - INI 2 write QoS register, Address offset: 0x43104 */
|
||||
__IO uint32_t AXI_INI2_FN_MOD; /*!< AXI interconnect - INI 2 issuing functionality modification register, Address offset: 0x43108 */
|
||||
uint32_t RESERVED20[966]; /*!< Reserved, Address offset: 0x4310C-0x44020 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD2; /*!< AXI interconnect - INI 3 functionality modification 2 register, Address offset: 0x44024 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD_AHB; /*!< AXI interconnect - INI 3 AHB functionality modification register, Address offset: 0x44028 */
|
||||
uint32_t RESERVED21[53]; /*!< Reserved, Address offset: 0x4402C-0x440FC */
|
||||
__IO uint32_t AXI_INI3_READ_QOS; /*!< AXI interconnect - INI 3 read QoS register, Address offset: 0x44100 */
|
||||
__IO uint32_t AXI_INI3_WRITE_QOS; /*!< AXI interconnect - INI 3 write QoS register, Address offset: 0x44104 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD; /*!< AXI interconnect - INI 3 issuing functionality modification register, Address offset: 0x44108 */
|
||||
uint32_t RESERVED22[1021]; /*!< Reserved, Address offset: 0x4410C-0x450FC */
|
||||
__IO uint32_t AXI_INI4_READ_QOS; /*!< AXI interconnect - INI 4 read QoS register, Address offset: 0x45100 */
|
||||
__IO uint32_t AXI_INI4_WRITE_QOS; /*!< AXI interconnect - INI 4 write QoS register, Address offset: 0x45104 */
|
||||
__IO uint32_t AXI_INI4_FN_MOD; /*!< AXI interconnect - INI 4 issuing functionality modification register, Address offset: 0x45108 */
|
||||
uint32_t RESERVED23[1021]; /*!< Reserved, Address offset: 0x4510C-0x460FC */
|
||||
__IO uint32_t AXI_INI5_READ_QOS; /*!< AXI interconnect - INI 5 read QoS register, Address offset: 0x46100 */
|
||||
__IO uint32_t AXI_INI5_WRITE_QOS; /*!< AXI interconnect - INI 5 write QoS register, Address offset: 0x46104 */
|
||||
__IO uint32_t AXI_INI5_FN_MOD; /*!< AXI interconnect - INI 5 issuing functionality modification register, Address offset: 0x46108 */
|
||||
uint32_t RESERVED24[1021]; /*!< Reserved, Address offset: 0x4610C-0x470FC */
|
||||
__IO uint32_t AXI_INI6_READ_QOS; /*!< AXI interconnect - INI 6 read QoS register, Address offset: 0x47100 */
|
||||
__IO uint32_t AXI_INI6_WRITE_QOS; /*!< AXI interconnect - INI 6 write QoS register, Address offset: 0x47104 */
|
||||
__IO uint32_t AXI_INI6_FN_MOD; /*!< AXI interconnect - INI 6 issuing functionality modification register, Address offset: 0x47108 */
|
||||
uint32_t RESERVED25[1021]; /*!< Reserved, Address offset: 0x4710C-0x480FC */
|
||||
__IO uint32_t AXI_INI7_READ_QOS; /*!< AXI interconnect - INI 7 read QoS register, Address offset: 0x48100 */
|
||||
__IO uint32_t AXI_INI7_WRITE_QOS; /*!< AXI interconnect - INI 7 write QoS register, Address offset: 0x48104 */
|
||||
__IO uint32_t AXI_INI7_FN_MOD; /*!< AXI interconnect - INI 7 issuing functionality modification register, Address offset: 0x48108 */
|
||||
|
||||
} GPV_TypeDef;
|
||||
|
||||
/** @addtogroup Peripheral_memory_map
|
||||
* @{
|
||||
*/
|
||||
|
@ -2479,6 +2576,9 @@ typedef struct
|
|||
#define RAMECC3_Monitor2_BASE (RAMECC3_BASE + 0x40UL)
|
||||
|
||||
|
||||
|
||||
#define GPV_BASE (PERIPH_BASE + 0x11000000UL) /*!< GPV_BASE (PERIPH_BASE + 0x11000000UL) */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -2780,6 +2880,8 @@ typedef struct
|
|||
#define USB_OTG_FS USB2_OTG_FS
|
||||
#define USB_OTG_FS_PERIPH_BASE USB2_OTG_FS_PERIPH_BASE
|
||||
|
||||
#define GPV ((GPV_TypeDef *) GPV_BASE)
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -3252,7 +3354,7 @@ typedef struct
|
|||
/******************** Bit definition for ADC_SQR1 register ********************/
|
||||
#define ADC_SQR1_L_Pos (0U)
|
||||
#define ADC_SQR1_L_Msk (0xFUL << ADC_SQR1_L_Pos) /*!< 0x0000000F */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence lenght */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence length */
|
||||
#define ADC_SQR1_L_0 (0x1UL << ADC_SQR1_L_Pos) /*!< 0x00000001 */
|
||||
#define ADC_SQR1_L_1 (0x2UL << ADC_SQR1_L_Pos) /*!< 0x00000002 */
|
||||
#define ADC_SQR1_L_2 (0x4UL << ADC_SQR1_L_Pos) /*!< 0x00000004 */
|
||||
|
@ -4145,7 +4247,7 @@ typedef struct
|
|||
/***************** Bit definition for FDCAN_ENDN register *******************/
|
||||
#define FDCAN_ENDN_ETV_Pos (0U)
|
||||
#define FDCAN_ENDN_ETV_Msk (0xFFFFFFFFUL << FDCAN_ENDN_ETV_Pos) /*!< 0xFFFFFFFF */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endiannes Test Value */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endianness Test Value */
|
||||
|
||||
/***************** Bit definition for FDCAN_DBTP register *******************/
|
||||
#define FDCAN_DBTP_DSJW_Pos (0U)
|
||||
|
@ -4272,7 +4374,7 @@ typedef struct
|
|||
|
||||
/***************** Bit definition for FDCAN_ECR register *********************/
|
||||
#define FDCAN_ECR_TEC_Pos (0U)
|
||||
#define FDCAN_ECR_TEC_Msk (0xFUL << FDCAN_ECR_TEC_Pos) /*!< 0x0000000F */
|
||||
#define FDCAN_ECR_TEC_Msk (0xFFUL << FDCAN_ECR_TEC_Pos) /*!< 0x000000FF */
|
||||
#define FDCAN_ECR_TEC FDCAN_ECR_TEC_Msk /*!<Transmit Error Counter */
|
||||
#define FDCAN_ECR_REC_Pos (8U)
|
||||
#define FDCAN_ECR_REC_Msk (0x7FUL << FDCAN_ECR_REC_Pos) /*!< 0x00007F00 */
|
||||
|
@ -9711,7 +9813,7 @@ typedef struct
|
|||
|
||||
#define DSI_LCOLCR_LPE_Pos (8U)
|
||||
#define DSI_LCOLCR_LPE_Msk (0x1UL << DSI_LCOLCR_LPE_Pos) /*!< 0x00000100 */
|
||||
#define DSI_LCOLCR_LPE DSI_LCOLCR_LPE_Msk /*!< Loosly Packet Enable */
|
||||
#define DSI_LCOLCR_LPE DSI_LCOLCR_LPE_Msk /*!< Loosely Packet Enable */
|
||||
|
||||
/******************* Bit definition for DSI_LPCR register ***************/
|
||||
#define DSI_LPCR_DEP_Pos (0U)
|
||||
|
@ -13812,8 +13914,11 @@ typedef struct
|
|||
/*
|
||||
* @brief FLASH Global Defines
|
||||
*/
|
||||
#define FLASH_SIZE_DATA_REGISTER 0x1FF1E880U
|
||||
#define FLASH_SECTOR_TOTAL 8U /* 8 sectors */
|
||||
#define FLASH_SIZE 0x200000UL /* 2 MB */
|
||||
#define FLASH_SIZE ((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0xFFFFU)) ? 0x200000U : \
|
||||
((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0x0000U)) ? 0x200000U : \
|
||||
(((uint32_t)(*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0FFFU)) << 10U))) /* 2 MB */
|
||||
#define FLASH_BANK_SIZE (FLASH_SIZE >> 1) /* 1 MB */
|
||||
#define FLASH_SECTOR_SIZE 0x00020000UL /* 128 KB */
|
||||
#define FLASH_LATENCY_DEFAULT FLASH_ACR_LATENCY_7WS /* FLASH Seven Latency cycles */
|
||||
|
@ -14185,7 +14290,7 @@ typedef struct
|
|||
/****************** Bit definition for FMC_BCR1 register *******************/
|
||||
#define FMC_BCR1_CCLKEN_Pos (20U)
|
||||
#define FMC_BCR1_CCLKEN_Msk (0x1UL << FMC_BCR1_CCLKEN_Pos) /*!< 0x00100000 */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continous clock enable */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continuous clock enable */
|
||||
#define FMC_BCR1_WFDIS_Pos (21U)
|
||||
#define FMC_BCR1_WFDIS_Msk (0x1UL << FMC_BCR1_WFDIS_Pos) /*!< 0x00200000 */
|
||||
#define FMC_BCR1_WFDIS FMC_BCR1_WFDIS_Msk /*!<Write FIFO Disable */
|
||||
|
@ -14665,7 +14770,7 @@ typedef struct
|
|||
|
||||
#define FMC_SDRTR_REIE_Pos (14U)
|
||||
#define FMC_SDRTR_REIE_Msk (0x1UL << FMC_SDRTR_REIE_Pos) /*!< 0x00004000 */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interupt enable */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interrupt enable */
|
||||
|
||||
/****************** Bit definition for FMC_SDSR register ******************/
|
||||
#define FMC_SDSR_RE_Pos (0U)
|
||||
|
@ -16836,7 +16941,7 @@ typedef struct
|
|||
|
||||
#define LTDC_AWCR_AAH_Pos (0U)
|
||||
#define LTDC_AWCR_AAH_Msk (0x7FFUL << LTDC_AWCR_AAH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active heigh */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active height */
|
||||
#define LTDC_AWCR_AAW_Pos (16U)
|
||||
#define LTDC_AWCR_AAW_Msk (0xFFFUL << LTDC_AWCR_AAW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_AWCR_AAW LTDC_AWCR_AAW_Msk /*!< Accumulated Active Width */
|
||||
|
@ -16845,7 +16950,7 @@ typedef struct
|
|||
|
||||
#define LTDC_TWCR_TOTALH_Pos (0U)
|
||||
#define LTDC_TWCR_TOTALH_Msk (0x7FFUL << LTDC_TWCR_TOTALH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total Heigh */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total height */
|
||||
#define LTDC_TWCR_TOTALW_Pos (16U)
|
||||
#define LTDC_TWCR_TOTALW_Msk (0xFFFUL << LTDC_TWCR_TOTALW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_TWCR_TOTALW LTDC_TWCR_TOTALW_Msk /*!< Total Width */
|
||||
|
@ -17164,7 +17269,7 @@ typedef struct
|
|||
#define MDMA_CISR_TCIF MDMA_CISR_TCIF_Msk /*!< Channel x buffer transfer complete interrupt flag */
|
||||
#define MDMA_CISR_CRQA_Pos (16U)
|
||||
#define MDMA_CISR_CRQA_Msk (0x1UL << MDMA_CISR_CRQA_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x ReQest Active flag */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x request Active flag */
|
||||
|
||||
/******************** Bit definition for MDMA_CxIFCR register ****************/
|
||||
#define MDMA_CIFCR_CTEIF_Pos (0U)
|
||||
|
@ -17229,13 +17334,13 @@ typedef struct
|
|||
#define MDMA_CCR_PL_1 (0x2UL << MDMA_CCR_PL_Pos) /*!< 0x00000080 */
|
||||
#define MDMA_CCR_BEX_Pos (12U)
|
||||
#define MDMA_CCR_BEX_Msk (0x1UL << MDMA_CCR_BEX_Pos) /*!< 0x00001000 */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianess eXchange */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianness eXchange */
|
||||
#define MDMA_CCR_HEX_Pos (13U)
|
||||
#define MDMA_CCR_HEX_Msk (0x1UL << MDMA_CCR_HEX_Pos) /*!< 0x00002000 */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianess eXchange */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianness eXchange */
|
||||
#define MDMA_CCR_WEX_Pos (14U)
|
||||
#define MDMA_CCR_WEX_Msk (0x1UL << MDMA_CCR_WEX_Pos) /*!< 0x00004000 */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianess eXchange */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianness eXchange */
|
||||
#define MDMA_CCR_SWRQ_Pos (16U)
|
||||
#define MDMA_CCR_SWRQ_Msk (0x1UL << MDMA_CCR_SWRQ_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CCR_SWRQ MDMA_CCR_SWRQ_Msk /*!< SW ReQuest */
|
||||
|
@ -17291,7 +17396,7 @@ typedef struct
|
|||
#define MDMA_CTCR_PKE MDMA_CTCR_PKE_Msk /*!< PacK Enable */
|
||||
#define MDMA_CTCR_PAM_Pos (26U)
|
||||
#define MDMA_CTCR_PAM_Msk (0x3UL << MDMA_CTCR_PAM_Pos) /*!< 0x0C000000 */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignement Mode */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignment Mode */
|
||||
#define MDMA_CTCR_PAM_0 (0x1UL << MDMA_CTCR_PAM_Pos) /*!< 0x4000000 */
|
||||
#define MDMA_CTCR_PAM_1 (0x2UL << MDMA_CTCR_PAM_Pos) /*!< 0x8000000 */
|
||||
#define MDMA_CTCR_TRGM_Pos (28U)
|
||||
|
@ -22195,7 +22300,7 @@ typedef struct
|
|||
#define QUADSPI_CR_ABORT QUADSPI_CR_ABORT_Msk /*!< Abort request */
|
||||
#define QUADSPI_CR_DMAEN_Pos (2U)
|
||||
#define QUADSPI_CR_DMAEN_Msk (0x1UL << QUADSPI_CR_DMAEN_Pos) /*!< 0x00000004 */
|
||||
#define QUADSPI_CR_DMAEN QUADSPI_CR_DMAEN_Msk /*!< DMA Enable */
|
||||
#define QUADSPI_CR_DMAEN QUADSPI_CR_DMAEN_Msk /*!< Reserved: needed for softawre compatibility (DMA Enable) */
|
||||
#define QUADSPI_CR_TCEN_Pos (3U)
|
||||
#define QUADSPI_CR_TCEN_Msk (0x1UL << QUADSPI_CR_TCEN_Pos) /*!< 0x00000008 */
|
||||
#define QUADSPI_CR_TCEN QUADSPI_CR_TCEN_Msk /*!< Timeout Counter Enable */
|
||||
|
@ -24763,7 +24868,7 @@ typedef struct
|
|||
/******************* Bit definition for SWPMI_RDR register ********************/
|
||||
#define SWPMI_RDR_RD_Pos (0U)
|
||||
#define SWPMI_RDR_RD_Msk (0xFFFFFFFFUL << SWPMI_RDR_RD_Pos) /*!< 0xFFFFFFFF */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Recive Data Register */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Receive Data Register */
|
||||
|
||||
|
||||
/******************* Bit definition for SWPMI_OR register ********************/
|
||||
|
@ -24859,12 +24964,6 @@ typedef struct
|
|||
#define DBGMCU_CR_DBG_STANDBYD2_Pos (5U)
|
||||
#define DBGMCU_CR_DBG_STANDBYD2_Msk (0x1UL << DBGMCU_CR_DBG_STANDBYD2_Pos) /*!< 0x00000020 */
|
||||
#define DBGMCU_CR_DBG_STANDBYD2 DBGMCU_CR_DBG_STANDBYD2_Msk
|
||||
#define DBGMCU_CR_DBG_STOPD3_Pos (7U)
|
||||
#define DBGMCU_CR_DBG_STOPD3_Msk (0x1UL << DBGMCU_CR_DBG_STOPD3_Pos) /*!< 0x00000080 */
|
||||
#define DBGMCU_CR_DBG_STOPD3 DBGMCU_CR_DBG_STOPD3_Msk
|
||||
#define DBGMCU_CR_DBG_STANDBYD3_Pos (8U)
|
||||
#define DBGMCU_CR_DBG_STANDBYD3_Msk (0x1UL << DBGMCU_CR_DBG_STANDBYD3_Pos) /*!< 0x00000100 */
|
||||
#define DBGMCU_CR_DBG_STANDBYD3 DBGMCU_CR_DBG_STANDBYD3_Msk
|
||||
#define DBGMCU_CR_DBG_TRACECKEN_Pos (20U)
|
||||
#define DBGMCU_CR_DBG_TRACECKEN_Msk (0x1UL << DBGMCU_CR_DBG_TRACECKEN_Pos) /*!< 0x00100000 */
|
||||
#define DBGMCU_CR_DBG_TRACECKEN DBGMCU_CR_DBG_TRACECKEN_Msk
|
||||
|
@ -26829,7 +26928,7 @@ typedef struct
|
|||
/**** Bit definition for Common HRTIM Timer Burst mode control register ********/
|
||||
#define HRTIM_BMCR_BME_Pos (0U)
|
||||
#define HRTIM_BMCR_BME_Msk (0x1UL << HRTIM_BMCR_BME_Pos) /*!< 0x00000001 */
|
||||
#define HRTIM_BMCR_BME HRTIM_BMCR_BME_Msk /*!< Burst mode enbale */
|
||||
#define HRTIM_BMCR_BME HRTIM_BMCR_BME_Msk /*!< Burst mode enable */
|
||||
#define HRTIM_BMCR_BMOM_Pos (1U)
|
||||
#define HRTIM_BMCR_BMOM_Msk (0x1UL << HRTIM_BMCR_BMOM_Pos) /*!< 0x00000002 */
|
||||
#define HRTIM_BMCR_BMOM HRTIM_BMCR_BMOM_Msk /*!< Burst mode operating mode */
|
||||
|
@ -29577,14 +29676,16 @@ typedef struct
|
|||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/****************************** SMBUS Instances *******************************/
|
||||
#define IS_SMBUS_ALL_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \
|
||||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/******************************** I2S Instances *******************************/
|
||||
#define IS_I2S_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -29603,9 +29704,6 @@ typedef struct
|
|||
#define IS_SDMMC_ALL_INSTANCE(_INSTANCE_) (((_INSTANCE_) == SDMMC1) || \
|
||||
((_INSTANCE_) == SDMMC2))
|
||||
|
||||
/******************************** SMBUS Instances *****************************/
|
||||
#define IS_SMBUS_INSTANCE(INSTANCE) ((INSTANCE) == I2C1)
|
||||
|
||||
/******************************** SPI Instances *******************************/
|
||||
#define IS_SPI_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -29784,6 +29882,7 @@ typedef struct
|
|||
((INSTANCE) == TIM6) || \
|
||||
((INSTANCE) == TIM7) || \
|
||||
((INSTANCE) == TIM8) || \
|
||||
((INSTANCE) == TIM12) || \
|
||||
((INSTANCE) == TIM15))
|
||||
|
||||
/****** TIM Instances : Salve mode available (TIMx_SMCR.TS available )*********/
|
||||
|
|
|
@ -635,7 +635,7 @@ typedef struct
|
|||
__IO uint32_t CBRUR; /*!< MDMA channel x Block Repeat address Update register, Address offset: 0x60 */
|
||||
__IO uint32_t CLAR; /*!< MDMA channel x Link Address register, Address offset: 0x64 */
|
||||
__IO uint32_t CTBR; /*!< MDMA channel x Trigger and Bus selection Register, Address offset: 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x6C */
|
||||
__IO uint32_t CMAR; /*!< MDMA channel x Mask address register, Address offset: 0x70 */
|
||||
__IO uint32_t CMDR; /*!< MDMA channel x Mask Data register, Address offset: 0x74 */
|
||||
}MDMA_Channel_TypeDef;
|
||||
|
@ -885,6 +885,15 @@ __IO uint32_t EMR3; /*!< EXTI Event mask register,
|
|||
__IO uint32_t PR3; /*!< EXTI Pending register, Address offset: 0xA8 */
|
||||
}EXTI_TypeDef;
|
||||
|
||||
/**
|
||||
* @brief This structure registers corresponds to EXTI_Typdef CPU1/CPU2 registers subset (IMRx, EMRx and PRx), allowing to define EXTI_D1/EXTI_D2
|
||||
* with rapid/common access to these IMRx, EMRx, PRx registers for CPU1 and CPU2.
|
||||
* Note that EXTI_D1 and EXTI_D2 bases addresses are calculated to point to CPUx first register:
|
||||
* IMR1 in case of EXTI_D1 that is addressing CPU1 (Coretx-M7)
|
||||
* C2IMR1 in case of EXTI_D2 that is addressing CPU2 (Coretx-M4)
|
||||
* Note: EXTI_D2 and corresponding C2IMRx, C2EMRx and C2PRx registers are available for Dual Core devices only
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
__IO uint32_t IMR1; /*!< EXTI Interrupt mask register, Address offset: 0x00 */
|
||||
|
@ -1728,7 +1737,7 @@ typedef struct
|
|||
{
|
||||
__IO uint32_t MCR; /*!< HRTIM Master Timer control register, Address offset: 0x00 */
|
||||
__IO uint32_t MISR; /*!< HRTIM Master Timer interrupt status register, Address offset: 0x04 */
|
||||
__IO uint32_t MICR; /*!< HRTIM Master Timer interupt clear register, Address offset: 0x08 */
|
||||
__IO uint32_t MICR; /*!< HRTIM Master Timer interrupt clear register, Address offset: 0x08 */
|
||||
__IO uint32_t MDIER; /*!< HRTIM Master Timer DMA/interrupt enable register Address offset: 0x0C */
|
||||
__IO uint32_t MCNTR; /*!< HRTIM Master Timer counter register, Address offset: 0x10 */
|
||||
__IO uint32_t MPER; /*!< HRTIM Master Timer period register, Address offset: 0x14 */
|
||||
|
@ -2033,6 +2042,90 @@ typedef struct
|
|||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @brief Global Programmer View
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint32_t RESERVED0[2036]; /*!< Reserved, Address offset: 0x00-0x1FCC */
|
||||
__IO uint32_t AXI_PERIPH_ID_4; /*!< AXI interconnect - peripheral ID4 register, Address offset: 0x1FD0 */
|
||||
uint32_t AXI_PERIPH_ID_5; /*!< Reserved, Address offset: 0x1FD4 */
|
||||
uint32_t AXI_PERIPH_ID_6; /*!< Reserved, Address offset: 0x1FD8 */
|
||||
uint32_t AXI_PERIPH_ID_7; /*!< Reserved, Address offset: 0x1FDC */
|
||||
__IO uint32_t AXI_PERIPH_ID_0; /*!< AXI interconnect - peripheral ID0 register, Address offset: 0x1FE0 */
|
||||
__IO uint32_t AXI_PERIPH_ID_1; /*!< AXI interconnect - peripheral ID1 register, Address offset: 0x1FE4 */
|
||||
__IO uint32_t AXI_PERIPH_ID_2; /*!< AXI interconnect - peripheral ID2 register, Address offset: 0x1FE8 */
|
||||
__IO uint32_t AXI_PERIPH_ID_3; /*!< AXI interconnect - peripheral ID3 register, Address offset: 0x1FEC */
|
||||
__IO uint32_t AXI_COMP_ID_0; /*!< AXI interconnect - component ID0 register, Address offset: 0x1FF0 */
|
||||
__IO uint32_t AXI_COMP_ID_1; /*!< AXI interconnect - component ID1 register, Address offset: 0x1FF4 */
|
||||
__IO uint32_t AXI_COMP_ID_2; /*!< AXI interconnect - component ID2 register, Address offset: 0x1FF8 */
|
||||
__IO uint32_t AXI_COMP_ID_3; /*!< AXI interconnect - component ID3 register, Address offset: 0x1FFC */
|
||||
uint32_t RESERVED1[2]; /*!< Reserved, Address offset: 0x2000-0x2004 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 1 bus matrix issuing functionality register, Address offset: 0x2008 */
|
||||
uint32_t RESERVED2[6]; /*!< Reserved, Address offset: 0x200C-0x2020 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD2; /*!< AXI interconnect - TARG 1 bus matrix functionality 2 register, Address offset: 0x2024 */
|
||||
uint32_t RESERVED3; /*!< Reserved, Address offset: 0x2028 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_LB; /*!< AXI interconnect - TARG 1 long burst functionality modification register, Address offset: 0x202C */
|
||||
uint32_t RESERVED4[54]; /*!< Reserved, Address offset: 0x2030-0x2104 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD; /*!< AXI interconnect - TARG 1 issuing functionality modification register, Address offset: 0x2108 */
|
||||
uint32_t RESERVED5[959]; /*!< Reserved, Address offset: 0x210C-0x3004 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 2 bus matrix issuing functionality register, Address offset: 0x3008 */
|
||||
uint32_t RESERVED6[6]; /*!< Reserved, Address offset: 0x300C-0x3020 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD2; /*!< AXI interconnect - TARG 2 bus matrix functionality 2 register, Address offset: 0x3024 */
|
||||
uint32_t RESERVED7; /*!< Reserved, Address offset: 0x3028 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_LB; /*!< AXI interconnect - TARG 2 long burst functionality modification register, Address offset: 0x302C */
|
||||
uint32_t RESERVED8[54]; /*!< Reserved, Address offset: 0x3030-0x3104 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD; /*!< AXI interconnect - TARG 2 issuing functionality modification register, Address offset: 0x3108 */
|
||||
uint32_t RESERVED9[959]; /*!< Reserved, Address offset: 0x310C-0x4004 */
|
||||
__IO uint32_t AXI_TARG3_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 3 bus matrix issuing functionality register, Address offset: 0x4008 */
|
||||
uint32_t RESERVED10[1023]; /*!< Reserved, Address offset: 0x400C-0x5004 */
|
||||
__IO uint32_t AXI_TARG4_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 4 bus matrix issuing functionality register, Address offset: 0x5008 */
|
||||
uint32_t RESERVED11[1023]; /*!< Reserved, Address offset: 0x500C-0x6004 */
|
||||
__IO uint32_t AXI_TARG5_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 5 bus matrix issuing functionality register, Address offset: 0x6008 */
|
||||
uint32_t RESERVED12[1023]; /*!< Reserved, Address offset: 0x600C-0x7004 */
|
||||
__IO uint32_t AXI_TARG6_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 6 bus matrix issuing functionality register, Address offset: 0x7008 */
|
||||
uint32_t RESERVED13[1023]; /*!< Reserved, Address offset: 0x700C-0x8004 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 7 bus matrix issuing functionality register, Address offset: 0x8008 */
|
||||
uint32_t RESERVED14[6]; /*!< Reserved, Address offset: 0x800C-0x8020 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD2; /*!< AXI interconnect - TARG 7 bus matrix functionality 2 register, Address offset: 0x8024 */
|
||||
uint32_t RESERVED15; /*!< Reserved, Address offset: 0x8028 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_LB; /*!< AXI interconnect - TARG 7 long burst functionality modification register, Address offset: 0x802C */
|
||||
uint32_t RESERVED16[54]; /*!< Reserved, Address offset: 0x8030-0x8104 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD; /*!< AXI interconnect - TARG 7 issuing functionality modification register, Address offset: 0x8108 */
|
||||
uint32_t RESERVED17[59334]; /*!< Reserved, Address offset: 0x810C-0x42020 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD2; /*!< AXI interconnect - INI 1 functionality modification 2 register, Address offset: 0x42024 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD_AHB; /*!< AXI interconnect - INI 1 AHB functionality modification register, Address offset: 0x42028 */
|
||||
uint32_t RESERVED18[53]; /*!< Reserved, Address offset: 0x4202C-0x420FC */
|
||||
__IO uint32_t AXI_INI1_READ_QOS; /*!< AXI interconnect - INI 1 read QoS register, Address offset: 0x42100 */
|
||||
__IO uint32_t AXI_INI1_WRITE_QOS; /*!< AXI interconnect - INI 1 write QoS register, Address offset: 0x42104 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD; /*!< AXI interconnect - INI 1 issuing functionality modification register, Address offset: 0x42108 */
|
||||
uint32_t RESERVED19[1021]; /*!< Reserved, Address offset: 0x4210C-0x430FC */
|
||||
__IO uint32_t AXI_INI2_READ_QOS; /*!< AXI interconnect - INI 2 read QoS register, Address offset: 0x43100 */
|
||||
__IO uint32_t AXI_INI2_WRITE_QOS; /*!< AXI interconnect - INI 2 write QoS register, Address offset: 0x43104 */
|
||||
__IO uint32_t AXI_INI2_FN_MOD; /*!< AXI interconnect - INI 2 issuing functionality modification register, Address offset: 0x43108 */
|
||||
uint32_t RESERVED20[966]; /*!< Reserved, Address offset: 0x4310C-0x44020 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD2; /*!< AXI interconnect - INI 3 functionality modification 2 register, Address offset: 0x44024 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD_AHB; /*!< AXI interconnect - INI 3 AHB functionality modification register, Address offset: 0x44028 */
|
||||
uint32_t RESERVED21[53]; /*!< Reserved, Address offset: 0x4402C-0x440FC */
|
||||
__IO uint32_t AXI_INI3_READ_QOS; /*!< AXI interconnect - INI 3 read QoS register, Address offset: 0x44100 */
|
||||
__IO uint32_t AXI_INI3_WRITE_QOS; /*!< AXI interconnect - INI 3 write QoS register, Address offset: 0x44104 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD; /*!< AXI interconnect - INI 3 issuing functionality modification register, Address offset: 0x44108 */
|
||||
uint32_t RESERVED22[1021]; /*!< Reserved, Address offset: 0x4410C-0x450FC */
|
||||
__IO uint32_t AXI_INI4_READ_QOS; /*!< AXI interconnect - INI 4 read QoS register, Address offset: 0x45100 */
|
||||
__IO uint32_t AXI_INI4_WRITE_QOS; /*!< AXI interconnect - INI 4 write QoS register, Address offset: 0x45104 */
|
||||
__IO uint32_t AXI_INI4_FN_MOD; /*!< AXI interconnect - INI 4 issuing functionality modification register, Address offset: 0x45108 */
|
||||
uint32_t RESERVED23[1021]; /*!< Reserved, Address offset: 0x4510C-0x460FC */
|
||||
__IO uint32_t AXI_INI5_READ_QOS; /*!< AXI interconnect - INI 5 read QoS register, Address offset: 0x46100 */
|
||||
__IO uint32_t AXI_INI5_WRITE_QOS; /*!< AXI interconnect - INI 5 write QoS register, Address offset: 0x46104 */
|
||||
__IO uint32_t AXI_INI5_FN_MOD; /*!< AXI interconnect - INI 5 issuing functionality modification register, Address offset: 0x46108 */
|
||||
uint32_t RESERVED24[1021]; /*!< Reserved, Address offset: 0x4610C-0x470FC */
|
||||
__IO uint32_t AXI_INI6_READ_QOS; /*!< AXI interconnect - INI 6 read QoS register, Address offset: 0x47100 */
|
||||
__IO uint32_t AXI_INI6_WRITE_QOS; /*!< AXI interconnect - INI 6 write QoS register, Address offset: 0x47104 */
|
||||
__IO uint32_t AXI_INI6_FN_MOD; /*!< AXI interconnect - INI 6 issuing functionality modification register, Address offset: 0x47108 */
|
||||
|
||||
} GPV_TypeDef;
|
||||
|
||||
/** @addtogroup Peripheral_memory_map
|
||||
* @{
|
||||
*/
|
||||
|
@ -2390,6 +2483,9 @@ typedef struct
|
|||
#define RAMECC3_Monitor2_BASE (RAMECC3_BASE + 0x40UL)
|
||||
|
||||
|
||||
|
||||
#define GPV_BASE (PERIPH_BASE + 0x11000000UL) /*!< GPV_BASE (PERIPH_BASE + 0x11000000UL) */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -2683,6 +2779,8 @@ typedef struct
|
|||
#define USB_OTG_FS USB2_OTG_FS
|
||||
#define USB_OTG_FS_PERIPH_BASE USB2_OTG_FS_PERIPH_BASE
|
||||
|
||||
#define GPV ((GPV_TypeDef *) GPV_BASE)
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -3155,7 +3253,7 @@ typedef struct
|
|||
/******************** Bit definition for ADC_SQR1 register ********************/
|
||||
#define ADC_SQR1_L_Pos (0U)
|
||||
#define ADC_SQR1_L_Msk (0xFUL << ADC_SQR1_L_Pos) /*!< 0x0000000F */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence lenght */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence length */
|
||||
#define ADC_SQR1_L_0 (0x1UL << ADC_SQR1_L_Pos) /*!< 0x00000001 */
|
||||
#define ADC_SQR1_L_1 (0x2UL << ADC_SQR1_L_Pos) /*!< 0x00000002 */
|
||||
#define ADC_SQR1_L_2 (0x4UL << ADC_SQR1_L_Pos) /*!< 0x00000004 */
|
||||
|
@ -4035,7 +4133,7 @@ typedef struct
|
|||
/***************** Bit definition for FDCAN_ENDN register *******************/
|
||||
#define FDCAN_ENDN_ETV_Pos (0U)
|
||||
#define FDCAN_ENDN_ETV_Msk (0xFFFFFFFFUL << FDCAN_ENDN_ETV_Pos) /*!< 0xFFFFFFFF */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endiannes Test Value */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endianness Test Value */
|
||||
|
||||
/***************** Bit definition for FDCAN_DBTP register *******************/
|
||||
#define FDCAN_DBTP_DSJW_Pos (0U)
|
||||
|
@ -4162,7 +4260,7 @@ typedef struct
|
|||
|
||||
/***************** Bit definition for FDCAN_ECR register *********************/
|
||||
#define FDCAN_ECR_TEC_Pos (0U)
|
||||
#define FDCAN_ECR_TEC_Msk (0xFUL << FDCAN_ECR_TEC_Pos) /*!< 0x0000000F */
|
||||
#define FDCAN_ECR_TEC_Msk (0xFFUL << FDCAN_ECR_TEC_Pos) /*!< 0x000000FF */
|
||||
#define FDCAN_ECR_TEC FDCAN_ECR_TEC_Msk /*!<Transmit Error Counter */
|
||||
#define FDCAN_ECR_REC_Pos (8U)
|
||||
#define FDCAN_ECR_REC_Msk (0x7FUL << FDCAN_ECR_REC_Pos) /*!< 0x00007F00 */
|
||||
|
@ -10745,13 +10843,17 @@ typedef struct
|
|||
/*
|
||||
* @brief FLASH Global Defines
|
||||
*/
|
||||
#define FLASH_SIZE_DATA_REGISTER 0x1FF1E880U
|
||||
#define FLASH_SECTOR_TOTAL 1U /* 1 sector */
|
||||
#define FLASH_SECTOR_SIZE 0x00020000UL /* 128 KB */
|
||||
#define FLASH_SIZE FLASH_SECTOR_SIZE /* 128 KB */
|
||||
#define FLASH_SIZE ((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0xFFFFU)) ? 0x20000U : \
|
||||
((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0x0000U)) ? 0x20000U : \
|
||||
(((uint32_t)(*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0FFFU)) << 10U))) /* 128 KB */
|
||||
#define FLASH_BANK_SIZE FLASH_SIZE /* 128 KB */
|
||||
#define FLASH_LATENCY_DEFAULT FLASH_ACR_LATENCY_7WS /* FLASH Seven Latency cycles */
|
||||
#define FLASH_NB_32BITWORD_IN_FLASHWORD 8U /* 256 bits */
|
||||
|
||||
|
||||
/******************* Bits definition for FLASH_ACR register **********************/
|
||||
#define FLASH_ACR_LATENCY_Pos (0U)
|
||||
#define FLASH_ACR_LATENCY_Msk (0xFUL << FLASH_ACR_LATENCY_Pos) /*!< 0x0000000F */
|
||||
|
@ -10949,9 +11051,6 @@ typedef struct
|
|||
#define FLASH_OPTCR_OPTCHANGEERRIE_Pos (30U)
|
||||
#define FLASH_OPTCR_OPTCHANGEERRIE_Msk (0x1UL << FLASH_OPTCR_OPTCHANGEERRIE_Pos) /*!< 0x40000000 */
|
||||
#define FLASH_OPTCR_OPTCHANGEERRIE FLASH_OPTCR_OPTCHANGEERRIE_Msk /*!< Option byte change error interrupt enable bit */
|
||||
#define FLASH_OPTCR_SWAP_BANK_Pos (31U)
|
||||
#define FLASH_OPTCR_SWAP_BANK_Msk (0x1UL << FLASH_OPTCR_SWAP_BANK_Pos) /*!< 0x80000000 */
|
||||
#define FLASH_OPTCR_SWAP_BANK FLASH_OPTCR_SWAP_BANK_Msk /*!< Bank swapping option configuration bit */
|
||||
|
||||
/******************* Bits definition for FLASH_OPTSR register ***************/
|
||||
#define FLASH_OPTSR_OPT_BUSY_Pos (0U)
|
||||
|
@ -10994,9 +11093,6 @@ typedef struct
|
|||
#define FLASH_OPTSR_OPTCHANGEERR_Pos (30U)
|
||||
#define FLASH_OPTSR_OPTCHANGEERR_Msk (0x1UL << FLASH_OPTSR_OPTCHANGEERR_Pos) /*!< 0x40000000 */
|
||||
#define FLASH_OPTSR_OPTCHANGEERR FLASH_OPTSR_OPTCHANGEERR_Msk /*!< Option byte change error flag */
|
||||
#define FLASH_OPTSR_SWAP_BANK_OPT_Pos (31U)
|
||||
#define FLASH_OPTSR_SWAP_BANK_OPT_Msk (0x1UL << FLASH_OPTSR_SWAP_BANK_OPT_Pos) /*!< 0x80000000 */
|
||||
#define FLASH_OPTSR_SWAP_BANK_OPT FLASH_OPTSR_SWAP_BANK_OPT_Msk /*!< Bank swapping option status bit */
|
||||
|
||||
/******************* Bits definition for FLASH_OPTCCR register *******************/
|
||||
#define FLASH_OPTCCR_CLR_OPTCHANGEERR_Pos (30U)
|
||||
|
@ -11095,7 +11191,7 @@ typedef struct
|
|||
/****************** Bit definition for FMC_BCR1 register *******************/
|
||||
#define FMC_BCR1_CCLKEN_Pos (20U)
|
||||
#define FMC_BCR1_CCLKEN_Msk (0x1UL << FMC_BCR1_CCLKEN_Pos) /*!< 0x00100000 */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continous clock enable */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continuous clock enable */
|
||||
#define FMC_BCR1_WFDIS_Pos (21U)
|
||||
#define FMC_BCR1_WFDIS_Msk (0x1UL << FMC_BCR1_WFDIS_Pos) /*!< 0x00200000 */
|
||||
#define FMC_BCR1_WFDIS FMC_BCR1_WFDIS_Msk /*!<Write FIFO Disable */
|
||||
|
@ -11575,7 +11671,7 @@ typedef struct
|
|||
|
||||
#define FMC_SDRTR_REIE_Pos (14U)
|
||||
#define FMC_SDRTR_REIE_Msk (0x1UL << FMC_SDRTR_REIE_Pos) /*!< 0x00004000 */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interupt enable */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interrupt enable */
|
||||
|
||||
/****************** Bit definition for FMC_SDSR register ******************/
|
||||
#define FMC_SDSR_RE_Pos (0U)
|
||||
|
@ -13431,7 +13527,7 @@ typedef struct
|
|||
|
||||
#define LTDC_AWCR_AAH_Pos (0U)
|
||||
#define LTDC_AWCR_AAH_Msk (0x7FFUL << LTDC_AWCR_AAH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active heigh */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active height */
|
||||
#define LTDC_AWCR_AAW_Pos (16U)
|
||||
#define LTDC_AWCR_AAW_Msk (0xFFFUL << LTDC_AWCR_AAW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_AWCR_AAW LTDC_AWCR_AAW_Msk /*!< Accumulated Active Width */
|
||||
|
@ -13440,7 +13536,7 @@ typedef struct
|
|||
|
||||
#define LTDC_TWCR_TOTALH_Pos (0U)
|
||||
#define LTDC_TWCR_TOTALH_Msk (0x7FFUL << LTDC_TWCR_TOTALH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total Heigh */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total height */
|
||||
#define LTDC_TWCR_TOTALW_Pos (16U)
|
||||
#define LTDC_TWCR_TOTALW_Msk (0xFFFUL << LTDC_TWCR_TOTALW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_TWCR_TOTALW LTDC_TWCR_TOTALW_Msk /*!< Total Width */
|
||||
|
@ -13759,7 +13855,7 @@ typedef struct
|
|||
#define MDMA_CISR_TCIF MDMA_CISR_TCIF_Msk /*!< Channel x buffer transfer complete interrupt flag */
|
||||
#define MDMA_CISR_CRQA_Pos (16U)
|
||||
#define MDMA_CISR_CRQA_Msk (0x1UL << MDMA_CISR_CRQA_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x ReQest Active flag */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x request Active flag */
|
||||
|
||||
/******************** Bit definition for MDMA_CxIFCR register ****************/
|
||||
#define MDMA_CIFCR_CTEIF_Pos (0U)
|
||||
|
@ -13824,13 +13920,13 @@ typedef struct
|
|||
#define MDMA_CCR_PL_1 (0x2UL << MDMA_CCR_PL_Pos) /*!< 0x00000080 */
|
||||
#define MDMA_CCR_BEX_Pos (12U)
|
||||
#define MDMA_CCR_BEX_Msk (0x1UL << MDMA_CCR_BEX_Pos) /*!< 0x00001000 */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianess eXchange */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianness eXchange */
|
||||
#define MDMA_CCR_HEX_Pos (13U)
|
||||
#define MDMA_CCR_HEX_Msk (0x1UL << MDMA_CCR_HEX_Pos) /*!< 0x00002000 */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianess eXchange */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianness eXchange */
|
||||
#define MDMA_CCR_WEX_Pos (14U)
|
||||
#define MDMA_CCR_WEX_Msk (0x1UL << MDMA_CCR_WEX_Pos) /*!< 0x00004000 */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianess eXchange */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianness eXchange */
|
||||
#define MDMA_CCR_SWRQ_Pos (16U)
|
||||
#define MDMA_CCR_SWRQ_Msk (0x1UL << MDMA_CCR_SWRQ_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CCR_SWRQ MDMA_CCR_SWRQ_Msk /*!< SW ReQuest */
|
||||
|
@ -13886,7 +13982,7 @@ typedef struct
|
|||
#define MDMA_CTCR_PKE MDMA_CTCR_PKE_Msk /*!< PacK Enable */
|
||||
#define MDMA_CTCR_PAM_Pos (26U)
|
||||
#define MDMA_CTCR_PAM_Msk (0x3UL << MDMA_CTCR_PAM_Pos) /*!< 0x0C000000 */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignement Mode */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignment Mode */
|
||||
#define MDMA_CTCR_PAM_0 (0x1UL << MDMA_CTCR_PAM_Pos) /*!< 0x4000000 */
|
||||
#define MDMA_CTCR_PAM_1 (0x2UL << MDMA_CTCR_PAM_Pos) /*!< 0x8000000 */
|
||||
#define MDMA_CTCR_TRGM_Pos (28U)
|
||||
|
@ -18681,7 +18777,7 @@ typedef struct
|
|||
#define QUADSPI_CR_ABORT QUADSPI_CR_ABORT_Msk /*!< Abort request */
|
||||
#define QUADSPI_CR_DMAEN_Pos (2U)
|
||||
#define QUADSPI_CR_DMAEN_Msk (0x1UL << QUADSPI_CR_DMAEN_Pos) /*!< 0x00000004 */
|
||||
#define QUADSPI_CR_DMAEN QUADSPI_CR_DMAEN_Msk /*!< DMA Enable */
|
||||
#define QUADSPI_CR_DMAEN QUADSPI_CR_DMAEN_Msk /*!< Reserved: needed for softawre compatibility (DMA Enable) */
|
||||
#define QUADSPI_CR_TCEN_Pos (3U)
|
||||
#define QUADSPI_CR_TCEN_Msk (0x1UL << QUADSPI_CR_TCEN_Pos) /*!< 0x00000008 */
|
||||
#define QUADSPI_CR_TCEN QUADSPI_CR_TCEN_Msk /*!< Timeout Counter Enable */
|
||||
|
@ -21222,7 +21318,7 @@ typedef struct
|
|||
/******************* Bit definition for SWPMI_RDR register ********************/
|
||||
#define SWPMI_RDR_RD_Pos (0U)
|
||||
#define SWPMI_RDR_RD_Msk (0xFFFFFFFFUL << SWPMI_RDR_RD_Pos) /*!< 0xFFFFFFFF */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Recive Data Register */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Receive Data Register */
|
||||
|
||||
|
||||
/******************* Bit definition for SWPMI_OR register ********************/
|
||||
|
@ -21309,12 +21405,6 @@ typedef struct
|
|||
#define DBGMCU_CR_DBG_STANDBYD1_Pos (2U)
|
||||
#define DBGMCU_CR_DBG_STANDBYD1_Msk (0x1UL << DBGMCU_CR_DBG_STANDBYD1_Pos) /*!< 0x00000004 */
|
||||
#define DBGMCU_CR_DBG_STANDBYD1 DBGMCU_CR_DBG_STANDBYD1_Msk
|
||||
#define DBGMCU_CR_DBG_STOPD3_Pos (7U)
|
||||
#define DBGMCU_CR_DBG_STOPD3_Msk (0x1UL << DBGMCU_CR_DBG_STOPD3_Pos) /*!< 0x00000080 */
|
||||
#define DBGMCU_CR_DBG_STOPD3 DBGMCU_CR_DBG_STOPD3_Msk
|
||||
#define DBGMCU_CR_DBG_STANDBYD3_Pos (8U)
|
||||
#define DBGMCU_CR_DBG_STANDBYD3_Msk (0x1UL << DBGMCU_CR_DBG_STANDBYD3_Pos) /*!< 0x00000100 */
|
||||
#define DBGMCU_CR_DBG_STANDBYD3 DBGMCU_CR_DBG_STANDBYD3_Msk
|
||||
#define DBGMCU_CR_DBG_TRACECKEN_Pos (20U)
|
||||
#define DBGMCU_CR_DBG_TRACECKEN_Msk (0x1UL << DBGMCU_CR_DBG_TRACECKEN_Pos) /*!< 0x00100000 */
|
||||
#define DBGMCU_CR_DBG_TRACECKEN DBGMCU_CR_DBG_TRACECKEN_Msk
|
||||
|
@ -23177,7 +23267,7 @@ typedef struct
|
|||
/**** Bit definition for Common HRTIM Timer Burst mode control register ********/
|
||||
#define HRTIM_BMCR_BME_Pos (0U)
|
||||
#define HRTIM_BMCR_BME_Msk (0x1UL << HRTIM_BMCR_BME_Pos) /*!< 0x00000001 */
|
||||
#define HRTIM_BMCR_BME HRTIM_BMCR_BME_Msk /*!< Burst mode enbale */
|
||||
#define HRTIM_BMCR_BME HRTIM_BMCR_BME_Msk /*!< Burst mode enable */
|
||||
#define HRTIM_BMCR_BMOM_Pos (1U)
|
||||
#define HRTIM_BMCR_BMOM_Msk (0x1UL << HRTIM_BMCR_BMOM_Pos) /*!< 0x00000002 */
|
||||
#define HRTIM_BMCR_BMOM HRTIM_BMCR_BMOM_Msk /*!< Burst mode operating mode */
|
||||
|
@ -25918,14 +26008,16 @@ typedef struct
|
|||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/****************************** SMBUS Instances *******************************/
|
||||
#define IS_SMBUS_ALL_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \
|
||||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/******************************** I2S Instances *******************************/
|
||||
#define IS_I2S_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -25944,9 +26036,6 @@ typedef struct
|
|||
#define IS_SDMMC_ALL_INSTANCE(_INSTANCE_) (((_INSTANCE_) == SDMMC1) || \
|
||||
((_INSTANCE_) == SDMMC2))
|
||||
|
||||
/******************************** SMBUS Instances *****************************/
|
||||
#define IS_SMBUS_INSTANCE(INSTANCE) ((INSTANCE) == I2C1)
|
||||
|
||||
/******************************** SPI Instances *******************************/
|
||||
#define IS_SPI_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -26125,6 +26214,7 @@ typedef struct
|
|||
((INSTANCE) == TIM6) || \
|
||||
((INSTANCE) == TIM7) || \
|
||||
((INSTANCE) == TIM8) || \
|
||||
((INSTANCE) == TIM12) || \
|
||||
((INSTANCE) == TIM15))
|
||||
|
||||
/****** TIM Instances : Salve mode available (TIMx_SMCR.TS available )*********/
|
||||
|
|
|
@ -635,7 +635,7 @@ typedef struct
|
|||
__IO uint32_t CBRUR; /*!< MDMA channel x Block Repeat address Update register, Address offset: 0x60 */
|
||||
__IO uint32_t CLAR; /*!< MDMA channel x Link Address register, Address offset: 0x64 */
|
||||
__IO uint32_t CTBR; /*!< MDMA channel x Trigger and Bus selection Register, Address offset: 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x6C */
|
||||
__IO uint32_t CMAR; /*!< MDMA channel x Mask address register, Address offset: 0x70 */
|
||||
__IO uint32_t CMDR; /*!< MDMA channel x Mask Data register, Address offset: 0x74 */
|
||||
}MDMA_Channel_TypeDef;
|
||||
|
@ -885,6 +885,15 @@ __IO uint32_t EMR3; /*!< EXTI Event mask register,
|
|||
__IO uint32_t PR3; /*!< EXTI Pending register, Address offset: 0xA8 */
|
||||
}EXTI_TypeDef;
|
||||
|
||||
/**
|
||||
* @brief This structure registers corresponds to EXTI_Typdef CPU1/CPU2 registers subset (IMRx, EMRx and PRx), allowing to define EXTI_D1/EXTI_D2
|
||||
* with rapid/common access to these IMRx, EMRx, PRx registers for CPU1 and CPU2.
|
||||
* Note that EXTI_D1 and EXTI_D2 bases addresses are calculated to point to CPUx first register:
|
||||
* IMR1 in case of EXTI_D1 that is addressing CPU1 (Coretx-M7)
|
||||
* C2IMR1 in case of EXTI_D2 that is addressing CPU2 (Coretx-M4)
|
||||
* Note: EXTI_D2 and corresponding C2IMRx, C2EMRx and C2PRx registers are available for Dual Core devices only
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
__IO uint32_t IMR1; /*!< EXTI Interrupt mask register, Address offset: 0x00 */
|
||||
|
@ -1728,7 +1737,7 @@ typedef struct
|
|||
{
|
||||
__IO uint32_t MCR; /*!< HRTIM Master Timer control register, Address offset: 0x00 */
|
||||
__IO uint32_t MISR; /*!< HRTIM Master Timer interrupt status register, Address offset: 0x04 */
|
||||
__IO uint32_t MICR; /*!< HRTIM Master Timer interupt clear register, Address offset: 0x08 */
|
||||
__IO uint32_t MICR; /*!< HRTIM Master Timer interrupt clear register, Address offset: 0x08 */
|
||||
__IO uint32_t MDIER; /*!< HRTIM Master Timer DMA/interrupt enable register Address offset: 0x0C */
|
||||
__IO uint32_t MCNTR; /*!< HRTIM Master Timer counter register, Address offset: 0x10 */
|
||||
__IO uint32_t MPER; /*!< HRTIM Master Timer period register, Address offset: 0x14 */
|
||||
|
@ -2033,6 +2042,90 @@ typedef struct
|
|||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @brief Global Programmer View
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint32_t RESERVED0[2036]; /*!< Reserved, Address offset: 0x00-0x1FCC */
|
||||
__IO uint32_t AXI_PERIPH_ID_4; /*!< AXI interconnect - peripheral ID4 register, Address offset: 0x1FD0 */
|
||||
uint32_t AXI_PERIPH_ID_5; /*!< Reserved, Address offset: 0x1FD4 */
|
||||
uint32_t AXI_PERIPH_ID_6; /*!< Reserved, Address offset: 0x1FD8 */
|
||||
uint32_t AXI_PERIPH_ID_7; /*!< Reserved, Address offset: 0x1FDC */
|
||||
__IO uint32_t AXI_PERIPH_ID_0; /*!< AXI interconnect - peripheral ID0 register, Address offset: 0x1FE0 */
|
||||
__IO uint32_t AXI_PERIPH_ID_1; /*!< AXI interconnect - peripheral ID1 register, Address offset: 0x1FE4 */
|
||||
__IO uint32_t AXI_PERIPH_ID_2; /*!< AXI interconnect - peripheral ID2 register, Address offset: 0x1FE8 */
|
||||
__IO uint32_t AXI_PERIPH_ID_3; /*!< AXI interconnect - peripheral ID3 register, Address offset: 0x1FEC */
|
||||
__IO uint32_t AXI_COMP_ID_0; /*!< AXI interconnect - component ID0 register, Address offset: 0x1FF0 */
|
||||
__IO uint32_t AXI_COMP_ID_1; /*!< AXI interconnect - component ID1 register, Address offset: 0x1FF4 */
|
||||
__IO uint32_t AXI_COMP_ID_2; /*!< AXI interconnect - component ID2 register, Address offset: 0x1FF8 */
|
||||
__IO uint32_t AXI_COMP_ID_3; /*!< AXI interconnect - component ID3 register, Address offset: 0x1FFC */
|
||||
uint32_t RESERVED1[2]; /*!< Reserved, Address offset: 0x2000-0x2004 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 1 bus matrix issuing functionality register, Address offset: 0x2008 */
|
||||
uint32_t RESERVED2[6]; /*!< Reserved, Address offset: 0x200C-0x2020 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD2; /*!< AXI interconnect - TARG 1 bus matrix functionality 2 register, Address offset: 0x2024 */
|
||||
uint32_t RESERVED3; /*!< Reserved, Address offset: 0x2028 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_LB; /*!< AXI interconnect - TARG 1 long burst functionality modification register, Address offset: 0x202C */
|
||||
uint32_t RESERVED4[54]; /*!< Reserved, Address offset: 0x2030-0x2104 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD; /*!< AXI interconnect - TARG 1 issuing functionality modification register, Address offset: 0x2108 */
|
||||
uint32_t RESERVED5[959]; /*!< Reserved, Address offset: 0x210C-0x3004 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 2 bus matrix issuing functionality register, Address offset: 0x3008 */
|
||||
uint32_t RESERVED6[6]; /*!< Reserved, Address offset: 0x300C-0x3020 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD2; /*!< AXI interconnect - TARG 2 bus matrix functionality 2 register, Address offset: 0x3024 */
|
||||
uint32_t RESERVED7; /*!< Reserved, Address offset: 0x3028 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_LB; /*!< AXI interconnect - TARG 2 long burst functionality modification register, Address offset: 0x302C */
|
||||
uint32_t RESERVED8[54]; /*!< Reserved, Address offset: 0x3030-0x3104 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD; /*!< AXI interconnect - TARG 2 issuing functionality modification register, Address offset: 0x3108 */
|
||||
uint32_t RESERVED9[959]; /*!< Reserved, Address offset: 0x310C-0x4004 */
|
||||
__IO uint32_t AXI_TARG3_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 3 bus matrix issuing functionality register, Address offset: 0x4008 */
|
||||
uint32_t RESERVED10[1023]; /*!< Reserved, Address offset: 0x400C-0x5004 */
|
||||
__IO uint32_t AXI_TARG4_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 4 bus matrix issuing functionality register, Address offset: 0x5008 */
|
||||
uint32_t RESERVED11[1023]; /*!< Reserved, Address offset: 0x500C-0x6004 */
|
||||
__IO uint32_t AXI_TARG5_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 5 bus matrix issuing functionality register, Address offset: 0x6008 */
|
||||
uint32_t RESERVED12[1023]; /*!< Reserved, Address offset: 0x600C-0x7004 */
|
||||
__IO uint32_t AXI_TARG6_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 6 bus matrix issuing functionality register, Address offset: 0x7008 */
|
||||
uint32_t RESERVED13[1023]; /*!< Reserved, Address offset: 0x700C-0x8004 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 7 bus matrix issuing functionality register, Address offset: 0x8008 */
|
||||
uint32_t RESERVED14[6]; /*!< Reserved, Address offset: 0x800C-0x8020 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD2; /*!< AXI interconnect - TARG 7 bus matrix functionality 2 register, Address offset: 0x8024 */
|
||||
uint32_t RESERVED15; /*!< Reserved, Address offset: 0x8028 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_LB; /*!< AXI interconnect - TARG 7 long burst functionality modification register, Address offset: 0x802C */
|
||||
uint32_t RESERVED16[54]; /*!< Reserved, Address offset: 0x8030-0x8104 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD; /*!< AXI interconnect - TARG 7 issuing functionality modification register, Address offset: 0x8108 */
|
||||
uint32_t RESERVED17[59334]; /*!< Reserved, Address offset: 0x810C-0x42020 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD2; /*!< AXI interconnect - INI 1 functionality modification 2 register, Address offset: 0x42024 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD_AHB; /*!< AXI interconnect - INI 1 AHB functionality modification register, Address offset: 0x42028 */
|
||||
uint32_t RESERVED18[53]; /*!< Reserved, Address offset: 0x4202C-0x420FC */
|
||||
__IO uint32_t AXI_INI1_READ_QOS; /*!< AXI interconnect - INI 1 read QoS register, Address offset: 0x42100 */
|
||||
__IO uint32_t AXI_INI1_WRITE_QOS; /*!< AXI interconnect - INI 1 write QoS register, Address offset: 0x42104 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD; /*!< AXI interconnect - INI 1 issuing functionality modification register, Address offset: 0x42108 */
|
||||
uint32_t RESERVED19[1021]; /*!< Reserved, Address offset: 0x4210C-0x430FC */
|
||||
__IO uint32_t AXI_INI2_READ_QOS; /*!< AXI interconnect - INI 2 read QoS register, Address offset: 0x43100 */
|
||||
__IO uint32_t AXI_INI2_WRITE_QOS; /*!< AXI interconnect - INI 2 write QoS register, Address offset: 0x43104 */
|
||||
__IO uint32_t AXI_INI2_FN_MOD; /*!< AXI interconnect - INI 2 issuing functionality modification register, Address offset: 0x43108 */
|
||||
uint32_t RESERVED20[966]; /*!< Reserved, Address offset: 0x4310C-0x44020 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD2; /*!< AXI interconnect - INI 3 functionality modification 2 register, Address offset: 0x44024 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD_AHB; /*!< AXI interconnect - INI 3 AHB functionality modification register, Address offset: 0x44028 */
|
||||
uint32_t RESERVED21[53]; /*!< Reserved, Address offset: 0x4402C-0x440FC */
|
||||
__IO uint32_t AXI_INI3_READ_QOS; /*!< AXI interconnect - INI 3 read QoS register, Address offset: 0x44100 */
|
||||
__IO uint32_t AXI_INI3_WRITE_QOS; /*!< AXI interconnect - INI 3 write QoS register, Address offset: 0x44104 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD; /*!< AXI interconnect - INI 3 issuing functionality modification register, Address offset: 0x44108 */
|
||||
uint32_t RESERVED22[1021]; /*!< Reserved, Address offset: 0x4410C-0x450FC */
|
||||
__IO uint32_t AXI_INI4_READ_QOS; /*!< AXI interconnect - INI 4 read QoS register, Address offset: 0x45100 */
|
||||
__IO uint32_t AXI_INI4_WRITE_QOS; /*!< AXI interconnect - INI 4 write QoS register, Address offset: 0x45104 */
|
||||
__IO uint32_t AXI_INI4_FN_MOD; /*!< AXI interconnect - INI 4 issuing functionality modification register, Address offset: 0x45108 */
|
||||
uint32_t RESERVED23[1021]; /*!< Reserved, Address offset: 0x4510C-0x460FC */
|
||||
__IO uint32_t AXI_INI5_READ_QOS; /*!< AXI interconnect - INI 5 read QoS register, Address offset: 0x46100 */
|
||||
__IO uint32_t AXI_INI5_WRITE_QOS; /*!< AXI interconnect - INI 5 write QoS register, Address offset: 0x46104 */
|
||||
__IO uint32_t AXI_INI5_FN_MOD; /*!< AXI interconnect - INI 5 issuing functionality modification register, Address offset: 0x46108 */
|
||||
uint32_t RESERVED24[1021]; /*!< Reserved, Address offset: 0x4610C-0x470FC */
|
||||
__IO uint32_t AXI_INI6_READ_QOS; /*!< AXI interconnect - INI 6 read QoS register, Address offset: 0x47100 */
|
||||
__IO uint32_t AXI_INI6_WRITE_QOS; /*!< AXI interconnect - INI 6 write QoS register, Address offset: 0x47104 */
|
||||
__IO uint32_t AXI_INI6_FN_MOD; /*!< AXI interconnect - INI 6 issuing functionality modification register, Address offset: 0x47108 */
|
||||
|
||||
} GPV_TypeDef;
|
||||
|
||||
/** @addtogroup Peripheral_memory_map
|
||||
* @{
|
||||
*/
|
||||
|
@ -2390,6 +2483,9 @@ typedef struct
|
|||
#define RAMECC3_Monitor2_BASE (RAMECC3_BASE + 0x40UL)
|
||||
|
||||
|
||||
|
||||
#define GPV_BASE (PERIPH_BASE + 0x11000000UL) /*!< GPV_BASE (PERIPH_BASE + 0x11000000UL) */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -2683,6 +2779,8 @@ typedef struct
|
|||
#define USB_OTG_FS USB2_OTG_FS
|
||||
#define USB_OTG_FS_PERIPH_BASE USB2_OTG_FS_PERIPH_BASE
|
||||
|
||||
#define GPV ((GPV_TypeDef *) GPV_BASE)
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -3155,7 +3253,7 @@ typedef struct
|
|||
/******************** Bit definition for ADC_SQR1 register ********************/
|
||||
#define ADC_SQR1_L_Pos (0U)
|
||||
#define ADC_SQR1_L_Msk (0xFUL << ADC_SQR1_L_Pos) /*!< 0x0000000F */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence lenght */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence length */
|
||||
#define ADC_SQR1_L_0 (0x1UL << ADC_SQR1_L_Pos) /*!< 0x00000001 */
|
||||
#define ADC_SQR1_L_1 (0x2UL << ADC_SQR1_L_Pos) /*!< 0x00000002 */
|
||||
#define ADC_SQR1_L_2 (0x4UL << ADC_SQR1_L_Pos) /*!< 0x00000004 */
|
||||
|
@ -4035,7 +4133,7 @@ typedef struct
|
|||
/***************** Bit definition for FDCAN_ENDN register *******************/
|
||||
#define FDCAN_ENDN_ETV_Pos (0U)
|
||||
#define FDCAN_ENDN_ETV_Msk (0xFFFFFFFFUL << FDCAN_ENDN_ETV_Pos) /*!< 0xFFFFFFFF */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endiannes Test Value */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endianness Test Value */
|
||||
|
||||
/***************** Bit definition for FDCAN_DBTP register *******************/
|
||||
#define FDCAN_DBTP_DSJW_Pos (0U)
|
||||
|
@ -4162,7 +4260,7 @@ typedef struct
|
|||
|
||||
/***************** Bit definition for FDCAN_ECR register *********************/
|
||||
#define FDCAN_ECR_TEC_Pos (0U)
|
||||
#define FDCAN_ECR_TEC_Msk (0xFUL << FDCAN_ECR_TEC_Pos) /*!< 0x0000000F */
|
||||
#define FDCAN_ECR_TEC_Msk (0xFFUL << FDCAN_ECR_TEC_Pos) /*!< 0x000000FF */
|
||||
#define FDCAN_ECR_TEC FDCAN_ECR_TEC_Msk /*!<Transmit Error Counter */
|
||||
#define FDCAN_ECR_REC_Pos (8U)
|
||||
#define FDCAN_ECR_REC_Msk (0x7FUL << FDCAN_ECR_REC_Pos) /*!< 0x00007F00 */
|
||||
|
@ -10745,8 +10843,11 @@ typedef struct
|
|||
/*
|
||||
* @brief FLASH Global Defines
|
||||
*/
|
||||
#define FLASH_SIZE_DATA_REGISTER 0x1FF1E880U
|
||||
#define FLASH_SECTOR_TOTAL 8U /* 8 sectors */
|
||||
#define FLASH_SIZE 0x200000UL /* 2 MB */
|
||||
#define FLASH_SIZE ((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0xFFFFU)) ? 0x200000U : \
|
||||
((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0x0000U)) ? 0x200000U : \
|
||||
(((uint32_t)(*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0FFFU)) << 10U))) /* 2 MB */
|
||||
#define FLASH_BANK_SIZE (FLASH_SIZE >> 1) /* 1 MB */
|
||||
#define FLASH_SECTOR_SIZE 0x00020000UL /* 128 KB */
|
||||
#define FLASH_LATENCY_DEFAULT FLASH_ACR_LATENCY_7WS /* FLASH Seven Latency cycles */
|
||||
|
@ -11096,7 +11197,7 @@ typedef struct
|
|||
/****************** Bit definition for FMC_BCR1 register *******************/
|
||||
#define FMC_BCR1_CCLKEN_Pos (20U)
|
||||
#define FMC_BCR1_CCLKEN_Msk (0x1UL << FMC_BCR1_CCLKEN_Pos) /*!< 0x00100000 */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continous clock enable */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continuous clock enable */
|
||||
#define FMC_BCR1_WFDIS_Pos (21U)
|
||||
#define FMC_BCR1_WFDIS_Msk (0x1UL << FMC_BCR1_WFDIS_Pos) /*!< 0x00200000 */
|
||||
#define FMC_BCR1_WFDIS FMC_BCR1_WFDIS_Msk /*!<Write FIFO Disable */
|
||||
|
@ -11576,7 +11677,7 @@ typedef struct
|
|||
|
||||
#define FMC_SDRTR_REIE_Pos (14U)
|
||||
#define FMC_SDRTR_REIE_Msk (0x1UL << FMC_SDRTR_REIE_Pos) /*!< 0x00004000 */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interupt enable */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interrupt enable */
|
||||
|
||||
/****************** Bit definition for FMC_SDSR register ******************/
|
||||
#define FMC_SDSR_RE_Pos (0U)
|
||||
|
@ -13432,7 +13533,7 @@ typedef struct
|
|||
|
||||
#define LTDC_AWCR_AAH_Pos (0U)
|
||||
#define LTDC_AWCR_AAH_Msk (0x7FFUL << LTDC_AWCR_AAH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active heigh */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active height */
|
||||
#define LTDC_AWCR_AAW_Pos (16U)
|
||||
#define LTDC_AWCR_AAW_Msk (0xFFFUL << LTDC_AWCR_AAW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_AWCR_AAW LTDC_AWCR_AAW_Msk /*!< Accumulated Active Width */
|
||||
|
@ -13441,7 +13542,7 @@ typedef struct
|
|||
|
||||
#define LTDC_TWCR_TOTALH_Pos (0U)
|
||||
#define LTDC_TWCR_TOTALH_Msk (0x7FFUL << LTDC_TWCR_TOTALH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total Heigh */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total height */
|
||||
#define LTDC_TWCR_TOTALW_Pos (16U)
|
||||
#define LTDC_TWCR_TOTALW_Msk (0xFFFUL << LTDC_TWCR_TOTALW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_TWCR_TOTALW LTDC_TWCR_TOTALW_Msk /*!< Total Width */
|
||||
|
@ -13760,7 +13861,7 @@ typedef struct
|
|||
#define MDMA_CISR_TCIF MDMA_CISR_TCIF_Msk /*!< Channel x buffer transfer complete interrupt flag */
|
||||
#define MDMA_CISR_CRQA_Pos (16U)
|
||||
#define MDMA_CISR_CRQA_Msk (0x1UL << MDMA_CISR_CRQA_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x ReQest Active flag */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x request Active flag */
|
||||
|
||||
/******************** Bit definition for MDMA_CxIFCR register ****************/
|
||||
#define MDMA_CIFCR_CTEIF_Pos (0U)
|
||||
|
@ -13825,13 +13926,13 @@ typedef struct
|
|||
#define MDMA_CCR_PL_1 (0x2UL << MDMA_CCR_PL_Pos) /*!< 0x00000080 */
|
||||
#define MDMA_CCR_BEX_Pos (12U)
|
||||
#define MDMA_CCR_BEX_Msk (0x1UL << MDMA_CCR_BEX_Pos) /*!< 0x00001000 */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianess eXchange */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianness eXchange */
|
||||
#define MDMA_CCR_HEX_Pos (13U)
|
||||
#define MDMA_CCR_HEX_Msk (0x1UL << MDMA_CCR_HEX_Pos) /*!< 0x00002000 */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianess eXchange */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianness eXchange */
|
||||
#define MDMA_CCR_WEX_Pos (14U)
|
||||
#define MDMA_CCR_WEX_Msk (0x1UL << MDMA_CCR_WEX_Pos) /*!< 0x00004000 */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianess eXchange */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianness eXchange */
|
||||
#define MDMA_CCR_SWRQ_Pos (16U)
|
||||
#define MDMA_CCR_SWRQ_Msk (0x1UL << MDMA_CCR_SWRQ_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CCR_SWRQ MDMA_CCR_SWRQ_Msk /*!< SW ReQuest */
|
||||
|
@ -13887,7 +13988,7 @@ typedef struct
|
|||
#define MDMA_CTCR_PKE MDMA_CTCR_PKE_Msk /*!< PacK Enable */
|
||||
#define MDMA_CTCR_PAM_Pos (26U)
|
||||
#define MDMA_CTCR_PAM_Msk (0x3UL << MDMA_CTCR_PAM_Pos) /*!< 0x0C000000 */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignement Mode */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignment Mode */
|
||||
#define MDMA_CTCR_PAM_0 (0x1UL << MDMA_CTCR_PAM_Pos) /*!< 0x4000000 */
|
||||
#define MDMA_CTCR_PAM_1 (0x2UL << MDMA_CTCR_PAM_Pos) /*!< 0x8000000 */
|
||||
#define MDMA_CTCR_TRGM_Pos (28U)
|
||||
|
@ -18682,7 +18783,7 @@ typedef struct
|
|||
#define QUADSPI_CR_ABORT QUADSPI_CR_ABORT_Msk /*!< Abort request */
|
||||
#define QUADSPI_CR_DMAEN_Pos (2U)
|
||||
#define QUADSPI_CR_DMAEN_Msk (0x1UL << QUADSPI_CR_DMAEN_Pos) /*!< 0x00000004 */
|
||||
#define QUADSPI_CR_DMAEN QUADSPI_CR_DMAEN_Msk /*!< DMA Enable */
|
||||
#define QUADSPI_CR_DMAEN QUADSPI_CR_DMAEN_Msk /*!< Reserved: needed for softawre compatibility (DMA Enable) */
|
||||
#define QUADSPI_CR_TCEN_Pos (3U)
|
||||
#define QUADSPI_CR_TCEN_Msk (0x1UL << QUADSPI_CR_TCEN_Pos) /*!< 0x00000008 */
|
||||
#define QUADSPI_CR_TCEN QUADSPI_CR_TCEN_Msk /*!< Timeout Counter Enable */
|
||||
|
@ -21223,7 +21324,7 @@ typedef struct
|
|||
/******************* Bit definition for SWPMI_RDR register ********************/
|
||||
#define SWPMI_RDR_RD_Pos (0U)
|
||||
#define SWPMI_RDR_RD_Msk (0xFFFFFFFFUL << SWPMI_RDR_RD_Pos) /*!< 0xFFFFFFFF */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Recive Data Register */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Receive Data Register */
|
||||
|
||||
|
||||
/******************* Bit definition for SWPMI_OR register ********************/
|
||||
|
@ -21310,12 +21411,6 @@ typedef struct
|
|||
#define DBGMCU_CR_DBG_STANDBYD1_Pos (2U)
|
||||
#define DBGMCU_CR_DBG_STANDBYD1_Msk (0x1UL << DBGMCU_CR_DBG_STANDBYD1_Pos) /*!< 0x00000004 */
|
||||
#define DBGMCU_CR_DBG_STANDBYD1 DBGMCU_CR_DBG_STANDBYD1_Msk
|
||||
#define DBGMCU_CR_DBG_STOPD3_Pos (7U)
|
||||
#define DBGMCU_CR_DBG_STOPD3_Msk (0x1UL << DBGMCU_CR_DBG_STOPD3_Pos) /*!< 0x00000080 */
|
||||
#define DBGMCU_CR_DBG_STOPD3 DBGMCU_CR_DBG_STOPD3_Msk
|
||||
#define DBGMCU_CR_DBG_STANDBYD3_Pos (8U)
|
||||
#define DBGMCU_CR_DBG_STANDBYD3_Msk (0x1UL << DBGMCU_CR_DBG_STANDBYD3_Pos) /*!< 0x00000100 */
|
||||
#define DBGMCU_CR_DBG_STANDBYD3 DBGMCU_CR_DBG_STANDBYD3_Msk
|
||||
#define DBGMCU_CR_DBG_TRACECKEN_Pos (20U)
|
||||
#define DBGMCU_CR_DBG_TRACECKEN_Msk (0x1UL << DBGMCU_CR_DBG_TRACECKEN_Pos) /*!< 0x00100000 */
|
||||
#define DBGMCU_CR_DBG_TRACECKEN DBGMCU_CR_DBG_TRACECKEN_Msk
|
||||
|
@ -23178,7 +23273,7 @@ typedef struct
|
|||
/**** Bit definition for Common HRTIM Timer Burst mode control register ********/
|
||||
#define HRTIM_BMCR_BME_Pos (0U)
|
||||
#define HRTIM_BMCR_BME_Msk (0x1UL << HRTIM_BMCR_BME_Pos) /*!< 0x00000001 */
|
||||
#define HRTIM_BMCR_BME HRTIM_BMCR_BME_Msk /*!< Burst mode enbale */
|
||||
#define HRTIM_BMCR_BME HRTIM_BMCR_BME_Msk /*!< Burst mode enable */
|
||||
#define HRTIM_BMCR_BMOM_Pos (1U)
|
||||
#define HRTIM_BMCR_BMOM_Msk (0x1UL << HRTIM_BMCR_BMOM_Pos) /*!< 0x00000002 */
|
||||
#define HRTIM_BMCR_BMOM HRTIM_BMCR_BMOM_Msk /*!< Burst mode operating mode */
|
||||
|
@ -25919,14 +26014,16 @@ typedef struct
|
|||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/****************************** SMBUS Instances *******************************/
|
||||
#define IS_SMBUS_ALL_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \
|
||||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/******************************** I2S Instances *******************************/
|
||||
#define IS_I2S_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -25945,9 +26042,6 @@ typedef struct
|
|||
#define IS_SDMMC_ALL_INSTANCE(_INSTANCE_) (((_INSTANCE_) == SDMMC1) || \
|
||||
((_INSTANCE_) == SDMMC2))
|
||||
|
||||
/******************************** SMBUS Instances *****************************/
|
||||
#define IS_SMBUS_INSTANCE(INSTANCE) ((INSTANCE) == I2C1)
|
||||
|
||||
/******************************** SPI Instances *******************************/
|
||||
#define IS_SPI_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -26126,6 +26220,7 @@ typedef struct
|
|||
((INSTANCE) == TIM6) || \
|
||||
((INSTANCE) == TIM7) || \
|
||||
((INSTANCE) == TIM8) || \
|
||||
((INSTANCE) == TIM12) || \
|
||||
((INSTANCE) == TIM15))
|
||||
|
||||
/****** TIM Instances : Salve mode available (TIMx_SMCR.TS available )*********/
|
||||
|
|
|
@ -667,7 +667,7 @@ typedef struct
|
|||
__IO uint32_t CBRUR; /*!< MDMA channel x Block Repeat address Update register, Address offset: 0x60 */
|
||||
__IO uint32_t CLAR; /*!< MDMA channel x Link Address register, Address offset: 0x64 */
|
||||
__IO uint32_t CTBR; /*!< MDMA channel x Trigger and Bus selection Register, Address offset: 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x6C */
|
||||
__IO uint32_t CMAR; /*!< MDMA channel x Mask address register, Address offset: 0x70 */
|
||||
__IO uint32_t CMDR; /*!< MDMA channel x Mask Data register, Address offset: 0x74 */
|
||||
}MDMA_Channel_TypeDef;
|
||||
|
@ -930,6 +930,15 @@ __IO uint32_t C2PR3; /*!< EXTI Pending register,
|
|||
|
||||
}EXTI_TypeDef;
|
||||
|
||||
/**
|
||||
* @brief This structure registers corresponds to EXTI_Typdef CPU1/CPU2 registers subset (IMRx, EMRx and PRx), allowing to define EXTI_D1/EXTI_D2
|
||||
* with rapid/common access to these IMRx, EMRx, PRx registers for CPU1 and CPU2.
|
||||
* Note that EXTI_D1 and EXTI_D2 bases addresses are calculated to point to CPUx first register:
|
||||
* IMR1 in case of EXTI_D1 that is addressing CPU1 (Coretx-M7)
|
||||
* C2IMR1 in case of EXTI_D2 that is addressing CPU2 (Coretx-M4)
|
||||
* Note: EXTI_D2 and corresponding C2IMRx, C2EMRx and C2PRx registers are available for Dual Core devices only
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
__IO uint32_t IMR1; /*!< EXTI Interrupt mask register, Address offset: 0x00 */
|
||||
|
@ -1803,7 +1812,7 @@ typedef struct
|
|||
{
|
||||
__IO uint32_t MCR; /*!< HRTIM Master Timer control register, Address offset: 0x00 */
|
||||
__IO uint32_t MISR; /*!< HRTIM Master Timer interrupt status register, Address offset: 0x04 */
|
||||
__IO uint32_t MICR; /*!< HRTIM Master Timer interupt clear register, Address offset: 0x08 */
|
||||
__IO uint32_t MICR; /*!< HRTIM Master Timer interrupt clear register, Address offset: 0x08 */
|
||||
__IO uint32_t MDIER; /*!< HRTIM Master Timer DMA/interrupt enable register Address offset: 0x0C */
|
||||
__IO uint32_t MCNTR; /*!< HRTIM Master Timer counter register, Address offset: 0x10 */
|
||||
__IO uint32_t MPER; /*!< HRTIM Master Timer period register, Address offset: 0x14 */
|
||||
|
@ -2108,6 +2117,94 @@ typedef struct
|
|||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @brief Global Programmer View
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint32_t RESERVED0[2036]; /*!< Reserved, Address offset: 0x00-0x1FCC */
|
||||
__IO uint32_t AXI_PERIPH_ID_4; /*!< AXI interconnect - peripheral ID4 register, Address offset: 0x1FD0 */
|
||||
uint32_t AXI_PERIPH_ID_5; /*!< Reserved, Address offset: 0x1FD4 */
|
||||
uint32_t AXI_PERIPH_ID_6; /*!< Reserved, Address offset: 0x1FD8 */
|
||||
uint32_t AXI_PERIPH_ID_7; /*!< Reserved, Address offset: 0x1FDC */
|
||||
__IO uint32_t AXI_PERIPH_ID_0; /*!< AXI interconnect - peripheral ID0 register, Address offset: 0x1FE0 */
|
||||
__IO uint32_t AXI_PERIPH_ID_1; /*!< AXI interconnect - peripheral ID1 register, Address offset: 0x1FE4 */
|
||||
__IO uint32_t AXI_PERIPH_ID_2; /*!< AXI interconnect - peripheral ID2 register, Address offset: 0x1FE8 */
|
||||
__IO uint32_t AXI_PERIPH_ID_3; /*!< AXI interconnect - peripheral ID3 register, Address offset: 0x1FEC */
|
||||
__IO uint32_t AXI_COMP_ID_0; /*!< AXI interconnect - component ID0 register, Address offset: 0x1FF0 */
|
||||
__IO uint32_t AXI_COMP_ID_1; /*!< AXI interconnect - component ID1 register, Address offset: 0x1FF4 */
|
||||
__IO uint32_t AXI_COMP_ID_2; /*!< AXI interconnect - component ID2 register, Address offset: 0x1FF8 */
|
||||
__IO uint32_t AXI_COMP_ID_3; /*!< AXI interconnect - component ID3 register, Address offset: 0x1FFC */
|
||||
uint32_t RESERVED1[2]; /*!< Reserved, Address offset: 0x2000-0x2004 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 1 bus matrix issuing functionality register, Address offset: 0x2008 */
|
||||
uint32_t RESERVED2[6]; /*!< Reserved, Address offset: 0x200C-0x2020 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD2; /*!< AXI interconnect - TARG 1 bus matrix functionality 2 register, Address offset: 0x2024 */
|
||||
uint32_t RESERVED3; /*!< Reserved, Address offset: 0x2028 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_LB; /*!< AXI interconnect - TARG 1 long burst functionality modification register, Address offset: 0x202C */
|
||||
uint32_t RESERVED4[54]; /*!< Reserved, Address offset: 0x2030-0x2104 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD; /*!< AXI interconnect - TARG 1 issuing functionality modification register, Address offset: 0x2108 */
|
||||
uint32_t RESERVED5[959]; /*!< Reserved, Address offset: 0x210C-0x3004 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 2 bus matrix issuing functionality register, Address offset: 0x3008 */
|
||||
uint32_t RESERVED6[6]; /*!< Reserved, Address offset: 0x300C-0x3020 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD2; /*!< AXI interconnect - TARG 2 bus matrix functionality 2 register, Address offset: 0x3024 */
|
||||
uint32_t RESERVED7; /*!< Reserved, Address offset: 0x3028 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_LB; /*!< AXI interconnect - TARG 2 long burst functionality modification register, Address offset: 0x302C */
|
||||
uint32_t RESERVED8[54]; /*!< Reserved, Address offset: 0x3030-0x3104 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD; /*!< AXI interconnect - TARG 2 issuing functionality modification register, Address offset: 0x3108 */
|
||||
uint32_t RESERVED9[959]; /*!< Reserved, Address offset: 0x310C-0x4004 */
|
||||
__IO uint32_t AXI_TARG3_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 3 bus matrix issuing functionality register, Address offset: 0x4008 */
|
||||
uint32_t RESERVED10[1023]; /*!< Reserved, Address offset: 0x400C-0x5004 */
|
||||
__IO uint32_t AXI_TARG4_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 4 bus matrix issuing functionality register, Address offset: 0x5008 */
|
||||
uint32_t RESERVED11[1023]; /*!< Reserved, Address offset: 0x500C-0x6004 */
|
||||
__IO uint32_t AXI_TARG5_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 5 bus matrix issuing functionality register, Address offset: 0x6008 */
|
||||
uint32_t RESERVED12[1023]; /*!< Reserved, Address offset: 0x600C-0x7004 */
|
||||
__IO uint32_t AXI_TARG6_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 6 bus matrix issuing functionality register, Address offset: 0x7008 */
|
||||
uint32_t RESERVED13[1023]; /*!< Reserved, Address offset: 0x700C-0x8004 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 7 bus matrix issuing functionality register, Address offset: 0x8008 */
|
||||
uint32_t RESERVED14[6]; /*!< Reserved, Address offset: 0x800C-0x8020 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD2; /*!< AXI interconnect - TARG 7 bus matrix functionality 2 register, Address offset: 0x8024 */
|
||||
uint32_t RESERVED15; /*!< Reserved, Address offset: 0x8028 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_LB; /*!< AXI interconnect - TARG 7 long burst functionality modification register, Address offset: 0x802C */
|
||||
uint32_t RESERVED16[54]; /*!< Reserved, Address offset: 0x8030-0x8104 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD; /*!< AXI interconnect - TARG 7 issuing functionality modification register, Address offset: 0x8108 */
|
||||
uint32_t RESERVED17[59334]; /*!< Reserved, Address offset: 0x810C-0x42020 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD2; /*!< AXI interconnect - INI 1 functionality modification 2 register, Address offset: 0x42024 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD_AHB; /*!< AXI interconnect - INI 1 AHB functionality modification register, Address offset: 0x42028 */
|
||||
uint32_t RESERVED18[53]; /*!< Reserved, Address offset: 0x4202C-0x420FC */
|
||||
__IO uint32_t AXI_INI1_READ_QOS; /*!< AXI interconnect - INI 1 read QoS register, Address offset: 0x42100 */
|
||||
__IO uint32_t AXI_INI1_WRITE_QOS; /*!< AXI interconnect - INI 1 write QoS register, Address offset: 0x42104 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD; /*!< AXI interconnect - INI 1 issuing functionality modification register, Address offset: 0x42108 */
|
||||
uint32_t RESERVED19[1021]; /*!< Reserved, Address offset: 0x4210C-0x430FC */
|
||||
__IO uint32_t AXI_INI2_READ_QOS; /*!< AXI interconnect - INI 2 read QoS register, Address offset: 0x43100 */
|
||||
__IO uint32_t AXI_INI2_WRITE_QOS; /*!< AXI interconnect - INI 2 write QoS register, Address offset: 0x43104 */
|
||||
__IO uint32_t AXI_INI2_FN_MOD; /*!< AXI interconnect - INI 2 issuing functionality modification register, Address offset: 0x43108 */
|
||||
uint32_t RESERVED20[966]; /*!< Reserved, Address offset: 0x4310C-0x44020 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD2; /*!< AXI interconnect - INI 3 functionality modification 2 register, Address offset: 0x44024 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD_AHB; /*!< AXI interconnect - INI 3 AHB functionality modification register, Address offset: 0x44028 */
|
||||
uint32_t RESERVED21[53]; /*!< Reserved, Address offset: 0x4402C-0x440FC */
|
||||
__IO uint32_t AXI_INI3_READ_QOS; /*!< AXI interconnect - INI 3 read QoS register, Address offset: 0x44100 */
|
||||
__IO uint32_t AXI_INI3_WRITE_QOS; /*!< AXI interconnect - INI 3 write QoS register, Address offset: 0x44104 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD; /*!< AXI interconnect - INI 3 issuing functionality modification register, Address offset: 0x44108 */
|
||||
uint32_t RESERVED22[1021]; /*!< Reserved, Address offset: 0x4410C-0x450FC */
|
||||
__IO uint32_t AXI_INI4_READ_QOS; /*!< AXI interconnect - INI 4 read QoS register, Address offset: 0x45100 */
|
||||
__IO uint32_t AXI_INI4_WRITE_QOS; /*!< AXI interconnect - INI 4 write QoS register, Address offset: 0x45104 */
|
||||
__IO uint32_t AXI_INI4_FN_MOD; /*!< AXI interconnect - INI 4 issuing functionality modification register, Address offset: 0x45108 */
|
||||
uint32_t RESERVED23[1021]; /*!< Reserved, Address offset: 0x4510C-0x460FC */
|
||||
__IO uint32_t AXI_INI5_READ_QOS; /*!< AXI interconnect - INI 5 read QoS register, Address offset: 0x46100 */
|
||||
__IO uint32_t AXI_INI5_WRITE_QOS; /*!< AXI interconnect - INI 5 write QoS register, Address offset: 0x46104 */
|
||||
__IO uint32_t AXI_INI5_FN_MOD; /*!< AXI interconnect - INI 5 issuing functionality modification register, Address offset: 0x46108 */
|
||||
uint32_t RESERVED24[1021]; /*!< Reserved, Address offset: 0x4610C-0x470FC */
|
||||
__IO uint32_t AXI_INI6_READ_QOS; /*!< AXI interconnect - INI 6 read QoS register, Address offset: 0x47100 */
|
||||
__IO uint32_t AXI_INI6_WRITE_QOS; /*!< AXI interconnect - INI 6 write QoS register, Address offset: 0x47104 */
|
||||
__IO uint32_t AXI_INI6_FN_MOD; /*!< AXI interconnect - INI 6 issuing functionality modification register, Address offset: 0x47108 */
|
||||
uint32_t RESERVED25[1021]; /*!< Reserved, Address offset: 0x4710C-0x480FC */
|
||||
__IO uint32_t AXI_INI7_READ_QOS; /*!< AXI interconnect - INI 7 read QoS register, Address offset: 0x48100 */
|
||||
__IO uint32_t AXI_INI7_WRITE_QOS; /*!< AXI interconnect - INI 7 write QoS register, Address offset: 0x48104 */
|
||||
__IO uint32_t AXI_INI7_FN_MOD; /*!< AXI interconnect - INI 7 issuing functionality modification register, Address offset: 0x48108 */
|
||||
|
||||
} GPV_TypeDef;
|
||||
|
||||
/** @addtogroup Peripheral_memory_map
|
||||
* @{
|
||||
*/
|
||||
|
@ -2470,6 +2567,9 @@ typedef struct
|
|||
#define RAMECC3_Monitor2_BASE (RAMECC3_BASE + 0x40UL)
|
||||
|
||||
|
||||
|
||||
#define GPV_BASE (PERIPH_BASE + 0x11000000UL) /*!< GPV_BASE (PERIPH_BASE + 0x11000000UL) */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -2773,6 +2873,8 @@ typedef struct
|
|||
#define USB_OTG_FS USB2_OTG_FS
|
||||
#define USB_OTG_FS_PERIPH_BASE USB2_OTG_FS_PERIPH_BASE
|
||||
|
||||
#define GPV ((GPV_TypeDef *) GPV_BASE)
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -3245,7 +3347,7 @@ typedef struct
|
|||
/******************** Bit definition for ADC_SQR1 register ********************/
|
||||
#define ADC_SQR1_L_Pos (0U)
|
||||
#define ADC_SQR1_L_Msk (0xFUL << ADC_SQR1_L_Pos) /*!< 0x0000000F */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence lenght */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence length */
|
||||
#define ADC_SQR1_L_0 (0x1UL << ADC_SQR1_L_Pos) /*!< 0x00000001 */
|
||||
#define ADC_SQR1_L_1 (0x2UL << ADC_SQR1_L_Pos) /*!< 0x00000002 */
|
||||
#define ADC_SQR1_L_2 (0x4UL << ADC_SQR1_L_Pos) /*!< 0x00000004 */
|
||||
|
@ -4138,7 +4240,7 @@ typedef struct
|
|||
/***************** Bit definition for FDCAN_ENDN register *******************/
|
||||
#define FDCAN_ENDN_ETV_Pos (0U)
|
||||
#define FDCAN_ENDN_ETV_Msk (0xFFFFFFFFUL << FDCAN_ENDN_ETV_Pos) /*!< 0xFFFFFFFF */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endiannes Test Value */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endianness Test Value */
|
||||
|
||||
/***************** Bit definition for FDCAN_DBTP register *******************/
|
||||
#define FDCAN_DBTP_DSJW_Pos (0U)
|
||||
|
@ -4265,7 +4367,7 @@ typedef struct
|
|||
|
||||
/***************** Bit definition for FDCAN_ECR register *********************/
|
||||
#define FDCAN_ECR_TEC_Pos (0U)
|
||||
#define FDCAN_ECR_TEC_Msk (0xFUL << FDCAN_ECR_TEC_Pos) /*!< 0x0000000F */
|
||||
#define FDCAN_ECR_TEC_Msk (0xFFUL << FDCAN_ECR_TEC_Pos) /*!< 0x000000FF */
|
||||
#define FDCAN_ECR_TEC FDCAN_ECR_TEC_Msk /*!<Transmit Error Counter */
|
||||
#define FDCAN_ECR_REC_Pos (8U)
|
||||
#define FDCAN_ECR_REC_Msk (0x7FUL << FDCAN_ECR_REC_Pos) /*!< 0x00007F00 */
|
||||
|
@ -10848,8 +10950,11 @@ typedef struct
|
|||
/*
|
||||
* @brief FLASH Global Defines
|
||||
*/
|
||||
#define FLASH_SIZE_DATA_REGISTER 0x1FF1E880U
|
||||
#define FLASH_SECTOR_TOTAL 8U /* 8 sectors */
|
||||
#define FLASH_SIZE 0x200000UL /* 2 MB */
|
||||
#define FLASH_SIZE ((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0xFFFFU)) ? 0x200000U : \
|
||||
((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0x0000U)) ? 0x200000U : \
|
||||
(((uint32_t)(*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0FFFU)) << 10U))) /* 2 MB */
|
||||
#define FLASH_BANK_SIZE (FLASH_SIZE >> 1) /* 1 MB */
|
||||
#define FLASH_SECTOR_SIZE 0x00020000UL /* 128 KB */
|
||||
#define FLASH_LATENCY_DEFAULT FLASH_ACR_LATENCY_7WS /* FLASH Seven Latency cycles */
|
||||
|
@ -11221,7 +11326,7 @@ typedef struct
|
|||
/****************** Bit definition for FMC_BCR1 register *******************/
|
||||
#define FMC_BCR1_CCLKEN_Pos (20U)
|
||||
#define FMC_BCR1_CCLKEN_Msk (0x1UL << FMC_BCR1_CCLKEN_Pos) /*!< 0x00100000 */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continous clock enable */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continuous clock enable */
|
||||
#define FMC_BCR1_WFDIS_Pos (21U)
|
||||
#define FMC_BCR1_WFDIS_Msk (0x1UL << FMC_BCR1_WFDIS_Pos) /*!< 0x00200000 */
|
||||
#define FMC_BCR1_WFDIS FMC_BCR1_WFDIS_Msk /*!<Write FIFO Disable */
|
||||
|
@ -11701,7 +11806,7 @@ typedef struct
|
|||
|
||||
#define FMC_SDRTR_REIE_Pos (14U)
|
||||
#define FMC_SDRTR_REIE_Msk (0x1UL << FMC_SDRTR_REIE_Pos) /*!< 0x00004000 */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interupt enable */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interrupt enable */
|
||||
|
||||
/****************** Bit definition for FMC_SDSR register ******************/
|
||||
#define FMC_SDSR_RE_Pos (0U)
|
||||
|
@ -13948,7 +14053,7 @@ typedef struct
|
|||
|
||||
#define LTDC_AWCR_AAH_Pos (0U)
|
||||
#define LTDC_AWCR_AAH_Msk (0x7FFUL << LTDC_AWCR_AAH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active heigh */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active height */
|
||||
#define LTDC_AWCR_AAW_Pos (16U)
|
||||
#define LTDC_AWCR_AAW_Msk (0xFFFUL << LTDC_AWCR_AAW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_AWCR_AAW LTDC_AWCR_AAW_Msk /*!< Accumulated Active Width */
|
||||
|
@ -13957,7 +14062,7 @@ typedef struct
|
|||
|
||||
#define LTDC_TWCR_TOTALH_Pos (0U)
|
||||
#define LTDC_TWCR_TOTALH_Msk (0x7FFUL << LTDC_TWCR_TOTALH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total Heigh */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total height */
|
||||
#define LTDC_TWCR_TOTALW_Pos (16U)
|
||||
#define LTDC_TWCR_TOTALW_Msk (0xFFFUL << LTDC_TWCR_TOTALW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_TWCR_TOTALW LTDC_TWCR_TOTALW_Msk /*!< Total Width */
|
||||
|
@ -14276,7 +14381,7 @@ typedef struct
|
|||
#define MDMA_CISR_TCIF MDMA_CISR_TCIF_Msk /*!< Channel x buffer transfer complete interrupt flag */
|
||||
#define MDMA_CISR_CRQA_Pos (16U)
|
||||
#define MDMA_CISR_CRQA_Msk (0x1UL << MDMA_CISR_CRQA_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x ReQest Active flag */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x request Active flag */
|
||||
|
||||
/******************** Bit definition for MDMA_CxIFCR register ****************/
|
||||
#define MDMA_CIFCR_CTEIF_Pos (0U)
|
||||
|
@ -14341,13 +14446,13 @@ typedef struct
|
|||
#define MDMA_CCR_PL_1 (0x2UL << MDMA_CCR_PL_Pos) /*!< 0x00000080 */
|
||||
#define MDMA_CCR_BEX_Pos (12U)
|
||||
#define MDMA_CCR_BEX_Msk (0x1UL << MDMA_CCR_BEX_Pos) /*!< 0x00001000 */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianess eXchange */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianness eXchange */
|
||||
#define MDMA_CCR_HEX_Pos (13U)
|
||||
#define MDMA_CCR_HEX_Msk (0x1UL << MDMA_CCR_HEX_Pos) /*!< 0x00002000 */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianess eXchange */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianness eXchange */
|
||||
#define MDMA_CCR_WEX_Pos (14U)
|
||||
#define MDMA_CCR_WEX_Msk (0x1UL << MDMA_CCR_WEX_Pos) /*!< 0x00004000 */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianess eXchange */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianness eXchange */
|
||||
#define MDMA_CCR_SWRQ_Pos (16U)
|
||||
#define MDMA_CCR_SWRQ_Msk (0x1UL << MDMA_CCR_SWRQ_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CCR_SWRQ MDMA_CCR_SWRQ_Msk /*!< SW ReQuest */
|
||||
|
@ -14403,7 +14508,7 @@ typedef struct
|
|||
#define MDMA_CTCR_PKE MDMA_CTCR_PKE_Msk /*!< PacK Enable */
|
||||
#define MDMA_CTCR_PAM_Pos (26U)
|
||||
#define MDMA_CTCR_PAM_Msk (0x3UL << MDMA_CTCR_PAM_Pos) /*!< 0x0C000000 */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignement Mode */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignment Mode */
|
||||
#define MDMA_CTCR_PAM_0 (0x1UL << MDMA_CTCR_PAM_Pos) /*!< 0x4000000 */
|
||||
#define MDMA_CTCR_PAM_1 (0x2UL << MDMA_CTCR_PAM_Pos) /*!< 0x8000000 */
|
||||
#define MDMA_CTCR_TRGM_Pos (28U)
|
||||
|
@ -19309,7 +19414,7 @@ typedef struct
|
|||
#define QUADSPI_CR_ABORT QUADSPI_CR_ABORT_Msk /*!< Abort request */
|
||||
#define QUADSPI_CR_DMAEN_Pos (2U)
|
||||
#define QUADSPI_CR_DMAEN_Msk (0x1UL << QUADSPI_CR_DMAEN_Pos) /*!< 0x00000004 */
|
||||
#define QUADSPI_CR_DMAEN QUADSPI_CR_DMAEN_Msk /*!< DMA Enable */
|
||||
#define QUADSPI_CR_DMAEN QUADSPI_CR_DMAEN_Msk /*!< Reserved: needed for softawre compatibility (DMA Enable) */
|
||||
#define QUADSPI_CR_TCEN_Pos (3U)
|
||||
#define QUADSPI_CR_TCEN_Msk (0x1UL << QUADSPI_CR_TCEN_Pos) /*!< 0x00000008 */
|
||||
#define QUADSPI_CR_TCEN QUADSPI_CR_TCEN_Msk /*!< Timeout Counter Enable */
|
||||
|
@ -21877,7 +21982,7 @@ typedef struct
|
|||
/******************* Bit definition for SWPMI_RDR register ********************/
|
||||
#define SWPMI_RDR_RD_Pos (0U)
|
||||
#define SWPMI_RDR_RD_Msk (0xFFFFFFFFUL << SWPMI_RDR_RD_Pos) /*!< 0xFFFFFFFF */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Recive Data Register */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Receive Data Register */
|
||||
|
||||
|
||||
/******************* Bit definition for SWPMI_OR register ********************/
|
||||
|
@ -21973,12 +22078,6 @@ typedef struct
|
|||
#define DBGMCU_CR_DBG_STANDBYD2_Pos (5U)
|
||||
#define DBGMCU_CR_DBG_STANDBYD2_Msk (0x1UL << DBGMCU_CR_DBG_STANDBYD2_Pos) /*!< 0x00000020 */
|
||||
#define DBGMCU_CR_DBG_STANDBYD2 DBGMCU_CR_DBG_STANDBYD2_Msk
|
||||
#define DBGMCU_CR_DBG_STOPD3_Pos (7U)
|
||||
#define DBGMCU_CR_DBG_STOPD3_Msk (0x1UL << DBGMCU_CR_DBG_STOPD3_Pos) /*!< 0x00000080 */
|
||||
#define DBGMCU_CR_DBG_STOPD3 DBGMCU_CR_DBG_STOPD3_Msk
|
||||
#define DBGMCU_CR_DBG_STANDBYD3_Pos (8U)
|
||||
#define DBGMCU_CR_DBG_STANDBYD3_Msk (0x1UL << DBGMCU_CR_DBG_STANDBYD3_Pos) /*!< 0x00000100 */
|
||||
#define DBGMCU_CR_DBG_STANDBYD3 DBGMCU_CR_DBG_STANDBYD3_Msk
|
||||
#define DBGMCU_CR_DBG_TRACECKEN_Pos (20U)
|
||||
#define DBGMCU_CR_DBG_TRACECKEN_Msk (0x1UL << DBGMCU_CR_DBG_TRACECKEN_Pos) /*!< 0x00100000 */
|
||||
#define DBGMCU_CR_DBG_TRACECKEN DBGMCU_CR_DBG_TRACECKEN_Msk
|
||||
|
@ -23943,7 +24042,7 @@ typedef struct
|
|||
/**** Bit definition for Common HRTIM Timer Burst mode control register ********/
|
||||
#define HRTIM_BMCR_BME_Pos (0U)
|
||||
#define HRTIM_BMCR_BME_Msk (0x1UL << HRTIM_BMCR_BME_Pos) /*!< 0x00000001 */
|
||||
#define HRTIM_BMCR_BME HRTIM_BMCR_BME_Msk /*!< Burst mode enbale */
|
||||
#define HRTIM_BMCR_BME HRTIM_BMCR_BME_Msk /*!< Burst mode enable */
|
||||
#define HRTIM_BMCR_BMOM_Pos (1U)
|
||||
#define HRTIM_BMCR_BMOM_Msk (0x1UL << HRTIM_BMCR_BMOM_Pos) /*!< 0x00000002 */
|
||||
#define HRTIM_BMCR_BMOM HRTIM_BMCR_BMOM_Msk /*!< Burst mode operating mode */
|
||||
|
@ -26691,14 +26790,16 @@ typedef struct
|
|||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/****************************** SMBUS Instances *******************************/
|
||||
#define IS_SMBUS_ALL_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \
|
||||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/******************************** I2S Instances *******************************/
|
||||
#define IS_I2S_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -26717,9 +26818,6 @@ typedef struct
|
|||
#define IS_SDMMC_ALL_INSTANCE(_INSTANCE_) (((_INSTANCE_) == SDMMC1) || \
|
||||
((_INSTANCE_) == SDMMC2))
|
||||
|
||||
/******************************** SMBUS Instances *****************************/
|
||||
#define IS_SMBUS_INSTANCE(INSTANCE) ((INSTANCE) == I2C1)
|
||||
|
||||
/******************************** SPI Instances *******************************/
|
||||
#define IS_SPI_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -26898,6 +26996,7 @@ typedef struct
|
|||
((INSTANCE) == TIM6) || \
|
||||
((INSTANCE) == TIM7) || \
|
||||
((INSTANCE) == TIM8) || \
|
||||
((INSTANCE) == TIM12) || \
|
||||
((INSTANCE) == TIM15))
|
||||
|
||||
/****** TIM Instances : Salve mode available (TIMx_SMCR.TS available )*********/
|
||||
|
|
|
@ -668,7 +668,7 @@ typedef struct
|
|||
__IO uint32_t CBRUR; /*!< MDMA channel x Block Repeat address Update register, Address offset: 0x60 */
|
||||
__IO uint32_t CLAR; /*!< MDMA channel x Link Address register, Address offset: 0x64 */
|
||||
__IO uint32_t CTBR; /*!< MDMA channel x Trigger and Bus selection Register, Address offset: 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x6C */
|
||||
__IO uint32_t CMAR; /*!< MDMA channel x Mask address register, Address offset: 0x70 */
|
||||
__IO uint32_t CMDR; /*!< MDMA channel x Mask Data register, Address offset: 0x74 */
|
||||
}MDMA_Channel_TypeDef;
|
||||
|
@ -762,7 +762,7 @@ typedef struct
|
|||
uint32_t RESERVED6[7]; /*!< Reserved, 0x11C - 0x137 */
|
||||
__IO uint32_t VMCCR; /*!< DSI Host Video Mode Current Configuration Register, Address offset: 0x138 */
|
||||
__IO uint32_t VPCCR; /*!< DSI Host Video Packet Current Configuration Register, Address offset: 0x13C */
|
||||
__IO uint32_t VCCCR; /*!< DSI Host Video Chuncks Current Configuration Register, Address offset: 0x140 */
|
||||
__IO uint32_t VCCCR; /*!< DSI Host Video Chunks Current Configuration Register, Address offset: 0x140 */
|
||||
__IO uint32_t VNPCCR; /*!< DSI Host Video Null Packet Current Configuration Register, Address offset: 0x144 */
|
||||
__IO uint32_t VHSACCR; /*!< DSI Host Video HSA Current Configuration Register, Address offset: 0x148 */
|
||||
__IO uint32_t VHBPCCR; /*!< DSI Host Video HBP Current Configuration Register, Address offset: 0x14C */
|
||||
|
@ -1011,6 +1011,15 @@ __IO uint32_t C2PR3; /*!< EXTI Pending register,
|
|||
|
||||
}EXTI_TypeDef;
|
||||
|
||||
/**
|
||||
* @brief This structure registers corresponds to EXTI_Typdef CPU1/CPU2 registers subset (IMRx, EMRx and PRx), allowing to define EXTI_D1/EXTI_D2
|
||||
* with rapid/common access to these IMRx, EMRx, PRx registers for CPU1 and CPU2.
|
||||
* Note that EXTI_D1 and EXTI_D2 bases addresses are calculated to point to CPUx first register:
|
||||
* IMR1 in case of EXTI_D1 that is addressing CPU1 (Coretx-M7)
|
||||
* C2IMR1 in case of EXTI_D2 that is addressing CPU2 (Coretx-M4)
|
||||
* Note: EXTI_D2 and corresponding C2IMRx, C2EMRx and C2PRx registers are available for Dual Core devices only
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
__IO uint32_t IMR1; /*!< EXTI Interrupt mask register, Address offset: 0x00 */
|
||||
|
@ -1884,7 +1893,7 @@ typedef struct
|
|||
{
|
||||
__IO uint32_t MCR; /*!< HRTIM Master Timer control register, Address offset: 0x00 */
|
||||
__IO uint32_t MISR; /*!< HRTIM Master Timer interrupt status register, Address offset: 0x04 */
|
||||
__IO uint32_t MICR; /*!< HRTIM Master Timer interupt clear register, Address offset: 0x08 */
|
||||
__IO uint32_t MICR; /*!< HRTIM Master Timer interrupt clear register, Address offset: 0x08 */
|
||||
__IO uint32_t MDIER; /*!< HRTIM Master Timer DMA/interrupt enable register Address offset: 0x0C */
|
||||
__IO uint32_t MCNTR; /*!< HRTIM Master Timer counter register, Address offset: 0x10 */
|
||||
__IO uint32_t MPER; /*!< HRTIM Master Timer period register, Address offset: 0x14 */
|
||||
|
@ -2189,6 +2198,94 @@ typedef struct
|
|||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @brief Global Programmer View
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint32_t RESERVED0[2036]; /*!< Reserved, Address offset: 0x00-0x1FCC */
|
||||
__IO uint32_t AXI_PERIPH_ID_4; /*!< AXI interconnect - peripheral ID4 register, Address offset: 0x1FD0 */
|
||||
uint32_t AXI_PERIPH_ID_5; /*!< Reserved, Address offset: 0x1FD4 */
|
||||
uint32_t AXI_PERIPH_ID_6; /*!< Reserved, Address offset: 0x1FD8 */
|
||||
uint32_t AXI_PERIPH_ID_7; /*!< Reserved, Address offset: 0x1FDC */
|
||||
__IO uint32_t AXI_PERIPH_ID_0; /*!< AXI interconnect - peripheral ID0 register, Address offset: 0x1FE0 */
|
||||
__IO uint32_t AXI_PERIPH_ID_1; /*!< AXI interconnect - peripheral ID1 register, Address offset: 0x1FE4 */
|
||||
__IO uint32_t AXI_PERIPH_ID_2; /*!< AXI interconnect - peripheral ID2 register, Address offset: 0x1FE8 */
|
||||
__IO uint32_t AXI_PERIPH_ID_3; /*!< AXI interconnect - peripheral ID3 register, Address offset: 0x1FEC */
|
||||
__IO uint32_t AXI_COMP_ID_0; /*!< AXI interconnect - component ID0 register, Address offset: 0x1FF0 */
|
||||
__IO uint32_t AXI_COMP_ID_1; /*!< AXI interconnect - component ID1 register, Address offset: 0x1FF4 */
|
||||
__IO uint32_t AXI_COMP_ID_2; /*!< AXI interconnect - component ID2 register, Address offset: 0x1FF8 */
|
||||
__IO uint32_t AXI_COMP_ID_3; /*!< AXI interconnect - component ID3 register, Address offset: 0x1FFC */
|
||||
uint32_t RESERVED1[2]; /*!< Reserved, Address offset: 0x2000-0x2004 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 1 bus matrix issuing functionality register, Address offset: 0x2008 */
|
||||
uint32_t RESERVED2[6]; /*!< Reserved, Address offset: 0x200C-0x2020 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD2; /*!< AXI interconnect - TARG 1 bus matrix functionality 2 register, Address offset: 0x2024 */
|
||||
uint32_t RESERVED3; /*!< Reserved, Address offset: 0x2028 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_LB; /*!< AXI interconnect - TARG 1 long burst functionality modification register, Address offset: 0x202C */
|
||||
uint32_t RESERVED4[54]; /*!< Reserved, Address offset: 0x2030-0x2104 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD; /*!< AXI interconnect - TARG 1 issuing functionality modification register, Address offset: 0x2108 */
|
||||
uint32_t RESERVED5[959]; /*!< Reserved, Address offset: 0x210C-0x3004 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 2 bus matrix issuing functionality register, Address offset: 0x3008 */
|
||||
uint32_t RESERVED6[6]; /*!< Reserved, Address offset: 0x300C-0x3020 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD2; /*!< AXI interconnect - TARG 2 bus matrix functionality 2 register, Address offset: 0x3024 */
|
||||
uint32_t RESERVED7; /*!< Reserved, Address offset: 0x3028 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_LB; /*!< AXI interconnect - TARG 2 long burst functionality modification register, Address offset: 0x302C */
|
||||
uint32_t RESERVED8[54]; /*!< Reserved, Address offset: 0x3030-0x3104 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD; /*!< AXI interconnect - TARG 2 issuing functionality modification register, Address offset: 0x3108 */
|
||||
uint32_t RESERVED9[959]; /*!< Reserved, Address offset: 0x310C-0x4004 */
|
||||
__IO uint32_t AXI_TARG3_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 3 bus matrix issuing functionality register, Address offset: 0x4008 */
|
||||
uint32_t RESERVED10[1023]; /*!< Reserved, Address offset: 0x400C-0x5004 */
|
||||
__IO uint32_t AXI_TARG4_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 4 bus matrix issuing functionality register, Address offset: 0x5008 */
|
||||
uint32_t RESERVED11[1023]; /*!< Reserved, Address offset: 0x500C-0x6004 */
|
||||
__IO uint32_t AXI_TARG5_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 5 bus matrix issuing functionality register, Address offset: 0x6008 */
|
||||
uint32_t RESERVED12[1023]; /*!< Reserved, Address offset: 0x600C-0x7004 */
|
||||
__IO uint32_t AXI_TARG6_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 6 bus matrix issuing functionality register, Address offset: 0x7008 */
|
||||
uint32_t RESERVED13[1023]; /*!< Reserved, Address offset: 0x700C-0x8004 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 7 bus matrix issuing functionality register, Address offset: 0x8008 */
|
||||
uint32_t RESERVED14[6]; /*!< Reserved, Address offset: 0x800C-0x8020 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD2; /*!< AXI interconnect - TARG 7 bus matrix functionality 2 register, Address offset: 0x8024 */
|
||||
uint32_t RESERVED15; /*!< Reserved, Address offset: 0x8028 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_LB; /*!< AXI interconnect - TARG 7 long burst functionality modification register, Address offset: 0x802C */
|
||||
uint32_t RESERVED16[54]; /*!< Reserved, Address offset: 0x8030-0x8104 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD; /*!< AXI interconnect - TARG 7 issuing functionality modification register, Address offset: 0x8108 */
|
||||
uint32_t RESERVED17[59334]; /*!< Reserved, Address offset: 0x810C-0x42020 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD2; /*!< AXI interconnect - INI 1 functionality modification 2 register, Address offset: 0x42024 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD_AHB; /*!< AXI interconnect - INI 1 AHB functionality modification register, Address offset: 0x42028 */
|
||||
uint32_t RESERVED18[53]; /*!< Reserved, Address offset: 0x4202C-0x420FC */
|
||||
__IO uint32_t AXI_INI1_READ_QOS; /*!< AXI interconnect - INI 1 read QoS register, Address offset: 0x42100 */
|
||||
__IO uint32_t AXI_INI1_WRITE_QOS; /*!< AXI interconnect - INI 1 write QoS register, Address offset: 0x42104 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD; /*!< AXI interconnect - INI 1 issuing functionality modification register, Address offset: 0x42108 */
|
||||
uint32_t RESERVED19[1021]; /*!< Reserved, Address offset: 0x4210C-0x430FC */
|
||||
__IO uint32_t AXI_INI2_READ_QOS; /*!< AXI interconnect - INI 2 read QoS register, Address offset: 0x43100 */
|
||||
__IO uint32_t AXI_INI2_WRITE_QOS; /*!< AXI interconnect - INI 2 write QoS register, Address offset: 0x43104 */
|
||||
__IO uint32_t AXI_INI2_FN_MOD; /*!< AXI interconnect - INI 2 issuing functionality modification register, Address offset: 0x43108 */
|
||||
uint32_t RESERVED20[966]; /*!< Reserved, Address offset: 0x4310C-0x44020 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD2; /*!< AXI interconnect - INI 3 functionality modification 2 register, Address offset: 0x44024 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD_AHB; /*!< AXI interconnect - INI 3 AHB functionality modification register, Address offset: 0x44028 */
|
||||
uint32_t RESERVED21[53]; /*!< Reserved, Address offset: 0x4402C-0x440FC */
|
||||
__IO uint32_t AXI_INI3_READ_QOS; /*!< AXI interconnect - INI 3 read QoS register, Address offset: 0x44100 */
|
||||
__IO uint32_t AXI_INI3_WRITE_QOS; /*!< AXI interconnect - INI 3 write QoS register, Address offset: 0x44104 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD; /*!< AXI interconnect - INI 3 issuing functionality modification register, Address offset: 0x44108 */
|
||||
uint32_t RESERVED22[1021]; /*!< Reserved, Address offset: 0x4410C-0x450FC */
|
||||
__IO uint32_t AXI_INI4_READ_QOS; /*!< AXI interconnect - INI 4 read QoS register, Address offset: 0x45100 */
|
||||
__IO uint32_t AXI_INI4_WRITE_QOS; /*!< AXI interconnect - INI 4 write QoS register, Address offset: 0x45104 */
|
||||
__IO uint32_t AXI_INI4_FN_MOD; /*!< AXI interconnect - INI 4 issuing functionality modification register, Address offset: 0x45108 */
|
||||
uint32_t RESERVED23[1021]; /*!< Reserved, Address offset: 0x4510C-0x460FC */
|
||||
__IO uint32_t AXI_INI5_READ_QOS; /*!< AXI interconnect - INI 5 read QoS register, Address offset: 0x46100 */
|
||||
__IO uint32_t AXI_INI5_WRITE_QOS; /*!< AXI interconnect - INI 5 write QoS register, Address offset: 0x46104 */
|
||||
__IO uint32_t AXI_INI5_FN_MOD; /*!< AXI interconnect - INI 5 issuing functionality modification register, Address offset: 0x46108 */
|
||||
uint32_t RESERVED24[1021]; /*!< Reserved, Address offset: 0x4610C-0x470FC */
|
||||
__IO uint32_t AXI_INI6_READ_QOS; /*!< AXI interconnect - INI 6 read QoS register, Address offset: 0x47100 */
|
||||
__IO uint32_t AXI_INI6_WRITE_QOS; /*!< AXI interconnect - INI 6 write QoS register, Address offset: 0x47104 */
|
||||
__IO uint32_t AXI_INI6_FN_MOD; /*!< AXI interconnect - INI 6 issuing functionality modification register, Address offset: 0x47108 */
|
||||
uint32_t RESERVED25[1021]; /*!< Reserved, Address offset: 0x4710C-0x480FC */
|
||||
__IO uint32_t AXI_INI7_READ_QOS; /*!< AXI interconnect - INI 7 read QoS register, Address offset: 0x48100 */
|
||||
__IO uint32_t AXI_INI7_WRITE_QOS; /*!< AXI interconnect - INI 7 write QoS register, Address offset: 0x48104 */
|
||||
__IO uint32_t AXI_INI7_FN_MOD; /*!< AXI interconnect - INI 7 issuing functionality modification register, Address offset: 0x48108 */
|
||||
|
||||
} GPV_TypeDef;
|
||||
|
||||
/** @addtogroup Peripheral_memory_map
|
||||
* @{
|
||||
*/
|
||||
|
@ -2552,6 +2649,9 @@ typedef struct
|
|||
#define RAMECC3_Monitor2_BASE (RAMECC3_BASE + 0x40UL)
|
||||
|
||||
|
||||
|
||||
#define GPV_BASE (PERIPH_BASE + 0x11000000UL) /*!< GPV_BASE (PERIPH_BASE + 0x11000000UL) */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -2856,6 +2956,8 @@ typedef struct
|
|||
#define USB_OTG_FS USB2_OTG_FS
|
||||
#define USB_OTG_FS_PERIPH_BASE USB2_OTG_FS_PERIPH_BASE
|
||||
|
||||
#define GPV ((GPV_TypeDef *) GPV_BASE)
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -3328,7 +3430,7 @@ typedef struct
|
|||
/******************** Bit definition for ADC_SQR1 register ********************/
|
||||
#define ADC_SQR1_L_Pos (0U)
|
||||
#define ADC_SQR1_L_Msk (0xFUL << ADC_SQR1_L_Pos) /*!< 0x0000000F */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence lenght */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence length */
|
||||
#define ADC_SQR1_L_0 (0x1UL << ADC_SQR1_L_Pos) /*!< 0x00000001 */
|
||||
#define ADC_SQR1_L_1 (0x2UL << ADC_SQR1_L_Pos) /*!< 0x00000002 */
|
||||
#define ADC_SQR1_L_2 (0x4UL << ADC_SQR1_L_Pos) /*!< 0x00000004 */
|
||||
|
@ -4221,7 +4323,7 @@ typedef struct
|
|||
/***************** Bit definition for FDCAN_ENDN register *******************/
|
||||
#define FDCAN_ENDN_ETV_Pos (0U)
|
||||
#define FDCAN_ENDN_ETV_Msk (0xFFFFFFFFUL << FDCAN_ENDN_ETV_Pos) /*!< 0xFFFFFFFF */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endiannes Test Value */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endianness Test Value */
|
||||
|
||||
/***************** Bit definition for FDCAN_DBTP register *******************/
|
||||
#define FDCAN_DBTP_DSJW_Pos (0U)
|
||||
|
@ -4348,7 +4450,7 @@ typedef struct
|
|||
|
||||
/***************** Bit definition for FDCAN_ECR register *********************/
|
||||
#define FDCAN_ECR_TEC_Pos (0U)
|
||||
#define FDCAN_ECR_TEC_Msk (0xFUL << FDCAN_ECR_TEC_Pos) /*!< 0x0000000F */
|
||||
#define FDCAN_ECR_TEC_Msk (0xFFUL << FDCAN_ECR_TEC_Pos) /*!< 0x000000FF */
|
||||
#define FDCAN_ECR_TEC FDCAN_ECR_TEC_Msk /*!<Transmit Error Counter */
|
||||
#define FDCAN_ECR_REC_Pos (8U)
|
||||
#define FDCAN_ECR_REC_Msk (0x7FUL << FDCAN_ECR_REC_Pos) /*!< 0x00007F00 */
|
||||
|
@ -9904,7 +10006,7 @@ typedef struct
|
|||
|
||||
#define DSI_LCOLCR_LPE_Pos (8U)
|
||||
#define DSI_LCOLCR_LPE_Msk (0x1UL << DSI_LCOLCR_LPE_Pos) /*!< 0x00000100 */
|
||||
#define DSI_LCOLCR_LPE DSI_LCOLCR_LPE_Msk /*!< Loosly Packet Enable */
|
||||
#define DSI_LCOLCR_LPE DSI_LCOLCR_LPE_Msk /*!< Loosely Packet Enable */
|
||||
|
||||
/******************* Bit definition for DSI_LPCR register ***************/
|
||||
#define DSI_LPCR_DEP_Pos (0U)
|
||||
|
@ -14005,8 +14107,11 @@ typedef struct
|
|||
/*
|
||||
* @brief FLASH Global Defines
|
||||
*/
|
||||
#define FLASH_SIZE_DATA_REGISTER 0x1FF1E880U
|
||||
#define FLASH_SECTOR_TOTAL 8U /* 8 sectors */
|
||||
#define FLASH_SIZE 0x200000UL /* 2 MB */
|
||||
#define FLASH_SIZE ((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0xFFFFU)) ? 0x200000U : \
|
||||
((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0x0000U)) ? 0x200000U : \
|
||||
(((uint32_t)(*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0FFFU)) << 10U))) /* 2 MB */
|
||||
#define FLASH_BANK_SIZE (FLASH_SIZE >> 1) /* 1 MB */
|
||||
#define FLASH_SECTOR_SIZE 0x00020000UL /* 128 KB */
|
||||
#define FLASH_LATENCY_DEFAULT FLASH_ACR_LATENCY_7WS /* FLASH Seven Latency cycles */
|
||||
|
@ -14378,7 +14483,7 @@ typedef struct
|
|||
/****************** Bit definition for FMC_BCR1 register *******************/
|
||||
#define FMC_BCR1_CCLKEN_Pos (20U)
|
||||
#define FMC_BCR1_CCLKEN_Msk (0x1UL << FMC_BCR1_CCLKEN_Pos) /*!< 0x00100000 */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continous clock enable */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continuous clock enable */
|
||||
#define FMC_BCR1_WFDIS_Pos (21U)
|
||||
#define FMC_BCR1_WFDIS_Msk (0x1UL << FMC_BCR1_WFDIS_Pos) /*!< 0x00200000 */
|
||||
#define FMC_BCR1_WFDIS FMC_BCR1_WFDIS_Msk /*!<Write FIFO Disable */
|
||||
|
@ -14858,7 +14963,7 @@ typedef struct
|
|||
|
||||
#define FMC_SDRTR_REIE_Pos (14U)
|
||||
#define FMC_SDRTR_REIE_Msk (0x1UL << FMC_SDRTR_REIE_Pos) /*!< 0x00004000 */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interupt enable */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interrupt enable */
|
||||
|
||||
/****************** Bit definition for FMC_SDSR register ******************/
|
||||
#define FMC_SDSR_RE_Pos (0U)
|
||||
|
@ -17105,7 +17210,7 @@ typedef struct
|
|||
|
||||
#define LTDC_AWCR_AAH_Pos (0U)
|
||||
#define LTDC_AWCR_AAH_Msk (0x7FFUL << LTDC_AWCR_AAH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active heigh */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active height */
|
||||
#define LTDC_AWCR_AAW_Pos (16U)
|
||||
#define LTDC_AWCR_AAW_Msk (0xFFFUL << LTDC_AWCR_AAW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_AWCR_AAW LTDC_AWCR_AAW_Msk /*!< Accumulated Active Width */
|
||||
|
@ -17114,7 +17219,7 @@ typedef struct
|
|||
|
||||
#define LTDC_TWCR_TOTALH_Pos (0U)
|
||||
#define LTDC_TWCR_TOTALH_Msk (0x7FFUL << LTDC_TWCR_TOTALH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total Heigh */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total height */
|
||||
#define LTDC_TWCR_TOTALW_Pos (16U)
|
||||
#define LTDC_TWCR_TOTALW_Msk (0xFFFUL << LTDC_TWCR_TOTALW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_TWCR_TOTALW LTDC_TWCR_TOTALW_Msk /*!< Total Width */
|
||||
|
@ -17433,7 +17538,7 @@ typedef struct
|
|||
#define MDMA_CISR_TCIF MDMA_CISR_TCIF_Msk /*!< Channel x buffer transfer complete interrupt flag */
|
||||
#define MDMA_CISR_CRQA_Pos (16U)
|
||||
#define MDMA_CISR_CRQA_Msk (0x1UL << MDMA_CISR_CRQA_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x ReQest Active flag */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x request Active flag */
|
||||
|
||||
/******************** Bit definition for MDMA_CxIFCR register ****************/
|
||||
#define MDMA_CIFCR_CTEIF_Pos (0U)
|
||||
|
@ -17498,13 +17603,13 @@ typedef struct
|
|||
#define MDMA_CCR_PL_1 (0x2UL << MDMA_CCR_PL_Pos) /*!< 0x00000080 */
|
||||
#define MDMA_CCR_BEX_Pos (12U)
|
||||
#define MDMA_CCR_BEX_Msk (0x1UL << MDMA_CCR_BEX_Pos) /*!< 0x00001000 */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianess eXchange */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianness eXchange */
|
||||
#define MDMA_CCR_HEX_Pos (13U)
|
||||
#define MDMA_CCR_HEX_Msk (0x1UL << MDMA_CCR_HEX_Pos) /*!< 0x00002000 */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianess eXchange */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianness eXchange */
|
||||
#define MDMA_CCR_WEX_Pos (14U)
|
||||
#define MDMA_CCR_WEX_Msk (0x1UL << MDMA_CCR_WEX_Pos) /*!< 0x00004000 */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianess eXchange */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianness eXchange */
|
||||
#define MDMA_CCR_SWRQ_Pos (16U)
|
||||
#define MDMA_CCR_SWRQ_Msk (0x1UL << MDMA_CCR_SWRQ_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CCR_SWRQ MDMA_CCR_SWRQ_Msk /*!< SW ReQuest */
|
||||
|
@ -17560,7 +17665,7 @@ typedef struct
|
|||
#define MDMA_CTCR_PKE MDMA_CTCR_PKE_Msk /*!< PacK Enable */
|
||||
#define MDMA_CTCR_PAM_Pos (26U)
|
||||
#define MDMA_CTCR_PAM_Msk (0x3UL << MDMA_CTCR_PAM_Pos) /*!< 0x0C000000 */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignement Mode */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignment Mode */
|
||||
#define MDMA_CTCR_PAM_0 (0x1UL << MDMA_CTCR_PAM_Pos) /*!< 0x4000000 */
|
||||
#define MDMA_CTCR_PAM_1 (0x2UL << MDMA_CTCR_PAM_Pos) /*!< 0x8000000 */
|
||||
#define MDMA_CTCR_TRGM_Pos (28U)
|
||||
|
@ -22482,7 +22587,7 @@ typedef struct
|
|||
#define QUADSPI_CR_ABORT QUADSPI_CR_ABORT_Msk /*!< Abort request */
|
||||
#define QUADSPI_CR_DMAEN_Pos (2U)
|
||||
#define QUADSPI_CR_DMAEN_Msk (0x1UL << QUADSPI_CR_DMAEN_Pos) /*!< 0x00000004 */
|
||||
#define QUADSPI_CR_DMAEN QUADSPI_CR_DMAEN_Msk /*!< DMA Enable */
|
||||
#define QUADSPI_CR_DMAEN QUADSPI_CR_DMAEN_Msk /*!< Reserved: needed for softawre compatibility (DMA Enable) */
|
||||
#define QUADSPI_CR_TCEN_Pos (3U)
|
||||
#define QUADSPI_CR_TCEN_Msk (0x1UL << QUADSPI_CR_TCEN_Pos) /*!< 0x00000008 */
|
||||
#define QUADSPI_CR_TCEN QUADSPI_CR_TCEN_Msk /*!< Timeout Counter Enable */
|
||||
|
@ -25050,7 +25155,7 @@ typedef struct
|
|||
/******************* Bit definition for SWPMI_RDR register ********************/
|
||||
#define SWPMI_RDR_RD_Pos (0U)
|
||||
#define SWPMI_RDR_RD_Msk (0xFFFFFFFFUL << SWPMI_RDR_RD_Pos) /*!< 0xFFFFFFFF */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Recive Data Register */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Receive Data Register */
|
||||
|
||||
|
||||
/******************* Bit definition for SWPMI_OR register ********************/
|
||||
|
@ -25146,12 +25251,6 @@ typedef struct
|
|||
#define DBGMCU_CR_DBG_STANDBYD2_Pos (5U)
|
||||
#define DBGMCU_CR_DBG_STANDBYD2_Msk (0x1UL << DBGMCU_CR_DBG_STANDBYD2_Pos) /*!< 0x00000020 */
|
||||
#define DBGMCU_CR_DBG_STANDBYD2 DBGMCU_CR_DBG_STANDBYD2_Msk
|
||||
#define DBGMCU_CR_DBG_STOPD3_Pos (7U)
|
||||
#define DBGMCU_CR_DBG_STOPD3_Msk (0x1UL << DBGMCU_CR_DBG_STOPD3_Pos) /*!< 0x00000080 */
|
||||
#define DBGMCU_CR_DBG_STOPD3 DBGMCU_CR_DBG_STOPD3_Msk
|
||||
#define DBGMCU_CR_DBG_STANDBYD3_Pos (8U)
|
||||
#define DBGMCU_CR_DBG_STANDBYD3_Msk (0x1UL << DBGMCU_CR_DBG_STANDBYD3_Pos) /*!< 0x00000100 */
|
||||
#define DBGMCU_CR_DBG_STANDBYD3 DBGMCU_CR_DBG_STANDBYD3_Msk
|
||||
#define DBGMCU_CR_DBG_TRACECKEN_Pos (20U)
|
||||
#define DBGMCU_CR_DBG_TRACECKEN_Msk (0x1UL << DBGMCU_CR_DBG_TRACECKEN_Pos) /*!< 0x00100000 */
|
||||
#define DBGMCU_CR_DBG_TRACECKEN DBGMCU_CR_DBG_TRACECKEN_Msk
|
||||
|
@ -27116,7 +27215,7 @@ typedef struct
|
|||
/**** Bit definition for Common HRTIM Timer Burst mode control register ********/
|
||||
#define HRTIM_BMCR_BME_Pos (0U)
|
||||
#define HRTIM_BMCR_BME_Msk (0x1UL << HRTIM_BMCR_BME_Pos) /*!< 0x00000001 */
|
||||
#define HRTIM_BMCR_BME HRTIM_BMCR_BME_Msk /*!< Burst mode enbale */
|
||||
#define HRTIM_BMCR_BME HRTIM_BMCR_BME_Msk /*!< Burst mode enable */
|
||||
#define HRTIM_BMCR_BMOM_Pos (1U)
|
||||
#define HRTIM_BMCR_BMOM_Msk (0x1UL << HRTIM_BMCR_BMOM_Pos) /*!< 0x00000002 */
|
||||
#define HRTIM_BMCR_BMOM HRTIM_BMCR_BMOM_Msk /*!< Burst mode operating mode */
|
||||
|
@ -29864,14 +29963,16 @@ typedef struct
|
|||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/****************************** SMBUS Instances *******************************/
|
||||
#define IS_SMBUS_ALL_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \
|
||||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/******************************** I2S Instances *******************************/
|
||||
#define IS_I2S_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -29890,9 +29991,6 @@ typedef struct
|
|||
#define IS_SDMMC_ALL_INSTANCE(_INSTANCE_) (((_INSTANCE_) == SDMMC1) || \
|
||||
((_INSTANCE_) == SDMMC2))
|
||||
|
||||
/******************************** SMBUS Instances *****************************/
|
||||
#define IS_SMBUS_INSTANCE(INSTANCE) ((INSTANCE) == I2C1)
|
||||
|
||||
/******************************** SPI Instances *******************************/
|
||||
#define IS_SPI_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -30071,6 +30169,7 @@ typedef struct
|
|||
((INSTANCE) == TIM6) || \
|
||||
((INSTANCE) == TIM7) || \
|
||||
((INSTANCE) == TIM8) || \
|
||||
((INSTANCE) == TIM12) || \
|
||||
((INSTANCE) == TIM15))
|
||||
|
||||
/****** TIM Instances : Salve mode available (TIMx_SMCR.TS available )*********/
|
||||
|
|
|
@ -651,7 +651,7 @@ typedef struct
|
|||
__IO uint32_t CBRUR; /*!< MDMA channel x Block Repeat address Update register, Address offset: 0x60 */
|
||||
__IO uint32_t CLAR; /*!< MDMA channel x Link Address register, Address offset: 0x64 */
|
||||
__IO uint32_t CTBR; /*!< MDMA channel x Trigger and Bus selection Register, Address offset: 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x6C */
|
||||
__IO uint32_t CMAR; /*!< MDMA channel x Mask address register, Address offset: 0x70 */
|
||||
__IO uint32_t CMDR; /*!< MDMA channel x Mask Data register, Address offset: 0x74 */
|
||||
}MDMA_Channel_TypeDef;
|
||||
|
@ -728,6 +728,15 @@ __IO uint32_t EMR3; /*!< EXTI Event mask register,
|
|||
__IO uint32_t PR3; /*!< EXTI Pending register, Address offset: 0xA8 */
|
||||
}EXTI_TypeDef;
|
||||
|
||||
/**
|
||||
* @brief This structure registers corresponds to EXTI_Typdef CPU1/CPU2 registers subset (IMRx, EMRx and PRx), allowing to define EXTI_D1/EXTI_D2
|
||||
* with rapid/common access to these IMRx, EMRx, PRx registers for CPU1 and CPU2.
|
||||
* Note that EXTI_D1 and EXTI_D2 bases addresses are calculated to point to CPUx first register:
|
||||
* IMR1 in case of EXTI_D1 that is addressing CPU1 (Coretx-M7)
|
||||
* C2IMR1 in case of EXTI_D2 that is addressing CPU2 (Coretx-M4)
|
||||
* Note: EXTI_D2 and corresponding C2IMRx, C2EMRx and C2PRx registers are available for Dual Core devices only
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
__IO uint32_t IMR1; /*!< EXTI Interrupt mask register, Address offset: 0x00 */
|
||||
|
@ -1824,6 +1833,117 @@ typedef struct
|
|||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Global Programmer View
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint32_t RESERVED0[2036]; /*!< Reserved, Address offset: 0x00-0x1FCC */
|
||||
__IO uint32_t AXI_PERIPH_ID_4; /*!< AXI interconnect - peripheral ID4 register, Address offset: 0x1FD0 */
|
||||
uint32_t AXI_PERIPH_ID_5; /*!< Reserved, Address offset: 0x1FD4 */
|
||||
uint32_t AXI_PERIPH_ID_6; /*!< Reserved, Address offset: 0x1FD8 */
|
||||
uint32_t AXI_PERIPH_ID_7; /*!< Reserved, Address offset: 0x1FDC */
|
||||
__IO uint32_t AXI_PERIPH_ID_0; /*!< AXI interconnect - peripheral ID0 register, Address offset: 0x1FE0 */
|
||||
__IO uint32_t AXI_PERIPH_ID_1; /*!< AXI interconnect - peripheral ID1 register, Address offset: 0x1FE4 */
|
||||
__IO uint32_t AXI_PERIPH_ID_2; /*!< AXI interconnect - peripheral ID2 register, Address offset: 0x1FE8 */
|
||||
__IO uint32_t AXI_PERIPH_ID_3; /*!< AXI interconnect - peripheral ID3 register, Address offset: 0x1FEC */
|
||||
__IO uint32_t AXI_COMP_ID_0; /*!< AXI interconnect - component ID0 register, Address offset: 0x1FF0 */
|
||||
__IO uint32_t AXI_COMP_ID_1; /*!< AXI interconnect - component ID1 register, Address offset: 0x1FF4 */
|
||||
__IO uint32_t AXI_COMP_ID_2; /*!< AXI interconnect - component ID2 register, Address offset: 0x1FF8 */
|
||||
__IO uint32_t AXI_COMP_ID_3; /*!< AXI interconnect - component ID3 register, Address offset: 0x1FFC */
|
||||
uint32_t RESERVED1[2]; /*!< Reserved, Address offset: 0x2000-0x2004 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 1 bus matrix issuing functionality register, Address offset: 0x2008 */
|
||||
uint32_t RESERVED2[6]; /*!< Reserved, Address offset: 0x200C-0x2020 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD2; /*!< AXI interconnect - TARG 1 bus matrix functionality 2 register, Address offset: 0x2024 */
|
||||
uint32_t RESERVED3; /*!< Reserved, Address offset: 0x2028 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_LB; /*!< AXI interconnect - TARG 1 long burst functionality modification register, Address offset: 0x202C */
|
||||
uint32_t RESERVED4[54]; /*!< Reserved, Address offset: 0x2030-0x2104 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD; /*!< AXI interconnect - TARG 1 issuing functionality modification register, Address offset: 0x2108 */
|
||||
uint32_t RESERVED5[959]; /*!< Reserved, Address offset: 0x210C-0x3004 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 2 bus matrix issuing functionality register, Address offset: 0x3008 */
|
||||
uint32_t RESERVED6[6]; /*!< Reserved, Address offset: 0x300C-0x3020 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD2; /*!< AXI interconnect - TARG 2 bus matrix functionality 2 register, Address offset: 0x3024 */
|
||||
uint32_t RESERVED7; /*!< Reserved, Address offset: 0x3028 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_LB; /*!< AXI interconnect - TARG 2 long burst functionality modification register, Address offset: 0x302C */
|
||||
uint32_t RESERVED8[54]; /*!< Reserved, Address offset: 0x3030-0x3104 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD; /*!< AXI interconnect - TARG 2 issuing functionality modification register, Address offset: 0x3108 */
|
||||
uint32_t RESERVED9[959]; /*!< Reserved, Address offset: 0x310C-0x4004 */
|
||||
__IO uint32_t AXI_TARG3_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 3 bus matrix issuing functionality register, Address offset: 0x4008 */
|
||||
uint32_t RESERVED10[1023]; /*!< Reserved, Address offset: 0x400C-0x5004 */
|
||||
__IO uint32_t AXI_TARG4_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 4 bus matrix issuing functionality register, Address offset: 0x5008 */
|
||||
uint32_t RESERVED11[1023]; /*!< Reserved, Address offset: 0x500C-0x6004 */
|
||||
__IO uint32_t AXI_TARG5_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 5 bus matrix issuing functionality register, Address offset: 0x6008 */
|
||||
uint32_t RESERVED12[1023]; /*!< Reserved, Address offset: 0x600C-0x7004 */
|
||||
__IO uint32_t AXI_TARG6_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 6 bus matrix issuing functionality register, Address offset: 0x7008 */
|
||||
uint32_t RESERVED13[1023]; /*!< Reserved, Address offset: 0x700C-0x8004 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 7 bus matrix issuing functionality register, Address offset: 0x8008 */
|
||||
uint32_t RESERVED14[6]; /*!< Reserved, Address offset: 0x800C-0x8020 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD2; /*!< AXI interconnect - TARG 7 bus matrix functionality 2 register, Address offset: 0x8024 */
|
||||
uint32_t RESERVED15; /*!< Reserved, Address offset: 0x8028 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_LB; /*!< AXI interconnect - TARG 7 long burst functionality modification register, Address offset: 0x802C */
|
||||
uint32_t RESERVED16[54]; /*!< Reserved, Address offset: 0x8030-0x8104 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD; /*!< AXI interconnect - TARG 7 issuing functionality modification register, Address offset: 0x8108 */
|
||||
uint32_t RESERVED17[959]; /*!< Reserved, Address offset: 0x810C-0x9004 */
|
||||
__IO uint32_t AXI_TARG8_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 8 bus matrix issuing functionality register, Address offset: 0x9008 */
|
||||
uint32_t RESERVED117[6]; /*!< Reserved, Address offset: 0x900C-0x9020 */
|
||||
__IO uint32_t AXI_TARG8_FN_MOD2; /*!< AXI interconnect - TARG 8 bus matrix functionality 2 register, Address offset: 0x9024 */
|
||||
uint32_t RESERVED118[56]; /*!< Reserved, Address offset: 0x9028-0x9104 */
|
||||
__IO uint32_t AXI_TARG8_FN_MOD; /*!< AXI interconnect - TARG 8 issuing functionality modification register, Address offset: 0x9108 */
|
||||
uint32_t RESERVED119[959]; /*!< Reserved, Address offset: 0x910C-0xA004 */
|
||||
__IO uint32_t AXI_TARG9_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 9 bus matrix issuing functionality register, Address offset: 0xA008 */
|
||||
uint32_t RESERVED120[6]; /*!< Reserved, Address offset: 0xA00C-0xA020 */
|
||||
__IO uint32_t AXI_TARG9_FN_MOD2; /*!< AXI interconnect - TARG 9 bus matrix functionality 2 register, Address offset: 0xA024 */
|
||||
uint32_t RESERVED121[56]; /*!< Reserved, Address offset: 0xA028-0xA104 */
|
||||
__IO uint32_t AXI_TARG9_FN_MOD; /*!< AXI interconnect - TARG 9 issuing functionality modification register, Address offset: 0xA108 */
|
||||
uint32_t RESERVED122[959]; /*!< Reserved, Address offset: 0xA10C-0xB004 */
|
||||
__IO uint32_t AXI_TARG10_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 10 bus matrix issuing functionality register, Address offset: 0xB008 */
|
||||
uint32_t RESERVED123[6]; /*!< Reserved, Address offset: 0xB00C-0xB020 */
|
||||
__IO uint32_t AXI_TARG10_FN_MOD2; /*!< AXI interconnect - TARG 10 bus matrix functionality 2 register, Address offset: 0xB024 */
|
||||
uint32_t RESERVED124[56]; /*!< Reserved, Address offset: 0xB028-0xB104 */
|
||||
__IO uint32_t AXI_TARG10_FN_MOD; /*!< AXI interconnect - TARG 10 issuing functionality modification register, Address offset: 0xB108 */
|
||||
uint32_t RESERVED125[968]; /*!< Reserved, Address offset: 0xB10C-0xC028 */
|
||||
__IO uint32_t AXI_TARG10_FN_MOD_LB; /*!< AXI interconnect - TARG 10 long burst functionality modification register, Address offset: 0xC02C */
|
||||
uint32_t RESERVED126[55293]; /*!< Reserved, Address offset: 0xC030-0xC104 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD2; /*!< AXI interconnect - INI 1 functionality modification 2 register, Address offset: 0x42024 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD_AHB; /*!< AXI interconnect - INI 1 AHB functionality modification register, Address offset: 0x42028 */
|
||||
uint32_t RESERVED18[53]; /*!< Reserved, Address offset: 0x4202C-0x420FC */
|
||||
__IO uint32_t AXI_INI1_READ_QOS; /*!< AXI interconnect - INI 1 read QoS register, Address offset: 0x42100 */
|
||||
__IO uint32_t AXI_INI1_WRITE_QOS; /*!< AXI interconnect - INI 1 write QoS register, Address offset: 0x42104 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD; /*!< AXI interconnect - INI 1 issuing functionality modification register, Address offset: 0x42108 */
|
||||
uint32_t RESERVED19[1021]; /*!< Reserved, Address offset: 0x4210C-0x430FC */
|
||||
__IO uint32_t AXI_INI2_READ_QOS; /*!< AXI interconnect - INI 2 read QoS register, Address offset: 0x43100 */
|
||||
__IO uint32_t AXI_INI2_WRITE_QOS; /*!< AXI interconnect - INI 2 write QoS register, Address offset: 0x43104 */
|
||||
__IO uint32_t AXI_INI2_FN_MOD; /*!< AXI interconnect - INI 2 issuing functionality modification register, Address offset: 0x43108 */
|
||||
uint32_t RESERVED20[966]; /*!< Reserved, Address offset: 0x4310C-0x44020 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD2; /*!< AXI interconnect - INI 3 functionality modification 2 register, Address offset: 0x44024 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD_AHB; /*!< AXI interconnect - INI 3 AHB functionality modification register, Address offset: 0x44028 */
|
||||
uint32_t RESERVED21[53]; /*!< Reserved, Address offset: 0x4402C-0x440FC */
|
||||
__IO uint32_t AXI_INI3_READ_QOS; /*!< AXI interconnect - INI 3 read QoS register, Address offset: 0x44100 */
|
||||
__IO uint32_t AXI_INI3_WRITE_QOS; /*!< AXI interconnect - INI 3 write QoS register, Address offset: 0x44104 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD; /*!< AXI interconnect - INI 3 issuing functionality modification register, Address offset: 0x44108 */
|
||||
uint32_t RESERVED22[1021]; /*!< Reserved, Address offset: 0x4410C-0x450FC */
|
||||
__IO uint32_t AXI_INI4_READ_QOS; /*!< AXI interconnect - INI 4 read QoS register, Address offset: 0x45100 */
|
||||
__IO uint32_t AXI_INI4_WRITE_QOS; /*!< AXI interconnect - INI 4 write QoS register, Address offset: 0x45104 */
|
||||
__IO uint32_t AXI_INI4_FN_MOD; /*!< AXI interconnect - INI 4 issuing functionality modification register, Address offset: 0x45108 */
|
||||
uint32_t RESERVED23[1021]; /*!< Reserved, Address offset: 0x4510C-0x460FC */
|
||||
__IO uint32_t AXI_INI5_READ_QOS; /*!< AXI interconnect - INI 5 read QoS register, Address offset: 0x46100 */
|
||||
__IO uint32_t AXI_INI5_WRITE_QOS; /*!< AXI interconnect - INI 5 write QoS register, Address offset: 0x46104 */
|
||||
__IO uint32_t AXI_INI5_FN_MOD; /*!< AXI interconnect - INI 5 issuing functionality modification register, Address offset: 0x46108 */
|
||||
uint32_t RESERVED24[1021]; /*!< Reserved, Address offset: 0x4610C-0x470FC */
|
||||
__IO uint32_t AXI_INI6_READ_QOS; /*!< AXI interconnect - INI 6 read QoS register, Address offset: 0x47100 */
|
||||
__IO uint32_t AXI_INI6_WRITE_QOS; /*!< AXI interconnect - INI 6 write QoS register, Address offset: 0x47104 */
|
||||
__IO uint32_t AXI_INI6_FN_MOD; /*!< AXI interconnect - INI 6 issuing functionality modification register, Address offset: 0x47108 */
|
||||
uint32_t RESERVED25[966]; /*!< Reserved, Address offset: 0x4710C-0x48020 */
|
||||
__IO uint32_t AXI_INI7_FN_MOD2; /*!< AXI interconnect - INI 7 functionality modification 2 register, Address offset: 0x48024 */
|
||||
__IO uint32_t AXI_INI7_FN_MOD_AHB; /*!< AXI interconnect - INI 7 AHB functionality modification register, Address offset: 0x48028 */
|
||||
uint32_t RESERVED26[53]; /*!< Reserved, Address offset: 0x4802C-0x480FC */
|
||||
__IO uint32_t AXI_INI7_READ_QOS; /*!< AXI interconnect - INI 7 read QoS register, Address offset: 0x48100 */
|
||||
__IO uint32_t AXI_INI7_WRITE_QOS; /*!< AXI interconnect - INI 7 write QoS register, Address offset: 0x48104 */
|
||||
__IO uint32_t AXI_INI7_FN_MOD; /*!< AXI interconnect - INI 7 issuing functionality modification register, Address offset: 0x48108 */
|
||||
|
||||
} GPV_TypeDef;
|
||||
|
||||
/** @addtogroup Peripheral_memory_map
|
||||
* @{
|
||||
*/
|
||||
|
@ -2181,6 +2301,9 @@ typedef struct
|
|||
#define RAMECC_Monitor2_BASE (RAMECC_BASE + 0x40UL)
|
||||
#define RAMECC_Monitor3_BASE (RAMECC_BASE + 0x60UL)
|
||||
|
||||
|
||||
#define GPV_BASE (PERIPH_BASE + 0x11000000UL) /*!< GPV_BASE (PERIPH_BASE + 0x11000000UL) */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -2463,6 +2586,8 @@ typedef struct
|
|||
#define USB_OTG_HS USB1_OTG_HS
|
||||
#define USB_OTG_HS_PERIPH_BASE USB1_OTG_HS_PERIPH_BASE
|
||||
|
||||
#define GPV ((GPV_TypeDef *) GPV_BASE)
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -2935,7 +3060,7 @@ typedef struct
|
|||
/******************** Bit definition for ADC_SQR1 register ********************/
|
||||
#define ADC_SQR1_L_Pos (0U)
|
||||
#define ADC_SQR1_L_Msk (0xFUL << ADC_SQR1_L_Pos) /*!< 0x0000000F */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence lenght */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence length */
|
||||
#define ADC_SQR1_L_0 (0x1UL << ADC_SQR1_L_Pos) /*!< 0x00000001 */
|
||||
#define ADC_SQR1_L_1 (0x2UL << ADC_SQR1_L_Pos) /*!< 0x00000002 */
|
||||
#define ADC_SQR1_L_2 (0x4UL << ADC_SQR1_L_Pos) /*!< 0x00000004 */
|
||||
|
@ -3815,7 +3940,7 @@ typedef struct
|
|||
/***************** Bit definition for FDCAN_ENDN register *******************/
|
||||
#define FDCAN_ENDN_ETV_Pos (0U)
|
||||
#define FDCAN_ENDN_ETV_Msk (0xFFFFFFFFUL << FDCAN_ENDN_ETV_Pos) /*!< 0xFFFFFFFF */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endiannes Test Value */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endianness Test Value */
|
||||
|
||||
/***************** Bit definition for FDCAN_DBTP register *******************/
|
||||
#define FDCAN_DBTP_DSJW_Pos (0U)
|
||||
|
@ -3942,7 +4067,7 @@ typedef struct
|
|||
|
||||
/***************** Bit definition for FDCAN_ECR register *********************/
|
||||
#define FDCAN_ECR_TEC_Pos (0U)
|
||||
#define FDCAN_ECR_TEC_Msk (0xFUL << FDCAN_ECR_TEC_Pos) /*!< 0x0000000F */
|
||||
#define FDCAN_ECR_TEC_Msk (0xFFUL << FDCAN_ECR_TEC_Pos) /*!< 0x000000FF */
|
||||
#define FDCAN_ECR_TEC FDCAN_ECR_TEC_Msk /*!<Transmit Error Counter */
|
||||
#define FDCAN_ECR_REC_Pos (8U)
|
||||
#define FDCAN_ECR_REC_Msk (0x7FUL << FDCAN_ECR_REC_Pos) /*!< 0x00007F00 */
|
||||
|
@ -8481,8 +8606,11 @@ typedef struct
|
|||
/*
|
||||
* @brief FLASH Global Defines
|
||||
*/
|
||||
#define FLASH_SIZE_DATA_REGISTER 0x08FFF80CU
|
||||
#define FLASH_SECTOR_TOTAL 128U /* 128 sectors */
|
||||
#define FLASH_SIZE 0x200000UL /* 2 MB */
|
||||
#define FLASH_SIZE ((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0xFFFFU)) ? 0x200000U : \
|
||||
((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0x0000U)) ? 0x200000U : \
|
||||
(((uint32_t)(*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0FFFU)) << 10U))) /* 2 MB */
|
||||
#define FLASH_BANK_SIZE (FLASH_SIZE >> 1) /* 1 MB */
|
||||
#define FLASH_SECTOR_SIZE 0x00002000UL /* 8 KB */
|
||||
#define FLASH_LATENCY_DEFAULT FLASH_ACR_LATENCY_3WS /* FLASH Three Latency cycles */
|
||||
|
@ -8836,7 +8964,7 @@ typedef struct
|
|||
/****************** Bit definition for FMC_BCR1 register *******************/
|
||||
#define FMC_BCR1_CCLKEN_Pos (20U)
|
||||
#define FMC_BCR1_CCLKEN_Msk (0x1UL << FMC_BCR1_CCLKEN_Pos) /*!< 0x00100000 */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continous clock enable */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continuous clock enable */
|
||||
#define FMC_BCR1_WFDIS_Pos (21U)
|
||||
#define FMC_BCR1_WFDIS_Msk (0x1UL << FMC_BCR1_WFDIS_Pos) /*!< 0x00200000 */
|
||||
#define FMC_BCR1_WFDIS FMC_BCR1_WFDIS_Msk /*!<Write FIFO Disable */
|
||||
|
@ -9316,7 +9444,7 @@ typedef struct
|
|||
|
||||
#define FMC_SDRTR_REIE_Pos (14U)
|
||||
#define FMC_SDRTR_REIE_Msk (0x1UL << FMC_SDRTR_REIE_Pos) /*!< 0x00004000 */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interupt enable */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interrupt enable */
|
||||
|
||||
/****************** Bit definition for FMC_SDSR register ******************/
|
||||
#define FMC_SDSR_RE_Pos (0U)
|
||||
|
@ -9378,10 +9506,10 @@ typedef struct
|
|||
#define GFXMMU_CR_PD GFXMMU_CR_PD_Msk /*!< Prefetch Disable */
|
||||
#define GFXMMU_CR_OC_Pos (16U)
|
||||
#define GFXMMU_CR_OC_Msk (0x1UL << GFXMMU_CR_OC_Pos) /*!< 0x00002000 */
|
||||
#define GFXMMU_CR_OC GFXMMU_CR_OC_Msk /*!< Outter Cachability */
|
||||
#define GFXMMU_CR_OC GFXMMU_CR_OC_Msk /*!< Outer Cachability */
|
||||
#define GFXMMU_CR_OB_Pos (17U)
|
||||
#define GFXMMU_CR_OB_Msk (0x1UL << GFXMMU_CR_OB_Pos) /*!< 0x00002000 */
|
||||
#define GFXMMU_CR_OB GFXMMU_CR_OB_Msk /*!< Outter Bufferability */
|
||||
#define GFXMMU_CR_OB GFXMMU_CR_OB_Msk /*!< Outer Bufferability */
|
||||
|
||||
/****************** Bits definition for GFXMMU_SR register ********************/
|
||||
#define GFXMMU_SR_B0OF_Pos (0U)
|
||||
|
@ -11239,7 +11367,7 @@ typedef struct
|
|||
|
||||
#define LTDC_AWCR_AAH_Pos (0U)
|
||||
#define LTDC_AWCR_AAH_Msk (0x7FFUL << LTDC_AWCR_AAH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active heigh */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active height */
|
||||
#define LTDC_AWCR_AAW_Pos (16U)
|
||||
#define LTDC_AWCR_AAW_Msk (0xFFFUL << LTDC_AWCR_AAW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_AWCR_AAW LTDC_AWCR_AAW_Msk /*!< Accumulated Active Width */
|
||||
|
@ -11248,7 +11376,7 @@ typedef struct
|
|||
|
||||
#define LTDC_TWCR_TOTALH_Pos (0U)
|
||||
#define LTDC_TWCR_TOTALH_Msk (0x7FFUL << LTDC_TWCR_TOTALH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total Heigh */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total height */
|
||||
#define LTDC_TWCR_TOTALW_Pos (16U)
|
||||
#define LTDC_TWCR_TOTALW_Msk (0xFFFUL << LTDC_TWCR_TOTALW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_TWCR_TOTALW LTDC_TWCR_TOTALW_Msk /*!< Total Width */
|
||||
|
@ -11567,7 +11695,7 @@ typedef struct
|
|||
#define MDMA_CISR_TCIF MDMA_CISR_TCIF_Msk /*!< Channel x buffer transfer complete interrupt flag */
|
||||
#define MDMA_CISR_CRQA_Pos (16U)
|
||||
#define MDMA_CISR_CRQA_Msk (0x1UL << MDMA_CISR_CRQA_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x ReQest Active flag */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x request Active flag */
|
||||
|
||||
/******************** Bit definition for MDMA_CxIFCR register ****************/
|
||||
#define MDMA_CIFCR_CTEIF_Pos (0U)
|
||||
|
@ -11632,13 +11760,13 @@ typedef struct
|
|||
#define MDMA_CCR_PL_1 (0x2UL << MDMA_CCR_PL_Pos) /*!< 0x00000080 */
|
||||
#define MDMA_CCR_BEX_Pos (12U)
|
||||
#define MDMA_CCR_BEX_Msk (0x1UL << MDMA_CCR_BEX_Pos) /*!< 0x00001000 */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianess eXchange */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianness eXchange */
|
||||
#define MDMA_CCR_HEX_Pos (13U)
|
||||
#define MDMA_CCR_HEX_Msk (0x1UL << MDMA_CCR_HEX_Pos) /*!< 0x00002000 */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianess eXchange */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianness eXchange */
|
||||
#define MDMA_CCR_WEX_Pos (14U)
|
||||
#define MDMA_CCR_WEX_Msk (0x1UL << MDMA_CCR_WEX_Pos) /*!< 0x00004000 */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianess eXchange */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianness eXchange */
|
||||
#define MDMA_CCR_SWRQ_Pos (16U)
|
||||
#define MDMA_CCR_SWRQ_Msk (0x1UL << MDMA_CCR_SWRQ_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CCR_SWRQ MDMA_CCR_SWRQ_Msk /*!< SW ReQuest */
|
||||
|
@ -11694,7 +11822,7 @@ typedef struct
|
|||
#define MDMA_CTCR_PKE MDMA_CTCR_PKE_Msk /*!< PacK Enable */
|
||||
#define MDMA_CTCR_PAM_Pos (26U)
|
||||
#define MDMA_CTCR_PAM_Msk (0x3UL << MDMA_CTCR_PAM_Pos) /*!< 0x0C000000 */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignement Mode */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignment Mode */
|
||||
#define MDMA_CTCR_PAM_0 (0x1UL << MDMA_CTCR_PAM_Pos) /*!< 0x4000000 */
|
||||
#define MDMA_CTCR_PAM_1 (0x2UL << MDMA_CTCR_PAM_Pos) /*!< 0x8000000 */
|
||||
#define MDMA_CTCR_TRGM_Pos (28U)
|
||||
|
@ -19652,7 +19780,7 @@ typedef struct
|
|||
/******************* Bit definition for SWPMI_RDR register ********************/
|
||||
#define SWPMI_RDR_RD_Pos (0U)
|
||||
#define SWPMI_RDR_RD_Msk (0xFFFFFFFFUL << SWPMI_RDR_RD_Pos) /*!< 0xFFFFFFFF */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Recive Data Register */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Receive Data Register */
|
||||
|
||||
|
||||
/******************* Bit definition for SWPMI_OR register ********************/
|
||||
|
@ -21676,14 +21804,16 @@ typedef struct
|
|||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/****************************** SMBUS Instances *******************************/
|
||||
#define IS_SMBUS_ALL_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \
|
||||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/******************************** I2S Instances *******************************/
|
||||
#define IS_I2S_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -21703,9 +21833,6 @@ typedef struct
|
|||
#define IS_SDMMC_ALL_INSTANCE(_INSTANCE_) (((_INSTANCE_) == SDMMC1) || \
|
||||
((_INSTANCE_) == SDMMC2))
|
||||
|
||||
/******************************** SMBUS Instances *****************************/
|
||||
#define IS_SMBUS_INSTANCE(INSTANCE) ((INSTANCE) == I2C1)
|
||||
|
||||
/******************************** SPI Instances *******************************/
|
||||
#define IS_SPI_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -21882,6 +22009,7 @@ typedef struct
|
|||
((INSTANCE) == TIM6) || \
|
||||
((INSTANCE) == TIM7) || \
|
||||
((INSTANCE) == TIM8) || \
|
||||
((INSTANCE) == TIM12) || \
|
||||
((INSTANCE) == TIM15))
|
||||
|
||||
/****** TIM Instances : Salve mode available (TIMx_SMCR.TS available )*********/
|
||||
|
|
|
@ -652,7 +652,7 @@ typedef struct
|
|||
__IO uint32_t CBRUR; /*!< MDMA channel x Block Repeat address Update register, Address offset: 0x60 */
|
||||
__IO uint32_t CLAR; /*!< MDMA channel x Link Address register, Address offset: 0x64 */
|
||||
__IO uint32_t CTBR; /*!< MDMA channel x Trigger and Bus selection Register, Address offset: 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x6C */
|
||||
__IO uint32_t CMAR; /*!< MDMA channel x Mask address register, Address offset: 0x70 */
|
||||
__IO uint32_t CMDR; /*!< MDMA channel x Mask Data register, Address offset: 0x74 */
|
||||
}MDMA_Channel_TypeDef;
|
||||
|
@ -729,6 +729,15 @@ __IO uint32_t EMR3; /*!< EXTI Event mask register,
|
|||
__IO uint32_t PR3; /*!< EXTI Pending register, Address offset: 0xA8 */
|
||||
}EXTI_TypeDef;
|
||||
|
||||
/**
|
||||
* @brief This structure registers corresponds to EXTI_Typdef CPU1/CPU2 registers subset (IMRx, EMRx and PRx), allowing to define EXTI_D1/EXTI_D2
|
||||
* with rapid/common access to these IMRx, EMRx, PRx registers for CPU1 and CPU2.
|
||||
* Note that EXTI_D1 and EXTI_D2 bases addresses are calculated to point to CPUx first register:
|
||||
* IMR1 in case of EXTI_D1 that is addressing CPU1 (Coretx-M7)
|
||||
* C2IMR1 in case of EXTI_D2 that is addressing CPU2 (Coretx-M4)
|
||||
* Note: EXTI_D2 and corresponding C2IMRx, C2EMRx and C2PRx registers are available for Dual Core devices only
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
__IO uint32_t IMR1; /*!< EXTI Interrupt mask register, Address offset: 0x00 */
|
||||
|
@ -1825,6 +1834,117 @@ typedef struct
|
|||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Global Programmer View
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint32_t RESERVED0[2036]; /*!< Reserved, Address offset: 0x00-0x1FCC */
|
||||
__IO uint32_t AXI_PERIPH_ID_4; /*!< AXI interconnect - peripheral ID4 register, Address offset: 0x1FD0 */
|
||||
uint32_t AXI_PERIPH_ID_5; /*!< Reserved, Address offset: 0x1FD4 */
|
||||
uint32_t AXI_PERIPH_ID_6; /*!< Reserved, Address offset: 0x1FD8 */
|
||||
uint32_t AXI_PERIPH_ID_7; /*!< Reserved, Address offset: 0x1FDC */
|
||||
__IO uint32_t AXI_PERIPH_ID_0; /*!< AXI interconnect - peripheral ID0 register, Address offset: 0x1FE0 */
|
||||
__IO uint32_t AXI_PERIPH_ID_1; /*!< AXI interconnect - peripheral ID1 register, Address offset: 0x1FE4 */
|
||||
__IO uint32_t AXI_PERIPH_ID_2; /*!< AXI interconnect - peripheral ID2 register, Address offset: 0x1FE8 */
|
||||
__IO uint32_t AXI_PERIPH_ID_3; /*!< AXI interconnect - peripheral ID3 register, Address offset: 0x1FEC */
|
||||
__IO uint32_t AXI_COMP_ID_0; /*!< AXI interconnect - component ID0 register, Address offset: 0x1FF0 */
|
||||
__IO uint32_t AXI_COMP_ID_1; /*!< AXI interconnect - component ID1 register, Address offset: 0x1FF4 */
|
||||
__IO uint32_t AXI_COMP_ID_2; /*!< AXI interconnect - component ID2 register, Address offset: 0x1FF8 */
|
||||
__IO uint32_t AXI_COMP_ID_3; /*!< AXI interconnect - component ID3 register, Address offset: 0x1FFC */
|
||||
uint32_t RESERVED1[2]; /*!< Reserved, Address offset: 0x2000-0x2004 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 1 bus matrix issuing functionality register, Address offset: 0x2008 */
|
||||
uint32_t RESERVED2[6]; /*!< Reserved, Address offset: 0x200C-0x2020 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD2; /*!< AXI interconnect - TARG 1 bus matrix functionality 2 register, Address offset: 0x2024 */
|
||||
uint32_t RESERVED3; /*!< Reserved, Address offset: 0x2028 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_LB; /*!< AXI interconnect - TARG 1 long burst functionality modification register, Address offset: 0x202C */
|
||||
uint32_t RESERVED4[54]; /*!< Reserved, Address offset: 0x2030-0x2104 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD; /*!< AXI interconnect - TARG 1 issuing functionality modification register, Address offset: 0x2108 */
|
||||
uint32_t RESERVED5[959]; /*!< Reserved, Address offset: 0x210C-0x3004 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 2 bus matrix issuing functionality register, Address offset: 0x3008 */
|
||||
uint32_t RESERVED6[6]; /*!< Reserved, Address offset: 0x300C-0x3020 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD2; /*!< AXI interconnect - TARG 2 bus matrix functionality 2 register, Address offset: 0x3024 */
|
||||
uint32_t RESERVED7; /*!< Reserved, Address offset: 0x3028 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_LB; /*!< AXI interconnect - TARG 2 long burst functionality modification register, Address offset: 0x302C */
|
||||
uint32_t RESERVED8[54]; /*!< Reserved, Address offset: 0x3030-0x3104 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD; /*!< AXI interconnect - TARG 2 issuing functionality modification register, Address offset: 0x3108 */
|
||||
uint32_t RESERVED9[959]; /*!< Reserved, Address offset: 0x310C-0x4004 */
|
||||
__IO uint32_t AXI_TARG3_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 3 bus matrix issuing functionality register, Address offset: 0x4008 */
|
||||
uint32_t RESERVED10[1023]; /*!< Reserved, Address offset: 0x400C-0x5004 */
|
||||
__IO uint32_t AXI_TARG4_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 4 bus matrix issuing functionality register, Address offset: 0x5008 */
|
||||
uint32_t RESERVED11[1023]; /*!< Reserved, Address offset: 0x500C-0x6004 */
|
||||
__IO uint32_t AXI_TARG5_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 5 bus matrix issuing functionality register, Address offset: 0x6008 */
|
||||
uint32_t RESERVED12[1023]; /*!< Reserved, Address offset: 0x600C-0x7004 */
|
||||
__IO uint32_t AXI_TARG6_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 6 bus matrix issuing functionality register, Address offset: 0x7008 */
|
||||
uint32_t RESERVED13[1023]; /*!< Reserved, Address offset: 0x700C-0x8004 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 7 bus matrix issuing functionality register, Address offset: 0x8008 */
|
||||
uint32_t RESERVED14[6]; /*!< Reserved, Address offset: 0x800C-0x8020 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD2; /*!< AXI interconnect - TARG 7 bus matrix functionality 2 register, Address offset: 0x8024 */
|
||||
uint32_t RESERVED15; /*!< Reserved, Address offset: 0x8028 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_LB; /*!< AXI interconnect - TARG 7 long burst functionality modification register, Address offset: 0x802C */
|
||||
uint32_t RESERVED16[54]; /*!< Reserved, Address offset: 0x8030-0x8104 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD; /*!< AXI interconnect - TARG 7 issuing functionality modification register, Address offset: 0x8108 */
|
||||
uint32_t RESERVED17[959]; /*!< Reserved, Address offset: 0x810C-0x9004 */
|
||||
__IO uint32_t AXI_TARG8_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 8 bus matrix issuing functionality register, Address offset: 0x9008 */
|
||||
uint32_t RESERVED117[6]; /*!< Reserved, Address offset: 0x900C-0x9020 */
|
||||
__IO uint32_t AXI_TARG8_FN_MOD2; /*!< AXI interconnect - TARG 8 bus matrix functionality 2 register, Address offset: 0x9024 */
|
||||
uint32_t RESERVED118[56]; /*!< Reserved, Address offset: 0x9028-0x9104 */
|
||||
__IO uint32_t AXI_TARG8_FN_MOD; /*!< AXI interconnect - TARG 8 issuing functionality modification register, Address offset: 0x9108 */
|
||||
uint32_t RESERVED119[959]; /*!< Reserved, Address offset: 0x910C-0xA004 */
|
||||
__IO uint32_t AXI_TARG9_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 9 bus matrix issuing functionality register, Address offset: 0xA008 */
|
||||
uint32_t RESERVED120[6]; /*!< Reserved, Address offset: 0xA00C-0xA020 */
|
||||
__IO uint32_t AXI_TARG9_FN_MOD2; /*!< AXI interconnect - TARG 9 bus matrix functionality 2 register, Address offset: 0xA024 */
|
||||
uint32_t RESERVED121[56]; /*!< Reserved, Address offset: 0xA028-0xA104 */
|
||||
__IO uint32_t AXI_TARG9_FN_MOD; /*!< AXI interconnect - TARG 9 issuing functionality modification register, Address offset: 0xA108 */
|
||||
uint32_t RESERVED122[959]; /*!< Reserved, Address offset: 0xA10C-0xB004 */
|
||||
__IO uint32_t AXI_TARG10_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 10 bus matrix issuing functionality register, Address offset: 0xB008 */
|
||||
uint32_t RESERVED123[6]; /*!< Reserved, Address offset: 0xB00C-0xB020 */
|
||||
__IO uint32_t AXI_TARG10_FN_MOD2; /*!< AXI interconnect - TARG 10 bus matrix functionality 2 register, Address offset: 0xB024 */
|
||||
uint32_t RESERVED124[56]; /*!< Reserved, Address offset: 0xB028-0xB104 */
|
||||
__IO uint32_t AXI_TARG10_FN_MOD; /*!< AXI interconnect - TARG 10 issuing functionality modification register, Address offset: 0xB108 */
|
||||
uint32_t RESERVED125[968]; /*!< Reserved, Address offset: 0xB10C-0xC028 */
|
||||
__IO uint32_t AXI_TARG10_FN_MOD_LB; /*!< AXI interconnect - TARG 10 long burst functionality modification register, Address offset: 0xC02C */
|
||||
uint32_t RESERVED126[55293]; /*!< Reserved, Address offset: 0xC030-0xC104 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD2; /*!< AXI interconnect - INI 1 functionality modification 2 register, Address offset: 0x42024 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD_AHB; /*!< AXI interconnect - INI 1 AHB functionality modification register, Address offset: 0x42028 */
|
||||
uint32_t RESERVED18[53]; /*!< Reserved, Address offset: 0x4202C-0x420FC */
|
||||
__IO uint32_t AXI_INI1_READ_QOS; /*!< AXI interconnect - INI 1 read QoS register, Address offset: 0x42100 */
|
||||
__IO uint32_t AXI_INI1_WRITE_QOS; /*!< AXI interconnect - INI 1 write QoS register, Address offset: 0x42104 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD; /*!< AXI interconnect - INI 1 issuing functionality modification register, Address offset: 0x42108 */
|
||||
uint32_t RESERVED19[1021]; /*!< Reserved, Address offset: 0x4210C-0x430FC */
|
||||
__IO uint32_t AXI_INI2_READ_QOS; /*!< AXI interconnect - INI 2 read QoS register, Address offset: 0x43100 */
|
||||
__IO uint32_t AXI_INI2_WRITE_QOS; /*!< AXI interconnect - INI 2 write QoS register, Address offset: 0x43104 */
|
||||
__IO uint32_t AXI_INI2_FN_MOD; /*!< AXI interconnect - INI 2 issuing functionality modification register, Address offset: 0x43108 */
|
||||
uint32_t RESERVED20[966]; /*!< Reserved, Address offset: 0x4310C-0x44020 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD2; /*!< AXI interconnect - INI 3 functionality modification 2 register, Address offset: 0x44024 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD_AHB; /*!< AXI interconnect - INI 3 AHB functionality modification register, Address offset: 0x44028 */
|
||||
uint32_t RESERVED21[53]; /*!< Reserved, Address offset: 0x4402C-0x440FC */
|
||||
__IO uint32_t AXI_INI3_READ_QOS; /*!< AXI interconnect - INI 3 read QoS register, Address offset: 0x44100 */
|
||||
__IO uint32_t AXI_INI3_WRITE_QOS; /*!< AXI interconnect - INI 3 write QoS register, Address offset: 0x44104 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD; /*!< AXI interconnect - INI 3 issuing functionality modification register, Address offset: 0x44108 */
|
||||
uint32_t RESERVED22[1021]; /*!< Reserved, Address offset: 0x4410C-0x450FC */
|
||||
__IO uint32_t AXI_INI4_READ_QOS; /*!< AXI interconnect - INI 4 read QoS register, Address offset: 0x45100 */
|
||||
__IO uint32_t AXI_INI4_WRITE_QOS; /*!< AXI interconnect - INI 4 write QoS register, Address offset: 0x45104 */
|
||||
__IO uint32_t AXI_INI4_FN_MOD; /*!< AXI interconnect - INI 4 issuing functionality modification register, Address offset: 0x45108 */
|
||||
uint32_t RESERVED23[1021]; /*!< Reserved, Address offset: 0x4510C-0x460FC */
|
||||
__IO uint32_t AXI_INI5_READ_QOS; /*!< AXI interconnect - INI 5 read QoS register, Address offset: 0x46100 */
|
||||
__IO uint32_t AXI_INI5_WRITE_QOS; /*!< AXI interconnect - INI 5 write QoS register, Address offset: 0x46104 */
|
||||
__IO uint32_t AXI_INI5_FN_MOD; /*!< AXI interconnect - INI 5 issuing functionality modification register, Address offset: 0x46108 */
|
||||
uint32_t RESERVED24[1021]; /*!< Reserved, Address offset: 0x4610C-0x470FC */
|
||||
__IO uint32_t AXI_INI6_READ_QOS; /*!< AXI interconnect - INI 6 read QoS register, Address offset: 0x47100 */
|
||||
__IO uint32_t AXI_INI6_WRITE_QOS; /*!< AXI interconnect - INI 6 write QoS register, Address offset: 0x47104 */
|
||||
__IO uint32_t AXI_INI6_FN_MOD; /*!< AXI interconnect - INI 6 issuing functionality modification register, Address offset: 0x47108 */
|
||||
uint32_t RESERVED25[966]; /*!< Reserved, Address offset: 0x4710C-0x48020 */
|
||||
__IO uint32_t AXI_INI7_FN_MOD2; /*!< AXI interconnect - INI 7 functionality modification 2 register, Address offset: 0x48024 */
|
||||
__IO uint32_t AXI_INI7_FN_MOD_AHB; /*!< AXI interconnect - INI 7 AHB functionality modification register, Address offset: 0x48028 */
|
||||
uint32_t RESERVED26[53]; /*!< Reserved, Address offset: 0x4802C-0x480FC */
|
||||
__IO uint32_t AXI_INI7_READ_QOS; /*!< AXI interconnect - INI 7 read QoS register, Address offset: 0x48100 */
|
||||
__IO uint32_t AXI_INI7_WRITE_QOS; /*!< AXI interconnect - INI 7 write QoS register, Address offset: 0x48104 */
|
||||
__IO uint32_t AXI_INI7_FN_MOD; /*!< AXI interconnect - INI 7 issuing functionality modification register, Address offset: 0x48108 */
|
||||
|
||||
} GPV_TypeDef;
|
||||
|
||||
/** @addtogroup Peripheral_memory_map
|
||||
* @{
|
||||
*/
|
||||
|
@ -2182,6 +2302,9 @@ typedef struct
|
|||
#define RAMECC_Monitor2_BASE (RAMECC_BASE + 0x40UL)
|
||||
#define RAMECC_Monitor3_BASE (RAMECC_BASE + 0x60UL)
|
||||
|
||||
|
||||
#define GPV_BASE (PERIPH_BASE + 0x11000000UL) /*!< GPV_BASE (PERIPH_BASE + 0x11000000UL) */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -2464,6 +2587,8 @@ typedef struct
|
|||
#define USB_OTG_HS USB1_OTG_HS
|
||||
#define USB_OTG_HS_PERIPH_BASE USB1_OTG_HS_PERIPH_BASE
|
||||
|
||||
#define GPV ((GPV_TypeDef *) GPV_BASE)
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -2936,7 +3061,7 @@ typedef struct
|
|||
/******************** Bit definition for ADC_SQR1 register ********************/
|
||||
#define ADC_SQR1_L_Pos (0U)
|
||||
#define ADC_SQR1_L_Msk (0xFUL << ADC_SQR1_L_Pos) /*!< 0x0000000F */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence lenght */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence length */
|
||||
#define ADC_SQR1_L_0 (0x1UL << ADC_SQR1_L_Pos) /*!< 0x00000001 */
|
||||
#define ADC_SQR1_L_1 (0x2UL << ADC_SQR1_L_Pos) /*!< 0x00000002 */
|
||||
#define ADC_SQR1_L_2 (0x4UL << ADC_SQR1_L_Pos) /*!< 0x00000004 */
|
||||
|
@ -3816,7 +3941,7 @@ typedef struct
|
|||
/***************** Bit definition for FDCAN_ENDN register *******************/
|
||||
#define FDCAN_ENDN_ETV_Pos (0U)
|
||||
#define FDCAN_ENDN_ETV_Msk (0xFFFFFFFFUL << FDCAN_ENDN_ETV_Pos) /*!< 0xFFFFFFFF */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endiannes Test Value */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endianness Test Value */
|
||||
|
||||
/***************** Bit definition for FDCAN_DBTP register *******************/
|
||||
#define FDCAN_DBTP_DSJW_Pos (0U)
|
||||
|
@ -3943,7 +4068,7 @@ typedef struct
|
|||
|
||||
/***************** Bit definition for FDCAN_ECR register *********************/
|
||||
#define FDCAN_ECR_TEC_Pos (0U)
|
||||
#define FDCAN_ECR_TEC_Msk (0xFUL << FDCAN_ECR_TEC_Pos) /*!< 0x0000000F */
|
||||
#define FDCAN_ECR_TEC_Msk (0xFFUL << FDCAN_ECR_TEC_Pos) /*!< 0x000000FF */
|
||||
#define FDCAN_ECR_TEC FDCAN_ECR_TEC_Msk /*!<Transmit Error Counter */
|
||||
#define FDCAN_ECR_REC_Pos (8U)
|
||||
#define FDCAN_ECR_REC_Msk (0x7FUL << FDCAN_ECR_REC_Pos) /*!< 0x00007F00 */
|
||||
|
@ -8482,8 +8607,11 @@ typedef struct
|
|||
/*
|
||||
* @brief FLASH Global Defines
|
||||
*/
|
||||
#define FLASH_SIZE_DATA_REGISTER 0x08FFF80CU
|
||||
#define FLASH_SECTOR_TOTAL 128U /* 128 sectors */
|
||||
#define FLASH_SIZE 0x200000UL /* 2 MB */
|
||||
#define FLASH_SIZE ((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0xFFFFU)) ? 0x200000U : \
|
||||
((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0x0000U)) ? 0x200000U : \
|
||||
(((uint32_t)(*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0FFFU)) << 10U))) /* 2 MB */
|
||||
#define FLASH_BANK_SIZE (FLASH_SIZE >> 1) /* 1 MB */
|
||||
#define FLASH_SECTOR_SIZE 0x00002000UL /* 8 KB */
|
||||
#define FLASH_LATENCY_DEFAULT FLASH_ACR_LATENCY_3WS /* FLASH Three Latency cycles */
|
||||
|
@ -8837,7 +8965,7 @@ typedef struct
|
|||
/****************** Bit definition for FMC_BCR1 register *******************/
|
||||
#define FMC_BCR1_CCLKEN_Pos (20U)
|
||||
#define FMC_BCR1_CCLKEN_Msk (0x1UL << FMC_BCR1_CCLKEN_Pos) /*!< 0x00100000 */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continous clock enable */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continuous clock enable */
|
||||
#define FMC_BCR1_WFDIS_Pos (21U)
|
||||
#define FMC_BCR1_WFDIS_Msk (0x1UL << FMC_BCR1_WFDIS_Pos) /*!< 0x00200000 */
|
||||
#define FMC_BCR1_WFDIS FMC_BCR1_WFDIS_Msk /*!<Write FIFO Disable */
|
||||
|
@ -9317,7 +9445,7 @@ typedef struct
|
|||
|
||||
#define FMC_SDRTR_REIE_Pos (14U)
|
||||
#define FMC_SDRTR_REIE_Msk (0x1UL << FMC_SDRTR_REIE_Pos) /*!< 0x00004000 */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interupt enable */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interrupt enable */
|
||||
|
||||
/****************** Bit definition for FMC_SDSR register ******************/
|
||||
#define FMC_SDSR_RE_Pos (0U)
|
||||
|
@ -9379,10 +9507,10 @@ typedef struct
|
|||
#define GFXMMU_CR_PD GFXMMU_CR_PD_Msk /*!< Prefetch Disable */
|
||||
#define GFXMMU_CR_OC_Pos (16U)
|
||||
#define GFXMMU_CR_OC_Msk (0x1UL << GFXMMU_CR_OC_Pos) /*!< 0x00002000 */
|
||||
#define GFXMMU_CR_OC GFXMMU_CR_OC_Msk /*!< Outter Cachability */
|
||||
#define GFXMMU_CR_OC GFXMMU_CR_OC_Msk /*!< Outer Cachability */
|
||||
#define GFXMMU_CR_OB_Pos (17U)
|
||||
#define GFXMMU_CR_OB_Msk (0x1UL << GFXMMU_CR_OB_Pos) /*!< 0x00002000 */
|
||||
#define GFXMMU_CR_OB GFXMMU_CR_OB_Msk /*!< Outter Bufferability */
|
||||
#define GFXMMU_CR_OB GFXMMU_CR_OB_Msk /*!< Outer Bufferability */
|
||||
|
||||
/****************** Bits definition for GFXMMU_SR register ********************/
|
||||
#define GFXMMU_SR_B0OF_Pos (0U)
|
||||
|
@ -11240,7 +11368,7 @@ typedef struct
|
|||
|
||||
#define LTDC_AWCR_AAH_Pos (0U)
|
||||
#define LTDC_AWCR_AAH_Msk (0x7FFUL << LTDC_AWCR_AAH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active heigh */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active height */
|
||||
#define LTDC_AWCR_AAW_Pos (16U)
|
||||
#define LTDC_AWCR_AAW_Msk (0xFFFUL << LTDC_AWCR_AAW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_AWCR_AAW LTDC_AWCR_AAW_Msk /*!< Accumulated Active Width */
|
||||
|
@ -11249,7 +11377,7 @@ typedef struct
|
|||
|
||||
#define LTDC_TWCR_TOTALH_Pos (0U)
|
||||
#define LTDC_TWCR_TOTALH_Msk (0x7FFUL << LTDC_TWCR_TOTALH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total Heigh */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total height */
|
||||
#define LTDC_TWCR_TOTALW_Pos (16U)
|
||||
#define LTDC_TWCR_TOTALW_Msk (0xFFFUL << LTDC_TWCR_TOTALW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_TWCR_TOTALW LTDC_TWCR_TOTALW_Msk /*!< Total Width */
|
||||
|
@ -11568,7 +11696,7 @@ typedef struct
|
|||
#define MDMA_CISR_TCIF MDMA_CISR_TCIF_Msk /*!< Channel x buffer transfer complete interrupt flag */
|
||||
#define MDMA_CISR_CRQA_Pos (16U)
|
||||
#define MDMA_CISR_CRQA_Msk (0x1UL << MDMA_CISR_CRQA_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x ReQest Active flag */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x request Active flag */
|
||||
|
||||
/******************** Bit definition for MDMA_CxIFCR register ****************/
|
||||
#define MDMA_CIFCR_CTEIF_Pos (0U)
|
||||
|
@ -11633,13 +11761,13 @@ typedef struct
|
|||
#define MDMA_CCR_PL_1 (0x2UL << MDMA_CCR_PL_Pos) /*!< 0x00000080 */
|
||||
#define MDMA_CCR_BEX_Pos (12U)
|
||||
#define MDMA_CCR_BEX_Msk (0x1UL << MDMA_CCR_BEX_Pos) /*!< 0x00001000 */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianess eXchange */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianness eXchange */
|
||||
#define MDMA_CCR_HEX_Pos (13U)
|
||||
#define MDMA_CCR_HEX_Msk (0x1UL << MDMA_CCR_HEX_Pos) /*!< 0x00002000 */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianess eXchange */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianness eXchange */
|
||||
#define MDMA_CCR_WEX_Pos (14U)
|
||||
#define MDMA_CCR_WEX_Msk (0x1UL << MDMA_CCR_WEX_Pos) /*!< 0x00004000 */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianess eXchange */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianness eXchange */
|
||||
#define MDMA_CCR_SWRQ_Pos (16U)
|
||||
#define MDMA_CCR_SWRQ_Msk (0x1UL << MDMA_CCR_SWRQ_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CCR_SWRQ MDMA_CCR_SWRQ_Msk /*!< SW ReQuest */
|
||||
|
@ -11695,7 +11823,7 @@ typedef struct
|
|||
#define MDMA_CTCR_PKE MDMA_CTCR_PKE_Msk /*!< PacK Enable */
|
||||
#define MDMA_CTCR_PAM_Pos (26U)
|
||||
#define MDMA_CTCR_PAM_Msk (0x3UL << MDMA_CTCR_PAM_Pos) /*!< 0x0C000000 */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignement Mode */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignment Mode */
|
||||
#define MDMA_CTCR_PAM_0 (0x1UL << MDMA_CTCR_PAM_Pos) /*!< 0x4000000 */
|
||||
#define MDMA_CTCR_PAM_1 (0x2UL << MDMA_CTCR_PAM_Pos) /*!< 0x8000000 */
|
||||
#define MDMA_CTCR_TRGM_Pos (28U)
|
||||
|
@ -19664,7 +19792,7 @@ typedef struct
|
|||
/******************* Bit definition for SWPMI_RDR register ********************/
|
||||
#define SWPMI_RDR_RD_Pos (0U)
|
||||
#define SWPMI_RDR_RD_Msk (0xFFFFFFFFUL << SWPMI_RDR_RD_Pos) /*!< 0xFFFFFFFF */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Recive Data Register */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Receive Data Register */
|
||||
|
||||
|
||||
/******************* Bit definition for SWPMI_OR register ********************/
|
||||
|
@ -21688,14 +21816,16 @@ typedef struct
|
|||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/****************************** SMBUS Instances *******************************/
|
||||
#define IS_SMBUS_ALL_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \
|
||||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/******************************** I2S Instances *******************************/
|
||||
#define IS_I2S_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -21715,9 +21845,6 @@ typedef struct
|
|||
#define IS_SDMMC_ALL_INSTANCE(_INSTANCE_) (((_INSTANCE_) == SDMMC1) || \
|
||||
((_INSTANCE_) == SDMMC2))
|
||||
|
||||
/******************************** SMBUS Instances *****************************/
|
||||
#define IS_SMBUS_INSTANCE(INSTANCE) ((INSTANCE) == I2C1)
|
||||
|
||||
/******************************** SPI Instances *******************************/
|
||||
#define IS_SPI_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -21894,6 +22021,7 @@ typedef struct
|
|||
((INSTANCE) == TIM6) || \
|
||||
((INSTANCE) == TIM7) || \
|
||||
((INSTANCE) == TIM8) || \
|
||||
((INSTANCE) == TIM12) || \
|
||||
((INSTANCE) == TIM15))
|
||||
|
||||
/****** TIM Instances : Salve mode available (TIMx_SMCR.TS available )*********/
|
||||
|
|
|
@ -654,7 +654,7 @@ typedef struct
|
|||
__IO uint32_t CBRUR; /*!< MDMA channel x Block Repeat address Update register, Address offset: 0x60 */
|
||||
__IO uint32_t CLAR; /*!< MDMA channel x Link Address register, Address offset: 0x64 */
|
||||
__IO uint32_t CTBR; /*!< MDMA channel x Trigger and Bus selection Register, Address offset: 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x6C */
|
||||
__IO uint32_t CMAR; /*!< MDMA channel x Mask address register, Address offset: 0x70 */
|
||||
__IO uint32_t CMDR; /*!< MDMA channel x Mask Data register, Address offset: 0x74 */
|
||||
}MDMA_Channel_TypeDef;
|
||||
|
@ -731,6 +731,15 @@ __IO uint32_t EMR3; /*!< EXTI Event mask register,
|
|||
__IO uint32_t PR3; /*!< EXTI Pending register, Address offset: 0xA8 */
|
||||
}EXTI_TypeDef;
|
||||
|
||||
/**
|
||||
* @brief This structure registers corresponds to EXTI_Typdef CPU1/CPU2 registers subset (IMRx, EMRx and PRx), allowing to define EXTI_D1/EXTI_D2
|
||||
* with rapid/common access to these IMRx, EMRx, PRx registers for CPU1 and CPU2.
|
||||
* Note that EXTI_D1 and EXTI_D2 bases addresses are calculated to point to CPUx first register:
|
||||
* IMR1 in case of EXTI_D1 that is addressing CPU1 (Coretx-M7)
|
||||
* C2IMR1 in case of EXTI_D2 that is addressing CPU2 (Coretx-M4)
|
||||
* Note: EXTI_D2 and corresponding C2IMRx, C2EMRx and C2PRx registers are available for Dual Core devices only
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
__IO uint32_t IMR1; /*!< EXTI Interrupt mask register, Address offset: 0x00 */
|
||||
|
@ -1930,6 +1939,117 @@ typedef struct
|
|||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Global Programmer View
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint32_t RESERVED0[2036]; /*!< Reserved, Address offset: 0x00-0x1FCC */
|
||||
__IO uint32_t AXI_PERIPH_ID_4; /*!< AXI interconnect - peripheral ID4 register, Address offset: 0x1FD0 */
|
||||
uint32_t AXI_PERIPH_ID_5; /*!< Reserved, Address offset: 0x1FD4 */
|
||||
uint32_t AXI_PERIPH_ID_6; /*!< Reserved, Address offset: 0x1FD8 */
|
||||
uint32_t AXI_PERIPH_ID_7; /*!< Reserved, Address offset: 0x1FDC */
|
||||
__IO uint32_t AXI_PERIPH_ID_0; /*!< AXI interconnect - peripheral ID0 register, Address offset: 0x1FE0 */
|
||||
__IO uint32_t AXI_PERIPH_ID_1; /*!< AXI interconnect - peripheral ID1 register, Address offset: 0x1FE4 */
|
||||
__IO uint32_t AXI_PERIPH_ID_2; /*!< AXI interconnect - peripheral ID2 register, Address offset: 0x1FE8 */
|
||||
__IO uint32_t AXI_PERIPH_ID_3; /*!< AXI interconnect - peripheral ID3 register, Address offset: 0x1FEC */
|
||||
__IO uint32_t AXI_COMP_ID_0; /*!< AXI interconnect - component ID0 register, Address offset: 0x1FF0 */
|
||||
__IO uint32_t AXI_COMP_ID_1; /*!< AXI interconnect - component ID1 register, Address offset: 0x1FF4 */
|
||||
__IO uint32_t AXI_COMP_ID_2; /*!< AXI interconnect - component ID2 register, Address offset: 0x1FF8 */
|
||||
__IO uint32_t AXI_COMP_ID_3; /*!< AXI interconnect - component ID3 register, Address offset: 0x1FFC */
|
||||
uint32_t RESERVED1[2]; /*!< Reserved, Address offset: 0x2000-0x2004 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 1 bus matrix issuing functionality register, Address offset: 0x2008 */
|
||||
uint32_t RESERVED2[6]; /*!< Reserved, Address offset: 0x200C-0x2020 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD2; /*!< AXI interconnect - TARG 1 bus matrix functionality 2 register, Address offset: 0x2024 */
|
||||
uint32_t RESERVED3; /*!< Reserved, Address offset: 0x2028 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_LB; /*!< AXI interconnect - TARG 1 long burst functionality modification register, Address offset: 0x202C */
|
||||
uint32_t RESERVED4[54]; /*!< Reserved, Address offset: 0x2030-0x2104 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD; /*!< AXI interconnect - TARG 1 issuing functionality modification register, Address offset: 0x2108 */
|
||||
uint32_t RESERVED5[959]; /*!< Reserved, Address offset: 0x210C-0x3004 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 2 bus matrix issuing functionality register, Address offset: 0x3008 */
|
||||
uint32_t RESERVED6[6]; /*!< Reserved, Address offset: 0x300C-0x3020 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD2; /*!< AXI interconnect - TARG 2 bus matrix functionality 2 register, Address offset: 0x3024 */
|
||||
uint32_t RESERVED7; /*!< Reserved, Address offset: 0x3028 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_LB; /*!< AXI interconnect - TARG 2 long burst functionality modification register, Address offset: 0x302C */
|
||||
uint32_t RESERVED8[54]; /*!< Reserved, Address offset: 0x3030-0x3104 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD; /*!< AXI interconnect - TARG 2 issuing functionality modification register, Address offset: 0x3108 */
|
||||
uint32_t RESERVED9[959]; /*!< Reserved, Address offset: 0x310C-0x4004 */
|
||||
__IO uint32_t AXI_TARG3_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 3 bus matrix issuing functionality register, Address offset: 0x4008 */
|
||||
uint32_t RESERVED10[1023]; /*!< Reserved, Address offset: 0x400C-0x5004 */
|
||||
__IO uint32_t AXI_TARG4_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 4 bus matrix issuing functionality register, Address offset: 0x5008 */
|
||||
uint32_t RESERVED11[1023]; /*!< Reserved, Address offset: 0x500C-0x6004 */
|
||||
__IO uint32_t AXI_TARG5_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 5 bus matrix issuing functionality register, Address offset: 0x6008 */
|
||||
uint32_t RESERVED12[1023]; /*!< Reserved, Address offset: 0x600C-0x7004 */
|
||||
__IO uint32_t AXI_TARG6_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 6 bus matrix issuing functionality register, Address offset: 0x7008 */
|
||||
uint32_t RESERVED13[1023]; /*!< Reserved, Address offset: 0x700C-0x8004 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 7 bus matrix issuing functionality register, Address offset: 0x8008 */
|
||||
uint32_t RESERVED14[6]; /*!< Reserved, Address offset: 0x800C-0x8020 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD2; /*!< AXI interconnect - TARG 7 bus matrix functionality 2 register, Address offset: 0x8024 */
|
||||
uint32_t RESERVED15; /*!< Reserved, Address offset: 0x8028 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_LB; /*!< AXI interconnect - TARG 7 long burst functionality modification register, Address offset: 0x802C */
|
||||
uint32_t RESERVED16[54]; /*!< Reserved, Address offset: 0x8030-0x8104 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD; /*!< AXI interconnect - TARG 7 issuing functionality modification register, Address offset: 0x8108 */
|
||||
uint32_t RESERVED17[959]; /*!< Reserved, Address offset: 0x810C-0x9004 */
|
||||
__IO uint32_t AXI_TARG8_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 8 bus matrix issuing functionality register, Address offset: 0x9008 */
|
||||
uint32_t RESERVED117[6]; /*!< Reserved, Address offset: 0x900C-0x9020 */
|
||||
__IO uint32_t AXI_TARG8_FN_MOD2; /*!< AXI interconnect - TARG 8 bus matrix functionality 2 register, Address offset: 0x9024 */
|
||||
uint32_t RESERVED118[56]; /*!< Reserved, Address offset: 0x9028-0x9104 */
|
||||
__IO uint32_t AXI_TARG8_FN_MOD; /*!< AXI interconnect - TARG 8 issuing functionality modification register, Address offset: 0x9108 */
|
||||
uint32_t RESERVED119[959]; /*!< Reserved, Address offset: 0x910C-0xA004 */
|
||||
__IO uint32_t AXI_TARG9_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 9 bus matrix issuing functionality register, Address offset: 0xA008 */
|
||||
uint32_t RESERVED120[6]; /*!< Reserved, Address offset: 0xA00C-0xA020 */
|
||||
__IO uint32_t AXI_TARG9_FN_MOD2; /*!< AXI interconnect - TARG 9 bus matrix functionality 2 register, Address offset: 0xA024 */
|
||||
uint32_t RESERVED121[56]; /*!< Reserved, Address offset: 0xA028-0xA104 */
|
||||
__IO uint32_t AXI_TARG9_FN_MOD; /*!< AXI interconnect - TARG 9 issuing functionality modification register, Address offset: 0xA108 */
|
||||
uint32_t RESERVED122[959]; /*!< Reserved, Address offset: 0xA10C-0xB004 */
|
||||
__IO uint32_t AXI_TARG10_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 10 bus matrix issuing functionality register, Address offset: 0xB008 */
|
||||
uint32_t RESERVED123[6]; /*!< Reserved, Address offset: 0xB00C-0xB020 */
|
||||
__IO uint32_t AXI_TARG10_FN_MOD2; /*!< AXI interconnect - TARG 10 bus matrix functionality 2 register, Address offset: 0xB024 */
|
||||
uint32_t RESERVED124[56]; /*!< Reserved, Address offset: 0xB028-0xB104 */
|
||||
__IO uint32_t AXI_TARG10_FN_MOD; /*!< AXI interconnect - TARG 10 issuing functionality modification register, Address offset: 0xB108 */
|
||||
uint32_t RESERVED125[968]; /*!< Reserved, Address offset: 0xB10C-0xC028 */
|
||||
__IO uint32_t AXI_TARG10_FN_MOD_LB; /*!< AXI interconnect - TARG 10 long burst functionality modification register, Address offset: 0xC02C */
|
||||
uint32_t RESERVED126[55293]; /*!< Reserved, Address offset: 0xC030-0xC104 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD2; /*!< AXI interconnect - INI 1 functionality modification 2 register, Address offset: 0x42024 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD_AHB; /*!< AXI interconnect - INI 1 AHB functionality modification register, Address offset: 0x42028 */
|
||||
uint32_t RESERVED18[53]; /*!< Reserved, Address offset: 0x4202C-0x420FC */
|
||||
__IO uint32_t AXI_INI1_READ_QOS; /*!< AXI interconnect - INI 1 read QoS register, Address offset: 0x42100 */
|
||||
__IO uint32_t AXI_INI1_WRITE_QOS; /*!< AXI interconnect - INI 1 write QoS register, Address offset: 0x42104 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD; /*!< AXI interconnect - INI 1 issuing functionality modification register, Address offset: 0x42108 */
|
||||
uint32_t RESERVED19[1021]; /*!< Reserved, Address offset: 0x4210C-0x430FC */
|
||||
__IO uint32_t AXI_INI2_READ_QOS; /*!< AXI interconnect - INI 2 read QoS register, Address offset: 0x43100 */
|
||||
__IO uint32_t AXI_INI2_WRITE_QOS; /*!< AXI interconnect - INI 2 write QoS register, Address offset: 0x43104 */
|
||||
__IO uint32_t AXI_INI2_FN_MOD; /*!< AXI interconnect - INI 2 issuing functionality modification register, Address offset: 0x43108 */
|
||||
uint32_t RESERVED20[966]; /*!< Reserved, Address offset: 0x4310C-0x44020 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD2; /*!< AXI interconnect - INI 3 functionality modification 2 register, Address offset: 0x44024 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD_AHB; /*!< AXI interconnect - INI 3 AHB functionality modification register, Address offset: 0x44028 */
|
||||
uint32_t RESERVED21[53]; /*!< Reserved, Address offset: 0x4402C-0x440FC */
|
||||
__IO uint32_t AXI_INI3_READ_QOS; /*!< AXI interconnect - INI 3 read QoS register, Address offset: 0x44100 */
|
||||
__IO uint32_t AXI_INI3_WRITE_QOS; /*!< AXI interconnect - INI 3 write QoS register, Address offset: 0x44104 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD; /*!< AXI interconnect - INI 3 issuing functionality modification register, Address offset: 0x44108 */
|
||||
uint32_t RESERVED22[1021]; /*!< Reserved, Address offset: 0x4410C-0x450FC */
|
||||
__IO uint32_t AXI_INI4_READ_QOS; /*!< AXI interconnect - INI 4 read QoS register, Address offset: 0x45100 */
|
||||
__IO uint32_t AXI_INI4_WRITE_QOS; /*!< AXI interconnect - INI 4 write QoS register, Address offset: 0x45104 */
|
||||
__IO uint32_t AXI_INI4_FN_MOD; /*!< AXI interconnect - INI 4 issuing functionality modification register, Address offset: 0x45108 */
|
||||
uint32_t RESERVED23[1021]; /*!< Reserved, Address offset: 0x4510C-0x460FC */
|
||||
__IO uint32_t AXI_INI5_READ_QOS; /*!< AXI interconnect - INI 5 read QoS register, Address offset: 0x46100 */
|
||||
__IO uint32_t AXI_INI5_WRITE_QOS; /*!< AXI interconnect - INI 5 write QoS register, Address offset: 0x46104 */
|
||||
__IO uint32_t AXI_INI5_FN_MOD; /*!< AXI interconnect - INI 5 issuing functionality modification register, Address offset: 0x46108 */
|
||||
uint32_t RESERVED24[1021]; /*!< Reserved, Address offset: 0x4610C-0x470FC */
|
||||
__IO uint32_t AXI_INI6_READ_QOS; /*!< AXI interconnect - INI 6 read QoS register, Address offset: 0x47100 */
|
||||
__IO uint32_t AXI_INI6_WRITE_QOS; /*!< AXI interconnect - INI 6 write QoS register, Address offset: 0x47104 */
|
||||
__IO uint32_t AXI_INI6_FN_MOD; /*!< AXI interconnect - INI 6 issuing functionality modification register, Address offset: 0x47108 */
|
||||
uint32_t RESERVED25[966]; /*!< Reserved, Address offset: 0x4710C-0x48020 */
|
||||
__IO uint32_t AXI_INI7_FN_MOD2; /*!< AXI interconnect - INI 7 functionality modification 2 register, Address offset: 0x48024 */
|
||||
__IO uint32_t AXI_INI7_FN_MOD_AHB; /*!< AXI interconnect - INI 7 AHB functionality modification register, Address offset: 0x48028 */
|
||||
uint32_t RESERVED26[53]; /*!< Reserved, Address offset: 0x4802C-0x480FC */
|
||||
__IO uint32_t AXI_INI7_READ_QOS; /*!< AXI interconnect - INI 7 read QoS register, Address offset: 0x48100 */
|
||||
__IO uint32_t AXI_INI7_WRITE_QOS; /*!< AXI interconnect - INI 7 write QoS register, Address offset: 0x48104 */
|
||||
__IO uint32_t AXI_INI7_FN_MOD; /*!< AXI interconnect - INI 7 issuing functionality modification register, Address offset: 0x48108 */
|
||||
|
||||
} GPV_TypeDef;
|
||||
|
||||
/** @addtogroup Peripheral_memory_map
|
||||
* @{
|
||||
*/
|
||||
|
@ -2301,6 +2421,9 @@ typedef struct
|
|||
#define RAMECC_Monitor2_BASE (RAMECC_BASE + 0x40UL)
|
||||
#define RAMECC_Monitor3_BASE (RAMECC_BASE + 0x60UL)
|
||||
|
||||
|
||||
#define GPV_BASE (PERIPH_BASE + 0x11000000UL) /*!< GPV_BASE (PERIPH_BASE + 0x11000000UL) */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -2598,6 +2721,8 @@ typedef struct
|
|||
#define USB_OTG_HS USB1_OTG_HS
|
||||
#define USB_OTG_HS_PERIPH_BASE USB1_OTG_HS_PERIPH_BASE
|
||||
|
||||
#define GPV ((GPV_TypeDef *) GPV_BASE)
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -3070,7 +3195,7 @@ typedef struct
|
|||
/******************** Bit definition for ADC_SQR1 register ********************/
|
||||
#define ADC_SQR1_L_Pos (0U)
|
||||
#define ADC_SQR1_L_Msk (0xFUL << ADC_SQR1_L_Pos) /*!< 0x0000000F */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence lenght */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence length */
|
||||
#define ADC_SQR1_L_0 (0x1UL << ADC_SQR1_L_Pos) /*!< 0x00000001 */
|
||||
#define ADC_SQR1_L_1 (0x2UL << ADC_SQR1_L_Pos) /*!< 0x00000002 */
|
||||
#define ADC_SQR1_L_2 (0x4UL << ADC_SQR1_L_Pos) /*!< 0x00000004 */
|
||||
|
@ -3950,7 +4075,7 @@ typedef struct
|
|||
/***************** Bit definition for FDCAN_ENDN register *******************/
|
||||
#define FDCAN_ENDN_ETV_Pos (0U)
|
||||
#define FDCAN_ENDN_ETV_Msk (0xFFFFFFFFUL << FDCAN_ENDN_ETV_Pos) /*!< 0xFFFFFFFF */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endiannes Test Value */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endianness Test Value */
|
||||
|
||||
/***************** Bit definition for FDCAN_DBTP register *******************/
|
||||
#define FDCAN_DBTP_DSJW_Pos (0U)
|
||||
|
@ -4077,7 +4202,7 @@ typedef struct
|
|||
|
||||
/***************** Bit definition for FDCAN_ECR register *********************/
|
||||
#define FDCAN_ECR_TEC_Pos (0U)
|
||||
#define FDCAN_ECR_TEC_Msk (0xFUL << FDCAN_ECR_TEC_Pos) /*!< 0x0000000F */
|
||||
#define FDCAN_ECR_TEC_Msk (0xFFUL << FDCAN_ECR_TEC_Pos) /*!< 0x000000FF */
|
||||
#define FDCAN_ECR_TEC FDCAN_ECR_TEC_Msk /*!<Transmit Error Counter */
|
||||
#define FDCAN_ECR_REC_Pos (8U)
|
||||
#define FDCAN_ECR_REC_Msk (0x7FUL << FDCAN_ECR_REC_Pos) /*!< 0x00007F00 */
|
||||
|
@ -8735,9 +8860,12 @@ typedef struct
|
|||
/*
|
||||
* @brief FLASH Global Defines
|
||||
*/
|
||||
#define FLASH_SIZE_DATA_REGISTER 0x08FFF80CU
|
||||
#define FLASH_SECTOR_TOTAL 16U /* 16 sectors */
|
||||
#define FLASH_SECTOR_SIZE 0x00002000UL /* 8 KB */
|
||||
#define FLASH_SIZE 0x00020000UL /* 128 KB */
|
||||
#define FLASH_SIZE ((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0xFFFFU)) ? 0x20000U : \
|
||||
((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0x0000U)) ? 0x20000U : \
|
||||
(((uint32_t)(*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0FFFU)) << 10U))) /* 128 KB */
|
||||
#define FLASH_BANK_SIZE FLASH_SIZE /* 128 KB */
|
||||
#define FLASH_LATENCY_DEFAULT FLASH_ACR_LATENCY_3WS /* FLASH Three Latency cycles */
|
||||
#define FLASH_NB_32BITWORD_IN_FLASHWORD 4U /* 128 bits */
|
||||
|
@ -8932,9 +9060,6 @@ typedef struct
|
|||
#define FLASH_OPTCR_OPTCHANGEERRIE_Pos (30U)
|
||||
#define FLASH_OPTCR_OPTCHANGEERRIE_Msk (0x1UL << FLASH_OPTCR_OPTCHANGEERRIE_Pos) /*!< 0x40000000 */
|
||||
#define FLASH_OPTCR_OPTCHANGEERRIE FLASH_OPTCR_OPTCHANGEERRIE_Msk /*!< Option byte change error interrupt enable bit */
|
||||
#define FLASH_OPTCR_SWAP_BANK_Pos (31U)
|
||||
#define FLASH_OPTCR_SWAP_BANK_Msk (0x1UL << FLASH_OPTCR_SWAP_BANK_Pos) /*!< 0x80000000 */
|
||||
#define FLASH_OPTCR_SWAP_BANK FLASH_OPTCR_SWAP_BANK_Msk /*!< Bank swapping option configuration bit */
|
||||
|
||||
/******************* Bits definition for FLASH_OPTSR register ***************/
|
||||
#define FLASH_OPTSR_OPT_BUSY_Pos (0U)
|
||||
|
@ -8980,9 +9105,6 @@ typedef struct
|
|||
#define FLASH_OPTSR_OPTCHANGEERR_Pos (30U)
|
||||
#define FLASH_OPTSR_OPTCHANGEERR_Msk (0x1UL << FLASH_OPTSR_OPTCHANGEERR_Pos) /*!< 0x40000000 */
|
||||
#define FLASH_OPTSR_OPTCHANGEERR FLASH_OPTSR_OPTCHANGEERR_Msk /*!< Option byte change error flag */
|
||||
#define FLASH_OPTSR_SWAP_BANK_OPT_Pos (31U)
|
||||
#define FLASH_OPTSR_SWAP_BANK_OPT_Msk (0x1UL << FLASH_OPTSR_SWAP_BANK_OPT_Pos) /*!< 0x80000000 */
|
||||
#define FLASH_OPTSR_SWAP_BANK_OPT FLASH_OPTSR_SWAP_BANK_OPT_Msk /*!< Bank swapping option status bit */
|
||||
|
||||
/******************* Bits definition for FLASH_OPTCCR register *******************/
|
||||
#define FLASH_OPTCCR_CLR_OPTCHANGEERR_Pos (30U)
|
||||
|
@ -9089,7 +9211,7 @@ typedef struct
|
|||
/****************** Bit definition for FMC_BCR1 register *******************/
|
||||
#define FMC_BCR1_CCLKEN_Pos (20U)
|
||||
#define FMC_BCR1_CCLKEN_Msk (0x1UL << FMC_BCR1_CCLKEN_Pos) /*!< 0x00100000 */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continous clock enable */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continuous clock enable */
|
||||
#define FMC_BCR1_WFDIS_Pos (21U)
|
||||
#define FMC_BCR1_WFDIS_Msk (0x1UL << FMC_BCR1_WFDIS_Pos) /*!< 0x00200000 */
|
||||
#define FMC_BCR1_WFDIS FMC_BCR1_WFDIS_Msk /*!<Write FIFO Disable */
|
||||
|
@ -9569,7 +9691,7 @@ typedef struct
|
|||
|
||||
#define FMC_SDRTR_REIE_Pos (14U)
|
||||
#define FMC_SDRTR_REIE_Msk (0x1UL << FMC_SDRTR_REIE_Pos) /*!< 0x00004000 */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interupt enable */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interrupt enable */
|
||||
|
||||
/****************** Bit definition for FMC_SDSR register ******************/
|
||||
#define FMC_SDSR_RE_Pos (0U)
|
||||
|
@ -9631,10 +9753,10 @@ typedef struct
|
|||
#define GFXMMU_CR_PD GFXMMU_CR_PD_Msk /*!< Prefetch Disable */
|
||||
#define GFXMMU_CR_OC_Pos (16U)
|
||||
#define GFXMMU_CR_OC_Msk (0x1UL << GFXMMU_CR_OC_Pos) /*!< 0x00002000 */
|
||||
#define GFXMMU_CR_OC GFXMMU_CR_OC_Msk /*!< Outter Cachability */
|
||||
#define GFXMMU_CR_OC GFXMMU_CR_OC_Msk /*!< Outer Cachability */
|
||||
#define GFXMMU_CR_OB_Pos (17U)
|
||||
#define GFXMMU_CR_OB_Msk (0x1UL << GFXMMU_CR_OB_Pos) /*!< 0x00002000 */
|
||||
#define GFXMMU_CR_OB GFXMMU_CR_OB_Msk /*!< Outter Bufferability */
|
||||
#define GFXMMU_CR_OB GFXMMU_CR_OB_Msk /*!< Outer Bufferability */
|
||||
|
||||
/****************** Bits definition for GFXMMU_SR register ********************/
|
||||
#define GFXMMU_SR_B0OF_Pos (0U)
|
||||
|
@ -11568,7 +11690,7 @@ typedef struct
|
|||
|
||||
#define LTDC_AWCR_AAH_Pos (0U)
|
||||
#define LTDC_AWCR_AAH_Msk (0x7FFUL << LTDC_AWCR_AAH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active heigh */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active height */
|
||||
#define LTDC_AWCR_AAW_Pos (16U)
|
||||
#define LTDC_AWCR_AAW_Msk (0xFFFUL << LTDC_AWCR_AAW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_AWCR_AAW LTDC_AWCR_AAW_Msk /*!< Accumulated Active Width */
|
||||
|
@ -11577,7 +11699,7 @@ typedef struct
|
|||
|
||||
#define LTDC_TWCR_TOTALH_Pos (0U)
|
||||
#define LTDC_TWCR_TOTALH_Msk (0x7FFUL << LTDC_TWCR_TOTALH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total Heigh */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total height */
|
||||
#define LTDC_TWCR_TOTALW_Pos (16U)
|
||||
#define LTDC_TWCR_TOTALW_Msk (0xFFFUL << LTDC_TWCR_TOTALW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_TWCR_TOTALW LTDC_TWCR_TOTALW_Msk /*!< Total Width */
|
||||
|
@ -11896,7 +12018,7 @@ typedef struct
|
|||
#define MDMA_CISR_TCIF MDMA_CISR_TCIF_Msk /*!< Channel x buffer transfer complete interrupt flag */
|
||||
#define MDMA_CISR_CRQA_Pos (16U)
|
||||
#define MDMA_CISR_CRQA_Msk (0x1UL << MDMA_CISR_CRQA_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x ReQest Active flag */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x request Active flag */
|
||||
|
||||
/******************** Bit definition for MDMA_CxIFCR register ****************/
|
||||
#define MDMA_CIFCR_CTEIF_Pos (0U)
|
||||
|
@ -11961,13 +12083,13 @@ typedef struct
|
|||
#define MDMA_CCR_PL_1 (0x2UL << MDMA_CCR_PL_Pos) /*!< 0x00000080 */
|
||||
#define MDMA_CCR_BEX_Pos (12U)
|
||||
#define MDMA_CCR_BEX_Msk (0x1UL << MDMA_CCR_BEX_Pos) /*!< 0x00001000 */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianess eXchange */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianness eXchange */
|
||||
#define MDMA_CCR_HEX_Pos (13U)
|
||||
#define MDMA_CCR_HEX_Msk (0x1UL << MDMA_CCR_HEX_Pos) /*!< 0x00002000 */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianess eXchange */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianness eXchange */
|
||||
#define MDMA_CCR_WEX_Pos (14U)
|
||||
#define MDMA_CCR_WEX_Msk (0x1UL << MDMA_CCR_WEX_Pos) /*!< 0x00004000 */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianess eXchange */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianness eXchange */
|
||||
#define MDMA_CCR_SWRQ_Pos (16U)
|
||||
#define MDMA_CCR_SWRQ_Msk (0x1UL << MDMA_CCR_SWRQ_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CCR_SWRQ MDMA_CCR_SWRQ_Msk /*!< SW ReQuest */
|
||||
|
@ -12023,7 +12145,7 @@ typedef struct
|
|||
#define MDMA_CTCR_PKE MDMA_CTCR_PKE_Msk /*!< PacK Enable */
|
||||
#define MDMA_CTCR_PAM_Pos (26U)
|
||||
#define MDMA_CTCR_PAM_Msk (0x3UL << MDMA_CTCR_PAM_Pos) /*!< 0x0C000000 */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignement Mode */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignment Mode */
|
||||
#define MDMA_CTCR_PAM_0 (0x1UL << MDMA_CTCR_PAM_Pos) /*!< 0x4000000 */
|
||||
#define MDMA_CTCR_PAM_1 (0x2UL << MDMA_CTCR_PAM_Pos) /*!< 0x8000000 */
|
||||
#define MDMA_CTCR_TRGM_Pos (28U)
|
||||
|
@ -20138,7 +20260,7 @@ typedef struct
|
|||
/******************* Bit definition for SWPMI_RDR register ********************/
|
||||
#define SWPMI_RDR_RD_Pos (0U)
|
||||
#define SWPMI_RDR_RD_Msk (0xFFFFFFFFUL << SWPMI_RDR_RD_Pos) /*!< 0xFFFFFFFF */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Recive Data Register */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Receive Data Register */
|
||||
|
||||
|
||||
/******************* Bit definition for SWPMI_OR register ********************/
|
||||
|
@ -22166,14 +22288,16 @@ typedef struct
|
|||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/****************************** SMBUS Instances *******************************/
|
||||
#define IS_SMBUS_ALL_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \
|
||||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/******************************** I2S Instances *******************************/
|
||||
#define IS_I2S_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -22193,9 +22317,6 @@ typedef struct
|
|||
#define IS_SDMMC_ALL_INSTANCE(_INSTANCE_) (((_INSTANCE_) == SDMMC1) || \
|
||||
((_INSTANCE_) == SDMMC2))
|
||||
|
||||
/******************************** SMBUS Instances *****************************/
|
||||
#define IS_SMBUS_INSTANCE(INSTANCE) ((INSTANCE) == I2C1)
|
||||
|
||||
/******************************** SPI Instances *******************************/
|
||||
#define IS_SPI_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -22372,6 +22493,7 @@ typedef struct
|
|||
((INSTANCE) == TIM6) || \
|
||||
((INSTANCE) == TIM7) || \
|
||||
((INSTANCE) == TIM8) || \
|
||||
((INSTANCE) == TIM12) || \
|
||||
((INSTANCE) == TIM15))
|
||||
|
||||
/****** TIM Instances : Salve mode available (TIMx_SMCR.TS available )*********/
|
||||
|
|
|
@ -655,7 +655,7 @@ typedef struct
|
|||
__IO uint32_t CBRUR; /*!< MDMA channel x Block Repeat address Update register, Address offset: 0x60 */
|
||||
__IO uint32_t CLAR; /*!< MDMA channel x Link Address register, Address offset: 0x64 */
|
||||
__IO uint32_t CTBR; /*!< MDMA channel x Trigger and Bus selection Register, Address offset: 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x6C */
|
||||
__IO uint32_t CMAR; /*!< MDMA channel x Mask address register, Address offset: 0x70 */
|
||||
__IO uint32_t CMDR; /*!< MDMA channel x Mask Data register, Address offset: 0x74 */
|
||||
}MDMA_Channel_TypeDef;
|
||||
|
@ -732,6 +732,15 @@ __IO uint32_t EMR3; /*!< EXTI Event mask register,
|
|||
__IO uint32_t PR3; /*!< EXTI Pending register, Address offset: 0xA8 */
|
||||
}EXTI_TypeDef;
|
||||
|
||||
/**
|
||||
* @brief This structure registers corresponds to EXTI_Typdef CPU1/CPU2 registers subset (IMRx, EMRx and PRx), allowing to define EXTI_D1/EXTI_D2
|
||||
* with rapid/common access to these IMRx, EMRx, PRx registers for CPU1 and CPU2.
|
||||
* Note that EXTI_D1 and EXTI_D2 bases addresses are calculated to point to CPUx first register:
|
||||
* IMR1 in case of EXTI_D1 that is addressing CPU1 (Coretx-M7)
|
||||
* C2IMR1 in case of EXTI_D2 that is addressing CPU2 (Coretx-M4)
|
||||
* Note: EXTI_D2 and corresponding C2IMRx, C2EMRx and C2PRx registers are available for Dual Core devices only
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
__IO uint32_t IMR1; /*!< EXTI Interrupt mask register, Address offset: 0x00 */
|
||||
|
@ -1931,6 +1940,117 @@ typedef struct
|
|||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Global Programmer View
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint32_t RESERVED0[2036]; /*!< Reserved, Address offset: 0x00-0x1FCC */
|
||||
__IO uint32_t AXI_PERIPH_ID_4; /*!< AXI interconnect - peripheral ID4 register, Address offset: 0x1FD0 */
|
||||
uint32_t AXI_PERIPH_ID_5; /*!< Reserved, Address offset: 0x1FD4 */
|
||||
uint32_t AXI_PERIPH_ID_6; /*!< Reserved, Address offset: 0x1FD8 */
|
||||
uint32_t AXI_PERIPH_ID_7; /*!< Reserved, Address offset: 0x1FDC */
|
||||
__IO uint32_t AXI_PERIPH_ID_0; /*!< AXI interconnect - peripheral ID0 register, Address offset: 0x1FE0 */
|
||||
__IO uint32_t AXI_PERIPH_ID_1; /*!< AXI interconnect - peripheral ID1 register, Address offset: 0x1FE4 */
|
||||
__IO uint32_t AXI_PERIPH_ID_2; /*!< AXI interconnect - peripheral ID2 register, Address offset: 0x1FE8 */
|
||||
__IO uint32_t AXI_PERIPH_ID_3; /*!< AXI interconnect - peripheral ID3 register, Address offset: 0x1FEC */
|
||||
__IO uint32_t AXI_COMP_ID_0; /*!< AXI interconnect - component ID0 register, Address offset: 0x1FF0 */
|
||||
__IO uint32_t AXI_COMP_ID_1; /*!< AXI interconnect - component ID1 register, Address offset: 0x1FF4 */
|
||||
__IO uint32_t AXI_COMP_ID_2; /*!< AXI interconnect - component ID2 register, Address offset: 0x1FF8 */
|
||||
__IO uint32_t AXI_COMP_ID_3; /*!< AXI interconnect - component ID3 register, Address offset: 0x1FFC */
|
||||
uint32_t RESERVED1[2]; /*!< Reserved, Address offset: 0x2000-0x2004 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 1 bus matrix issuing functionality register, Address offset: 0x2008 */
|
||||
uint32_t RESERVED2[6]; /*!< Reserved, Address offset: 0x200C-0x2020 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD2; /*!< AXI interconnect - TARG 1 bus matrix functionality 2 register, Address offset: 0x2024 */
|
||||
uint32_t RESERVED3; /*!< Reserved, Address offset: 0x2028 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_LB; /*!< AXI interconnect - TARG 1 long burst functionality modification register, Address offset: 0x202C */
|
||||
uint32_t RESERVED4[54]; /*!< Reserved, Address offset: 0x2030-0x2104 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD; /*!< AXI interconnect - TARG 1 issuing functionality modification register, Address offset: 0x2108 */
|
||||
uint32_t RESERVED5[959]; /*!< Reserved, Address offset: 0x210C-0x3004 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 2 bus matrix issuing functionality register, Address offset: 0x3008 */
|
||||
uint32_t RESERVED6[6]; /*!< Reserved, Address offset: 0x300C-0x3020 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD2; /*!< AXI interconnect - TARG 2 bus matrix functionality 2 register, Address offset: 0x3024 */
|
||||
uint32_t RESERVED7; /*!< Reserved, Address offset: 0x3028 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_LB; /*!< AXI interconnect - TARG 2 long burst functionality modification register, Address offset: 0x302C */
|
||||
uint32_t RESERVED8[54]; /*!< Reserved, Address offset: 0x3030-0x3104 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD; /*!< AXI interconnect - TARG 2 issuing functionality modification register, Address offset: 0x3108 */
|
||||
uint32_t RESERVED9[959]; /*!< Reserved, Address offset: 0x310C-0x4004 */
|
||||
__IO uint32_t AXI_TARG3_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 3 bus matrix issuing functionality register, Address offset: 0x4008 */
|
||||
uint32_t RESERVED10[1023]; /*!< Reserved, Address offset: 0x400C-0x5004 */
|
||||
__IO uint32_t AXI_TARG4_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 4 bus matrix issuing functionality register, Address offset: 0x5008 */
|
||||
uint32_t RESERVED11[1023]; /*!< Reserved, Address offset: 0x500C-0x6004 */
|
||||
__IO uint32_t AXI_TARG5_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 5 bus matrix issuing functionality register, Address offset: 0x6008 */
|
||||
uint32_t RESERVED12[1023]; /*!< Reserved, Address offset: 0x600C-0x7004 */
|
||||
__IO uint32_t AXI_TARG6_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 6 bus matrix issuing functionality register, Address offset: 0x7008 */
|
||||
uint32_t RESERVED13[1023]; /*!< Reserved, Address offset: 0x700C-0x8004 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 7 bus matrix issuing functionality register, Address offset: 0x8008 */
|
||||
uint32_t RESERVED14[6]; /*!< Reserved, Address offset: 0x800C-0x8020 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD2; /*!< AXI interconnect - TARG 7 bus matrix functionality 2 register, Address offset: 0x8024 */
|
||||
uint32_t RESERVED15; /*!< Reserved, Address offset: 0x8028 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_LB; /*!< AXI interconnect - TARG 7 long burst functionality modification register, Address offset: 0x802C */
|
||||
uint32_t RESERVED16[54]; /*!< Reserved, Address offset: 0x8030-0x8104 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD; /*!< AXI interconnect - TARG 7 issuing functionality modification register, Address offset: 0x8108 */
|
||||
uint32_t RESERVED17[959]; /*!< Reserved, Address offset: 0x810C-0x9004 */
|
||||
__IO uint32_t AXI_TARG8_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 8 bus matrix issuing functionality register, Address offset: 0x9008 */
|
||||
uint32_t RESERVED117[6]; /*!< Reserved, Address offset: 0x900C-0x9020 */
|
||||
__IO uint32_t AXI_TARG8_FN_MOD2; /*!< AXI interconnect - TARG 8 bus matrix functionality 2 register, Address offset: 0x9024 */
|
||||
uint32_t RESERVED118[56]; /*!< Reserved, Address offset: 0x9028-0x9104 */
|
||||
__IO uint32_t AXI_TARG8_FN_MOD; /*!< AXI interconnect - TARG 8 issuing functionality modification register, Address offset: 0x9108 */
|
||||
uint32_t RESERVED119[959]; /*!< Reserved, Address offset: 0x910C-0xA004 */
|
||||
__IO uint32_t AXI_TARG9_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 9 bus matrix issuing functionality register, Address offset: 0xA008 */
|
||||
uint32_t RESERVED120[6]; /*!< Reserved, Address offset: 0xA00C-0xA020 */
|
||||
__IO uint32_t AXI_TARG9_FN_MOD2; /*!< AXI interconnect - TARG 9 bus matrix functionality 2 register, Address offset: 0xA024 */
|
||||
uint32_t RESERVED121[56]; /*!< Reserved, Address offset: 0xA028-0xA104 */
|
||||
__IO uint32_t AXI_TARG9_FN_MOD; /*!< AXI interconnect - TARG 9 issuing functionality modification register, Address offset: 0xA108 */
|
||||
uint32_t RESERVED122[959]; /*!< Reserved, Address offset: 0xA10C-0xB004 */
|
||||
__IO uint32_t AXI_TARG10_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 10 bus matrix issuing functionality register, Address offset: 0xB008 */
|
||||
uint32_t RESERVED123[6]; /*!< Reserved, Address offset: 0xB00C-0xB020 */
|
||||
__IO uint32_t AXI_TARG10_FN_MOD2; /*!< AXI interconnect - TARG 10 bus matrix functionality 2 register, Address offset: 0xB024 */
|
||||
uint32_t RESERVED124[56]; /*!< Reserved, Address offset: 0xB028-0xB104 */
|
||||
__IO uint32_t AXI_TARG10_FN_MOD; /*!< AXI interconnect - TARG 10 issuing functionality modification register, Address offset: 0xB108 */
|
||||
uint32_t RESERVED125[968]; /*!< Reserved, Address offset: 0xB10C-0xC028 */
|
||||
__IO uint32_t AXI_TARG10_FN_MOD_LB; /*!< AXI interconnect - TARG 10 long burst functionality modification register, Address offset: 0xC02C */
|
||||
uint32_t RESERVED126[55293]; /*!< Reserved, Address offset: 0xC030-0xC104 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD2; /*!< AXI interconnect - INI 1 functionality modification 2 register, Address offset: 0x42024 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD_AHB; /*!< AXI interconnect - INI 1 AHB functionality modification register, Address offset: 0x42028 */
|
||||
uint32_t RESERVED18[53]; /*!< Reserved, Address offset: 0x4202C-0x420FC */
|
||||
__IO uint32_t AXI_INI1_READ_QOS; /*!< AXI interconnect - INI 1 read QoS register, Address offset: 0x42100 */
|
||||
__IO uint32_t AXI_INI1_WRITE_QOS; /*!< AXI interconnect - INI 1 write QoS register, Address offset: 0x42104 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD; /*!< AXI interconnect - INI 1 issuing functionality modification register, Address offset: 0x42108 */
|
||||
uint32_t RESERVED19[1021]; /*!< Reserved, Address offset: 0x4210C-0x430FC */
|
||||
__IO uint32_t AXI_INI2_READ_QOS; /*!< AXI interconnect - INI 2 read QoS register, Address offset: 0x43100 */
|
||||
__IO uint32_t AXI_INI2_WRITE_QOS; /*!< AXI interconnect - INI 2 write QoS register, Address offset: 0x43104 */
|
||||
__IO uint32_t AXI_INI2_FN_MOD; /*!< AXI interconnect - INI 2 issuing functionality modification register, Address offset: 0x43108 */
|
||||
uint32_t RESERVED20[966]; /*!< Reserved, Address offset: 0x4310C-0x44020 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD2; /*!< AXI interconnect - INI 3 functionality modification 2 register, Address offset: 0x44024 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD_AHB; /*!< AXI interconnect - INI 3 AHB functionality modification register, Address offset: 0x44028 */
|
||||
uint32_t RESERVED21[53]; /*!< Reserved, Address offset: 0x4402C-0x440FC */
|
||||
__IO uint32_t AXI_INI3_READ_QOS; /*!< AXI interconnect - INI 3 read QoS register, Address offset: 0x44100 */
|
||||
__IO uint32_t AXI_INI3_WRITE_QOS; /*!< AXI interconnect - INI 3 write QoS register, Address offset: 0x44104 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD; /*!< AXI interconnect - INI 3 issuing functionality modification register, Address offset: 0x44108 */
|
||||
uint32_t RESERVED22[1021]; /*!< Reserved, Address offset: 0x4410C-0x450FC */
|
||||
__IO uint32_t AXI_INI4_READ_QOS; /*!< AXI interconnect - INI 4 read QoS register, Address offset: 0x45100 */
|
||||
__IO uint32_t AXI_INI4_WRITE_QOS; /*!< AXI interconnect - INI 4 write QoS register, Address offset: 0x45104 */
|
||||
__IO uint32_t AXI_INI4_FN_MOD; /*!< AXI interconnect - INI 4 issuing functionality modification register, Address offset: 0x45108 */
|
||||
uint32_t RESERVED23[1021]; /*!< Reserved, Address offset: 0x4510C-0x460FC */
|
||||
__IO uint32_t AXI_INI5_READ_QOS; /*!< AXI interconnect - INI 5 read QoS register, Address offset: 0x46100 */
|
||||
__IO uint32_t AXI_INI5_WRITE_QOS; /*!< AXI interconnect - INI 5 write QoS register, Address offset: 0x46104 */
|
||||
__IO uint32_t AXI_INI5_FN_MOD; /*!< AXI interconnect - INI 5 issuing functionality modification register, Address offset: 0x46108 */
|
||||
uint32_t RESERVED24[1021]; /*!< Reserved, Address offset: 0x4610C-0x470FC */
|
||||
__IO uint32_t AXI_INI6_READ_QOS; /*!< AXI interconnect - INI 6 read QoS register, Address offset: 0x47100 */
|
||||
__IO uint32_t AXI_INI6_WRITE_QOS; /*!< AXI interconnect - INI 6 write QoS register, Address offset: 0x47104 */
|
||||
__IO uint32_t AXI_INI6_FN_MOD; /*!< AXI interconnect - INI 6 issuing functionality modification register, Address offset: 0x47108 */
|
||||
uint32_t RESERVED25[966]; /*!< Reserved, Address offset: 0x4710C-0x48020 */
|
||||
__IO uint32_t AXI_INI7_FN_MOD2; /*!< AXI interconnect - INI 7 functionality modification 2 register, Address offset: 0x48024 */
|
||||
__IO uint32_t AXI_INI7_FN_MOD_AHB; /*!< AXI interconnect - INI 7 AHB functionality modification register, Address offset: 0x48028 */
|
||||
uint32_t RESERVED26[53]; /*!< Reserved, Address offset: 0x4802C-0x480FC */
|
||||
__IO uint32_t AXI_INI7_READ_QOS; /*!< AXI interconnect - INI 7 read QoS register, Address offset: 0x48100 */
|
||||
__IO uint32_t AXI_INI7_WRITE_QOS; /*!< AXI interconnect - INI 7 write QoS register, Address offset: 0x48104 */
|
||||
__IO uint32_t AXI_INI7_FN_MOD; /*!< AXI interconnect - INI 7 issuing functionality modification register, Address offset: 0x48108 */
|
||||
|
||||
} GPV_TypeDef;
|
||||
|
||||
/** @addtogroup Peripheral_memory_map
|
||||
* @{
|
||||
*/
|
||||
|
@ -2302,6 +2422,9 @@ typedef struct
|
|||
#define RAMECC_Monitor2_BASE (RAMECC_BASE + 0x40UL)
|
||||
#define RAMECC_Monitor3_BASE (RAMECC_BASE + 0x60UL)
|
||||
|
||||
|
||||
#define GPV_BASE (PERIPH_BASE + 0x11000000UL) /*!< GPV_BASE (PERIPH_BASE + 0x11000000UL) */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -2599,6 +2722,8 @@ typedef struct
|
|||
#define USB_OTG_HS USB1_OTG_HS
|
||||
#define USB_OTG_HS_PERIPH_BASE USB1_OTG_HS_PERIPH_BASE
|
||||
|
||||
#define GPV ((GPV_TypeDef *) GPV_BASE)
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -3071,7 +3196,7 @@ typedef struct
|
|||
/******************** Bit definition for ADC_SQR1 register ********************/
|
||||
#define ADC_SQR1_L_Pos (0U)
|
||||
#define ADC_SQR1_L_Msk (0xFUL << ADC_SQR1_L_Pos) /*!< 0x0000000F */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence lenght */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence length */
|
||||
#define ADC_SQR1_L_0 (0x1UL << ADC_SQR1_L_Pos) /*!< 0x00000001 */
|
||||
#define ADC_SQR1_L_1 (0x2UL << ADC_SQR1_L_Pos) /*!< 0x00000002 */
|
||||
#define ADC_SQR1_L_2 (0x4UL << ADC_SQR1_L_Pos) /*!< 0x00000004 */
|
||||
|
@ -3951,7 +4076,7 @@ typedef struct
|
|||
/***************** Bit definition for FDCAN_ENDN register *******************/
|
||||
#define FDCAN_ENDN_ETV_Pos (0U)
|
||||
#define FDCAN_ENDN_ETV_Msk (0xFFFFFFFFUL << FDCAN_ENDN_ETV_Pos) /*!< 0xFFFFFFFF */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endiannes Test Value */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endianness Test Value */
|
||||
|
||||
/***************** Bit definition for FDCAN_DBTP register *******************/
|
||||
#define FDCAN_DBTP_DSJW_Pos (0U)
|
||||
|
@ -4078,7 +4203,7 @@ typedef struct
|
|||
|
||||
/***************** Bit definition for FDCAN_ECR register *********************/
|
||||
#define FDCAN_ECR_TEC_Pos (0U)
|
||||
#define FDCAN_ECR_TEC_Msk (0xFUL << FDCAN_ECR_TEC_Pos) /*!< 0x0000000F */
|
||||
#define FDCAN_ECR_TEC_Msk (0xFFUL << FDCAN_ECR_TEC_Pos) /*!< 0x000000FF */
|
||||
#define FDCAN_ECR_TEC FDCAN_ECR_TEC_Msk /*!<Transmit Error Counter */
|
||||
#define FDCAN_ECR_REC_Pos (8U)
|
||||
#define FDCAN_ECR_REC_Msk (0x7FUL << FDCAN_ECR_REC_Pos) /*!< 0x00007F00 */
|
||||
|
@ -8736,9 +8861,12 @@ typedef struct
|
|||
/*
|
||||
* @brief FLASH Global Defines
|
||||
*/
|
||||
#define FLASH_SIZE_DATA_REGISTER 0x08FFF80CU
|
||||
#define FLASH_SECTOR_TOTAL 16U /* 16 sectors */
|
||||
#define FLASH_SECTOR_SIZE 0x00002000UL /* 8 KB */
|
||||
#define FLASH_SIZE 0x00020000UL /* 128 KB */
|
||||
#define FLASH_SIZE ((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0xFFFFU)) ? 0x20000U : \
|
||||
((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0x0000U)) ? 0x20000U : \
|
||||
(((uint32_t)(*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0FFFU)) << 10U))) /* 128 KB */
|
||||
#define FLASH_BANK_SIZE FLASH_SIZE /* 128 KB */
|
||||
#define FLASH_LATENCY_DEFAULT FLASH_ACR_LATENCY_3WS /* FLASH Three Latency cycles */
|
||||
#define FLASH_NB_32BITWORD_IN_FLASHWORD 4U /* 128 bits */
|
||||
|
@ -8933,9 +9061,6 @@ typedef struct
|
|||
#define FLASH_OPTCR_OPTCHANGEERRIE_Pos (30U)
|
||||
#define FLASH_OPTCR_OPTCHANGEERRIE_Msk (0x1UL << FLASH_OPTCR_OPTCHANGEERRIE_Pos) /*!< 0x40000000 */
|
||||
#define FLASH_OPTCR_OPTCHANGEERRIE FLASH_OPTCR_OPTCHANGEERRIE_Msk /*!< Option byte change error interrupt enable bit */
|
||||
#define FLASH_OPTCR_SWAP_BANK_Pos (31U)
|
||||
#define FLASH_OPTCR_SWAP_BANK_Msk (0x1UL << FLASH_OPTCR_SWAP_BANK_Pos) /*!< 0x80000000 */
|
||||
#define FLASH_OPTCR_SWAP_BANK FLASH_OPTCR_SWAP_BANK_Msk /*!< Bank swapping option configuration bit */
|
||||
|
||||
/******************* Bits definition for FLASH_OPTSR register ***************/
|
||||
#define FLASH_OPTSR_OPT_BUSY_Pos (0U)
|
||||
|
@ -8981,9 +9106,6 @@ typedef struct
|
|||
#define FLASH_OPTSR_OPTCHANGEERR_Pos (30U)
|
||||
#define FLASH_OPTSR_OPTCHANGEERR_Msk (0x1UL << FLASH_OPTSR_OPTCHANGEERR_Pos) /*!< 0x40000000 */
|
||||
#define FLASH_OPTSR_OPTCHANGEERR FLASH_OPTSR_OPTCHANGEERR_Msk /*!< Option byte change error flag */
|
||||
#define FLASH_OPTSR_SWAP_BANK_OPT_Pos (31U)
|
||||
#define FLASH_OPTSR_SWAP_BANK_OPT_Msk (0x1UL << FLASH_OPTSR_SWAP_BANK_OPT_Pos) /*!< 0x80000000 */
|
||||
#define FLASH_OPTSR_SWAP_BANK_OPT FLASH_OPTSR_SWAP_BANK_OPT_Msk /*!< Bank swapping option status bit */
|
||||
|
||||
/******************* Bits definition for FLASH_OPTCCR register *******************/
|
||||
#define FLASH_OPTCCR_CLR_OPTCHANGEERR_Pos (30U)
|
||||
|
@ -9090,7 +9212,7 @@ typedef struct
|
|||
/****************** Bit definition for FMC_BCR1 register *******************/
|
||||
#define FMC_BCR1_CCLKEN_Pos (20U)
|
||||
#define FMC_BCR1_CCLKEN_Msk (0x1UL << FMC_BCR1_CCLKEN_Pos) /*!< 0x00100000 */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continous clock enable */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continuous clock enable */
|
||||
#define FMC_BCR1_WFDIS_Pos (21U)
|
||||
#define FMC_BCR1_WFDIS_Msk (0x1UL << FMC_BCR1_WFDIS_Pos) /*!< 0x00200000 */
|
||||
#define FMC_BCR1_WFDIS FMC_BCR1_WFDIS_Msk /*!<Write FIFO Disable */
|
||||
|
@ -9570,7 +9692,7 @@ typedef struct
|
|||
|
||||
#define FMC_SDRTR_REIE_Pos (14U)
|
||||
#define FMC_SDRTR_REIE_Msk (0x1UL << FMC_SDRTR_REIE_Pos) /*!< 0x00004000 */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interupt enable */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interrupt enable */
|
||||
|
||||
/****************** Bit definition for FMC_SDSR register ******************/
|
||||
#define FMC_SDSR_RE_Pos (0U)
|
||||
|
@ -9632,10 +9754,10 @@ typedef struct
|
|||
#define GFXMMU_CR_PD GFXMMU_CR_PD_Msk /*!< Prefetch Disable */
|
||||
#define GFXMMU_CR_OC_Pos (16U)
|
||||
#define GFXMMU_CR_OC_Msk (0x1UL << GFXMMU_CR_OC_Pos) /*!< 0x00002000 */
|
||||
#define GFXMMU_CR_OC GFXMMU_CR_OC_Msk /*!< Outter Cachability */
|
||||
#define GFXMMU_CR_OC GFXMMU_CR_OC_Msk /*!< Outer Cachability */
|
||||
#define GFXMMU_CR_OB_Pos (17U)
|
||||
#define GFXMMU_CR_OB_Msk (0x1UL << GFXMMU_CR_OB_Pos) /*!< 0x00002000 */
|
||||
#define GFXMMU_CR_OB GFXMMU_CR_OB_Msk /*!< Outter Bufferability */
|
||||
#define GFXMMU_CR_OB GFXMMU_CR_OB_Msk /*!< Outer Bufferability */
|
||||
|
||||
/****************** Bits definition for GFXMMU_SR register ********************/
|
||||
#define GFXMMU_SR_B0OF_Pos (0U)
|
||||
|
@ -11569,7 +11691,7 @@ typedef struct
|
|||
|
||||
#define LTDC_AWCR_AAH_Pos (0U)
|
||||
#define LTDC_AWCR_AAH_Msk (0x7FFUL << LTDC_AWCR_AAH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active heigh */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active height */
|
||||
#define LTDC_AWCR_AAW_Pos (16U)
|
||||
#define LTDC_AWCR_AAW_Msk (0xFFFUL << LTDC_AWCR_AAW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_AWCR_AAW LTDC_AWCR_AAW_Msk /*!< Accumulated Active Width */
|
||||
|
@ -11578,7 +11700,7 @@ typedef struct
|
|||
|
||||
#define LTDC_TWCR_TOTALH_Pos (0U)
|
||||
#define LTDC_TWCR_TOTALH_Msk (0x7FFUL << LTDC_TWCR_TOTALH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total Heigh */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total height */
|
||||
#define LTDC_TWCR_TOTALW_Pos (16U)
|
||||
#define LTDC_TWCR_TOTALW_Msk (0xFFFUL << LTDC_TWCR_TOTALW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_TWCR_TOTALW LTDC_TWCR_TOTALW_Msk /*!< Total Width */
|
||||
|
@ -11897,7 +12019,7 @@ typedef struct
|
|||
#define MDMA_CISR_TCIF MDMA_CISR_TCIF_Msk /*!< Channel x buffer transfer complete interrupt flag */
|
||||
#define MDMA_CISR_CRQA_Pos (16U)
|
||||
#define MDMA_CISR_CRQA_Msk (0x1UL << MDMA_CISR_CRQA_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x ReQest Active flag */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x request Active flag */
|
||||
|
||||
/******************** Bit definition for MDMA_CxIFCR register ****************/
|
||||
#define MDMA_CIFCR_CTEIF_Pos (0U)
|
||||
|
@ -11962,13 +12084,13 @@ typedef struct
|
|||
#define MDMA_CCR_PL_1 (0x2UL << MDMA_CCR_PL_Pos) /*!< 0x00000080 */
|
||||
#define MDMA_CCR_BEX_Pos (12U)
|
||||
#define MDMA_CCR_BEX_Msk (0x1UL << MDMA_CCR_BEX_Pos) /*!< 0x00001000 */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianess eXchange */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianness eXchange */
|
||||
#define MDMA_CCR_HEX_Pos (13U)
|
||||
#define MDMA_CCR_HEX_Msk (0x1UL << MDMA_CCR_HEX_Pos) /*!< 0x00002000 */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianess eXchange */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianness eXchange */
|
||||
#define MDMA_CCR_WEX_Pos (14U)
|
||||
#define MDMA_CCR_WEX_Msk (0x1UL << MDMA_CCR_WEX_Pos) /*!< 0x00004000 */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianess eXchange */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianness eXchange */
|
||||
#define MDMA_CCR_SWRQ_Pos (16U)
|
||||
#define MDMA_CCR_SWRQ_Msk (0x1UL << MDMA_CCR_SWRQ_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CCR_SWRQ MDMA_CCR_SWRQ_Msk /*!< SW ReQuest */
|
||||
|
@ -12024,7 +12146,7 @@ typedef struct
|
|||
#define MDMA_CTCR_PKE MDMA_CTCR_PKE_Msk /*!< PacK Enable */
|
||||
#define MDMA_CTCR_PAM_Pos (26U)
|
||||
#define MDMA_CTCR_PAM_Msk (0x3UL << MDMA_CTCR_PAM_Pos) /*!< 0x0C000000 */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignement Mode */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignment Mode */
|
||||
#define MDMA_CTCR_PAM_0 (0x1UL << MDMA_CTCR_PAM_Pos) /*!< 0x4000000 */
|
||||
#define MDMA_CTCR_PAM_1 (0x2UL << MDMA_CTCR_PAM_Pos) /*!< 0x8000000 */
|
||||
#define MDMA_CTCR_TRGM_Pos (28U)
|
||||
|
@ -20150,7 +20272,7 @@ typedef struct
|
|||
/******************* Bit definition for SWPMI_RDR register ********************/
|
||||
#define SWPMI_RDR_RD_Pos (0U)
|
||||
#define SWPMI_RDR_RD_Msk (0xFFFFFFFFUL << SWPMI_RDR_RD_Pos) /*!< 0xFFFFFFFF */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Recive Data Register */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Receive Data Register */
|
||||
|
||||
|
||||
/******************* Bit definition for SWPMI_OR register ********************/
|
||||
|
@ -22178,14 +22300,16 @@ typedef struct
|
|||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/****************************** SMBUS Instances *******************************/
|
||||
#define IS_SMBUS_ALL_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \
|
||||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/******************************** I2S Instances *******************************/
|
||||
#define IS_I2S_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -22205,9 +22329,6 @@ typedef struct
|
|||
#define IS_SDMMC_ALL_INSTANCE(_INSTANCE_) (((_INSTANCE_) == SDMMC1) || \
|
||||
((_INSTANCE_) == SDMMC2))
|
||||
|
||||
/******************************** SMBUS Instances *****************************/
|
||||
#define IS_SMBUS_INSTANCE(INSTANCE) ((INSTANCE) == I2C1)
|
||||
|
||||
/******************************** SPI Instances *******************************/
|
||||
#define IS_SPI_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -22384,6 +22505,7 @@ typedef struct
|
|||
((INSTANCE) == TIM6) || \
|
||||
((INSTANCE) == TIM7) || \
|
||||
((INSTANCE) == TIM8) || \
|
||||
((INSTANCE) == TIM12) || \
|
||||
((INSTANCE) == TIM15))
|
||||
|
||||
/****** TIM Instances : Salve mode available (TIMx_SMCR.TS available )*********/
|
||||
|
|
|
@ -654,7 +654,7 @@ typedef struct
|
|||
__IO uint32_t CBRUR; /*!< MDMA channel x Block Repeat address Update register, Address offset: 0x60 */
|
||||
__IO uint32_t CLAR; /*!< MDMA channel x Link Address register, Address offset: 0x64 */
|
||||
__IO uint32_t CTBR; /*!< MDMA channel x Trigger and Bus selection Register, Address offset: 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x6C */
|
||||
__IO uint32_t CMAR; /*!< MDMA channel x Mask address register, Address offset: 0x70 */
|
||||
__IO uint32_t CMDR; /*!< MDMA channel x Mask Data register, Address offset: 0x74 */
|
||||
}MDMA_Channel_TypeDef;
|
||||
|
@ -731,6 +731,15 @@ __IO uint32_t EMR3; /*!< EXTI Event mask register,
|
|||
__IO uint32_t PR3; /*!< EXTI Pending register, Address offset: 0xA8 */
|
||||
}EXTI_TypeDef;
|
||||
|
||||
/**
|
||||
* @brief This structure registers corresponds to EXTI_Typdef CPU1/CPU2 registers subset (IMRx, EMRx and PRx), allowing to define EXTI_D1/EXTI_D2
|
||||
* with rapid/common access to these IMRx, EMRx, PRx registers for CPU1 and CPU2.
|
||||
* Note that EXTI_D1 and EXTI_D2 bases addresses are calculated to point to CPUx first register:
|
||||
* IMR1 in case of EXTI_D1 that is addressing CPU1 (Coretx-M7)
|
||||
* C2IMR1 in case of EXTI_D2 that is addressing CPU2 (Coretx-M4)
|
||||
* Note: EXTI_D2 and corresponding C2IMRx, C2EMRx and C2PRx registers are available for Dual Core devices only
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
__IO uint32_t IMR1; /*!< EXTI Interrupt mask register, Address offset: 0x00 */
|
||||
|
@ -1930,6 +1939,117 @@ typedef struct
|
|||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Global Programmer View
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint32_t RESERVED0[2036]; /*!< Reserved, Address offset: 0x00-0x1FCC */
|
||||
__IO uint32_t AXI_PERIPH_ID_4; /*!< AXI interconnect - peripheral ID4 register, Address offset: 0x1FD0 */
|
||||
uint32_t AXI_PERIPH_ID_5; /*!< Reserved, Address offset: 0x1FD4 */
|
||||
uint32_t AXI_PERIPH_ID_6; /*!< Reserved, Address offset: 0x1FD8 */
|
||||
uint32_t AXI_PERIPH_ID_7; /*!< Reserved, Address offset: 0x1FDC */
|
||||
__IO uint32_t AXI_PERIPH_ID_0; /*!< AXI interconnect - peripheral ID0 register, Address offset: 0x1FE0 */
|
||||
__IO uint32_t AXI_PERIPH_ID_1; /*!< AXI interconnect - peripheral ID1 register, Address offset: 0x1FE4 */
|
||||
__IO uint32_t AXI_PERIPH_ID_2; /*!< AXI interconnect - peripheral ID2 register, Address offset: 0x1FE8 */
|
||||
__IO uint32_t AXI_PERIPH_ID_3; /*!< AXI interconnect - peripheral ID3 register, Address offset: 0x1FEC */
|
||||
__IO uint32_t AXI_COMP_ID_0; /*!< AXI interconnect - component ID0 register, Address offset: 0x1FF0 */
|
||||
__IO uint32_t AXI_COMP_ID_1; /*!< AXI interconnect - component ID1 register, Address offset: 0x1FF4 */
|
||||
__IO uint32_t AXI_COMP_ID_2; /*!< AXI interconnect - component ID2 register, Address offset: 0x1FF8 */
|
||||
__IO uint32_t AXI_COMP_ID_3; /*!< AXI interconnect - component ID3 register, Address offset: 0x1FFC */
|
||||
uint32_t RESERVED1[2]; /*!< Reserved, Address offset: 0x2000-0x2004 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 1 bus matrix issuing functionality register, Address offset: 0x2008 */
|
||||
uint32_t RESERVED2[6]; /*!< Reserved, Address offset: 0x200C-0x2020 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD2; /*!< AXI interconnect - TARG 1 bus matrix functionality 2 register, Address offset: 0x2024 */
|
||||
uint32_t RESERVED3; /*!< Reserved, Address offset: 0x2028 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_LB; /*!< AXI interconnect - TARG 1 long burst functionality modification register, Address offset: 0x202C */
|
||||
uint32_t RESERVED4[54]; /*!< Reserved, Address offset: 0x2030-0x2104 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD; /*!< AXI interconnect - TARG 1 issuing functionality modification register, Address offset: 0x2108 */
|
||||
uint32_t RESERVED5[959]; /*!< Reserved, Address offset: 0x210C-0x3004 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 2 bus matrix issuing functionality register, Address offset: 0x3008 */
|
||||
uint32_t RESERVED6[6]; /*!< Reserved, Address offset: 0x300C-0x3020 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD2; /*!< AXI interconnect - TARG 2 bus matrix functionality 2 register, Address offset: 0x3024 */
|
||||
uint32_t RESERVED7; /*!< Reserved, Address offset: 0x3028 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_LB; /*!< AXI interconnect - TARG 2 long burst functionality modification register, Address offset: 0x302C */
|
||||
uint32_t RESERVED8[54]; /*!< Reserved, Address offset: 0x3030-0x3104 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD; /*!< AXI interconnect - TARG 2 issuing functionality modification register, Address offset: 0x3108 */
|
||||
uint32_t RESERVED9[959]; /*!< Reserved, Address offset: 0x310C-0x4004 */
|
||||
__IO uint32_t AXI_TARG3_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 3 bus matrix issuing functionality register, Address offset: 0x4008 */
|
||||
uint32_t RESERVED10[1023]; /*!< Reserved, Address offset: 0x400C-0x5004 */
|
||||
__IO uint32_t AXI_TARG4_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 4 bus matrix issuing functionality register, Address offset: 0x5008 */
|
||||
uint32_t RESERVED11[1023]; /*!< Reserved, Address offset: 0x500C-0x6004 */
|
||||
__IO uint32_t AXI_TARG5_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 5 bus matrix issuing functionality register, Address offset: 0x6008 */
|
||||
uint32_t RESERVED12[1023]; /*!< Reserved, Address offset: 0x600C-0x7004 */
|
||||
__IO uint32_t AXI_TARG6_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 6 bus matrix issuing functionality register, Address offset: 0x7008 */
|
||||
uint32_t RESERVED13[1023]; /*!< Reserved, Address offset: 0x700C-0x8004 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 7 bus matrix issuing functionality register, Address offset: 0x8008 */
|
||||
uint32_t RESERVED14[6]; /*!< Reserved, Address offset: 0x800C-0x8020 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD2; /*!< AXI interconnect - TARG 7 bus matrix functionality 2 register, Address offset: 0x8024 */
|
||||
uint32_t RESERVED15; /*!< Reserved, Address offset: 0x8028 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_LB; /*!< AXI interconnect - TARG 7 long burst functionality modification register, Address offset: 0x802C */
|
||||
uint32_t RESERVED16[54]; /*!< Reserved, Address offset: 0x8030-0x8104 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD; /*!< AXI interconnect - TARG 7 issuing functionality modification register, Address offset: 0x8108 */
|
||||
uint32_t RESERVED17[959]; /*!< Reserved, Address offset: 0x810C-0x9004 */
|
||||
__IO uint32_t AXI_TARG8_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 8 bus matrix issuing functionality register, Address offset: 0x9008 */
|
||||
uint32_t RESERVED117[6]; /*!< Reserved, Address offset: 0x900C-0x9020 */
|
||||
__IO uint32_t AXI_TARG8_FN_MOD2; /*!< AXI interconnect - TARG 8 bus matrix functionality 2 register, Address offset: 0x9024 */
|
||||
uint32_t RESERVED118[56]; /*!< Reserved, Address offset: 0x9028-0x9104 */
|
||||
__IO uint32_t AXI_TARG8_FN_MOD; /*!< AXI interconnect - TARG 8 issuing functionality modification register, Address offset: 0x9108 */
|
||||
uint32_t RESERVED119[959]; /*!< Reserved, Address offset: 0x910C-0xA004 */
|
||||
__IO uint32_t AXI_TARG9_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 9 bus matrix issuing functionality register, Address offset: 0xA008 */
|
||||
uint32_t RESERVED120[6]; /*!< Reserved, Address offset: 0xA00C-0xA020 */
|
||||
__IO uint32_t AXI_TARG9_FN_MOD2; /*!< AXI interconnect - TARG 9 bus matrix functionality 2 register, Address offset: 0xA024 */
|
||||
uint32_t RESERVED121[56]; /*!< Reserved, Address offset: 0xA028-0xA104 */
|
||||
__IO uint32_t AXI_TARG9_FN_MOD; /*!< AXI interconnect - TARG 9 issuing functionality modification register, Address offset: 0xA108 */
|
||||
uint32_t RESERVED122[959]; /*!< Reserved, Address offset: 0xA10C-0xB004 */
|
||||
__IO uint32_t AXI_TARG10_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 10 bus matrix issuing functionality register, Address offset: 0xB008 */
|
||||
uint32_t RESERVED123[6]; /*!< Reserved, Address offset: 0xB00C-0xB020 */
|
||||
__IO uint32_t AXI_TARG10_FN_MOD2; /*!< AXI interconnect - TARG 10 bus matrix functionality 2 register, Address offset: 0xB024 */
|
||||
uint32_t RESERVED124[56]; /*!< Reserved, Address offset: 0xB028-0xB104 */
|
||||
__IO uint32_t AXI_TARG10_FN_MOD; /*!< AXI interconnect - TARG 10 issuing functionality modification register, Address offset: 0xB108 */
|
||||
uint32_t RESERVED125[968]; /*!< Reserved, Address offset: 0xB10C-0xC028 */
|
||||
__IO uint32_t AXI_TARG10_FN_MOD_LB; /*!< AXI interconnect - TARG 10 long burst functionality modification register, Address offset: 0xC02C */
|
||||
uint32_t RESERVED126[55293]; /*!< Reserved, Address offset: 0xC030-0xC104 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD2; /*!< AXI interconnect - INI 1 functionality modification 2 register, Address offset: 0x42024 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD_AHB; /*!< AXI interconnect - INI 1 AHB functionality modification register, Address offset: 0x42028 */
|
||||
uint32_t RESERVED18[53]; /*!< Reserved, Address offset: 0x4202C-0x420FC */
|
||||
__IO uint32_t AXI_INI1_READ_QOS; /*!< AXI interconnect - INI 1 read QoS register, Address offset: 0x42100 */
|
||||
__IO uint32_t AXI_INI1_WRITE_QOS; /*!< AXI interconnect - INI 1 write QoS register, Address offset: 0x42104 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD; /*!< AXI interconnect - INI 1 issuing functionality modification register, Address offset: 0x42108 */
|
||||
uint32_t RESERVED19[1021]; /*!< Reserved, Address offset: 0x4210C-0x430FC */
|
||||
__IO uint32_t AXI_INI2_READ_QOS; /*!< AXI interconnect - INI 2 read QoS register, Address offset: 0x43100 */
|
||||
__IO uint32_t AXI_INI2_WRITE_QOS; /*!< AXI interconnect - INI 2 write QoS register, Address offset: 0x43104 */
|
||||
__IO uint32_t AXI_INI2_FN_MOD; /*!< AXI interconnect - INI 2 issuing functionality modification register, Address offset: 0x43108 */
|
||||
uint32_t RESERVED20[966]; /*!< Reserved, Address offset: 0x4310C-0x44020 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD2; /*!< AXI interconnect - INI 3 functionality modification 2 register, Address offset: 0x44024 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD_AHB; /*!< AXI interconnect - INI 3 AHB functionality modification register, Address offset: 0x44028 */
|
||||
uint32_t RESERVED21[53]; /*!< Reserved, Address offset: 0x4402C-0x440FC */
|
||||
__IO uint32_t AXI_INI3_READ_QOS; /*!< AXI interconnect - INI 3 read QoS register, Address offset: 0x44100 */
|
||||
__IO uint32_t AXI_INI3_WRITE_QOS; /*!< AXI interconnect - INI 3 write QoS register, Address offset: 0x44104 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD; /*!< AXI interconnect - INI 3 issuing functionality modification register, Address offset: 0x44108 */
|
||||
uint32_t RESERVED22[1021]; /*!< Reserved, Address offset: 0x4410C-0x450FC */
|
||||
__IO uint32_t AXI_INI4_READ_QOS; /*!< AXI interconnect - INI 4 read QoS register, Address offset: 0x45100 */
|
||||
__IO uint32_t AXI_INI4_WRITE_QOS; /*!< AXI interconnect - INI 4 write QoS register, Address offset: 0x45104 */
|
||||
__IO uint32_t AXI_INI4_FN_MOD; /*!< AXI interconnect - INI 4 issuing functionality modification register, Address offset: 0x45108 */
|
||||
uint32_t RESERVED23[1021]; /*!< Reserved, Address offset: 0x4510C-0x460FC */
|
||||
__IO uint32_t AXI_INI5_READ_QOS; /*!< AXI interconnect - INI 5 read QoS register, Address offset: 0x46100 */
|
||||
__IO uint32_t AXI_INI5_WRITE_QOS; /*!< AXI interconnect - INI 5 write QoS register, Address offset: 0x46104 */
|
||||
__IO uint32_t AXI_INI5_FN_MOD; /*!< AXI interconnect - INI 5 issuing functionality modification register, Address offset: 0x46108 */
|
||||
uint32_t RESERVED24[1021]; /*!< Reserved, Address offset: 0x4610C-0x470FC */
|
||||
__IO uint32_t AXI_INI6_READ_QOS; /*!< AXI interconnect - INI 6 read QoS register, Address offset: 0x47100 */
|
||||
__IO uint32_t AXI_INI6_WRITE_QOS; /*!< AXI interconnect - INI 6 write QoS register, Address offset: 0x47104 */
|
||||
__IO uint32_t AXI_INI6_FN_MOD; /*!< AXI interconnect - INI 6 issuing functionality modification register, Address offset: 0x47108 */
|
||||
uint32_t RESERVED25[966]; /*!< Reserved, Address offset: 0x4710C-0x48020 */
|
||||
__IO uint32_t AXI_INI7_FN_MOD2; /*!< AXI interconnect - INI 7 functionality modification 2 register, Address offset: 0x48024 */
|
||||
__IO uint32_t AXI_INI7_FN_MOD_AHB; /*!< AXI interconnect - INI 7 AHB functionality modification register, Address offset: 0x48028 */
|
||||
uint32_t RESERVED26[53]; /*!< Reserved, Address offset: 0x4802C-0x480FC */
|
||||
__IO uint32_t AXI_INI7_READ_QOS; /*!< AXI interconnect - INI 7 read QoS register, Address offset: 0x48100 */
|
||||
__IO uint32_t AXI_INI7_WRITE_QOS; /*!< AXI interconnect - INI 7 write QoS register, Address offset: 0x48104 */
|
||||
__IO uint32_t AXI_INI7_FN_MOD; /*!< AXI interconnect - INI 7 issuing functionality modification register, Address offset: 0x48108 */
|
||||
|
||||
} GPV_TypeDef;
|
||||
|
||||
/** @addtogroup Peripheral_memory_map
|
||||
* @{
|
||||
*/
|
||||
|
@ -2301,6 +2421,9 @@ typedef struct
|
|||
#define RAMECC_Monitor2_BASE (RAMECC_BASE + 0x40UL)
|
||||
#define RAMECC_Monitor3_BASE (RAMECC_BASE + 0x60UL)
|
||||
|
||||
|
||||
#define GPV_BASE (PERIPH_BASE + 0x11000000UL) /*!< GPV_BASE (PERIPH_BASE + 0x11000000UL) */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -2598,6 +2721,8 @@ typedef struct
|
|||
#define USB_OTG_HS USB1_OTG_HS
|
||||
#define USB_OTG_HS_PERIPH_BASE USB1_OTG_HS_PERIPH_BASE
|
||||
|
||||
#define GPV ((GPV_TypeDef *) GPV_BASE)
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -3070,7 +3195,7 @@ typedef struct
|
|||
/******************** Bit definition for ADC_SQR1 register ********************/
|
||||
#define ADC_SQR1_L_Pos (0U)
|
||||
#define ADC_SQR1_L_Msk (0xFUL << ADC_SQR1_L_Pos) /*!< 0x0000000F */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence lenght */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence length */
|
||||
#define ADC_SQR1_L_0 (0x1UL << ADC_SQR1_L_Pos) /*!< 0x00000001 */
|
||||
#define ADC_SQR1_L_1 (0x2UL << ADC_SQR1_L_Pos) /*!< 0x00000002 */
|
||||
#define ADC_SQR1_L_2 (0x4UL << ADC_SQR1_L_Pos) /*!< 0x00000004 */
|
||||
|
@ -3950,7 +4075,7 @@ typedef struct
|
|||
/***************** Bit definition for FDCAN_ENDN register *******************/
|
||||
#define FDCAN_ENDN_ETV_Pos (0U)
|
||||
#define FDCAN_ENDN_ETV_Msk (0xFFFFFFFFUL << FDCAN_ENDN_ETV_Pos) /*!< 0xFFFFFFFF */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endiannes Test Value */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endianness Test Value */
|
||||
|
||||
/***************** Bit definition for FDCAN_DBTP register *******************/
|
||||
#define FDCAN_DBTP_DSJW_Pos (0U)
|
||||
|
@ -4077,7 +4202,7 @@ typedef struct
|
|||
|
||||
/***************** Bit definition for FDCAN_ECR register *********************/
|
||||
#define FDCAN_ECR_TEC_Pos (0U)
|
||||
#define FDCAN_ECR_TEC_Msk (0xFUL << FDCAN_ECR_TEC_Pos) /*!< 0x0000000F */
|
||||
#define FDCAN_ECR_TEC_Msk (0xFFUL << FDCAN_ECR_TEC_Pos) /*!< 0x000000FF */
|
||||
#define FDCAN_ECR_TEC FDCAN_ECR_TEC_Msk /*!<Transmit Error Counter */
|
||||
#define FDCAN_ECR_REC_Pos (8U)
|
||||
#define FDCAN_ECR_REC_Msk (0x7FUL << FDCAN_ECR_REC_Pos) /*!< 0x00007F00 */
|
||||
|
@ -8735,8 +8860,11 @@ typedef struct
|
|||
/*
|
||||
* @brief FLASH Global Defines
|
||||
*/
|
||||
#define FLASH_SIZE_DATA_REGISTER 0x08FFF80CU
|
||||
#define FLASH_SECTOR_TOTAL 128U /* 128 sectors */
|
||||
#define FLASH_SIZE 0x200000UL /* 2 MB */
|
||||
#define FLASH_SIZE ((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0xFFFFU)) ? 0x200000U : \
|
||||
((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0x0000U)) ? 0x200000U : \
|
||||
(((uint32_t)(*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0FFFU)) << 10U))) /* 2 MB */
|
||||
#define FLASH_BANK_SIZE (FLASH_SIZE >> 1) /* 1 MB */
|
||||
#define FLASH_SECTOR_SIZE 0x00002000UL /* 8 KB */
|
||||
#define FLASH_LATENCY_DEFAULT FLASH_ACR_LATENCY_3WS /* FLASH Three Latency cycles */
|
||||
|
@ -9090,7 +9218,7 @@ typedef struct
|
|||
/****************** Bit definition for FMC_BCR1 register *******************/
|
||||
#define FMC_BCR1_CCLKEN_Pos (20U)
|
||||
#define FMC_BCR1_CCLKEN_Msk (0x1UL << FMC_BCR1_CCLKEN_Pos) /*!< 0x00100000 */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continous clock enable */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continuous clock enable */
|
||||
#define FMC_BCR1_WFDIS_Pos (21U)
|
||||
#define FMC_BCR1_WFDIS_Msk (0x1UL << FMC_BCR1_WFDIS_Pos) /*!< 0x00200000 */
|
||||
#define FMC_BCR1_WFDIS FMC_BCR1_WFDIS_Msk /*!<Write FIFO Disable */
|
||||
|
@ -9570,7 +9698,7 @@ typedef struct
|
|||
|
||||
#define FMC_SDRTR_REIE_Pos (14U)
|
||||
#define FMC_SDRTR_REIE_Msk (0x1UL << FMC_SDRTR_REIE_Pos) /*!< 0x00004000 */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interupt enable */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interrupt enable */
|
||||
|
||||
/****************** Bit definition for FMC_SDSR register ******************/
|
||||
#define FMC_SDSR_RE_Pos (0U)
|
||||
|
@ -9632,10 +9760,10 @@ typedef struct
|
|||
#define GFXMMU_CR_PD GFXMMU_CR_PD_Msk /*!< Prefetch Disable */
|
||||
#define GFXMMU_CR_OC_Pos (16U)
|
||||
#define GFXMMU_CR_OC_Msk (0x1UL << GFXMMU_CR_OC_Pos) /*!< 0x00002000 */
|
||||
#define GFXMMU_CR_OC GFXMMU_CR_OC_Msk /*!< Outter Cachability */
|
||||
#define GFXMMU_CR_OC GFXMMU_CR_OC_Msk /*!< Outer Cachability */
|
||||
#define GFXMMU_CR_OB_Pos (17U)
|
||||
#define GFXMMU_CR_OB_Msk (0x1UL << GFXMMU_CR_OB_Pos) /*!< 0x00002000 */
|
||||
#define GFXMMU_CR_OB GFXMMU_CR_OB_Msk /*!< Outter Bufferability */
|
||||
#define GFXMMU_CR_OB GFXMMU_CR_OB_Msk /*!< Outer Bufferability */
|
||||
|
||||
/****************** Bits definition for GFXMMU_SR register ********************/
|
||||
#define GFXMMU_SR_B0OF_Pos (0U)
|
||||
|
@ -11569,7 +11697,7 @@ typedef struct
|
|||
|
||||
#define LTDC_AWCR_AAH_Pos (0U)
|
||||
#define LTDC_AWCR_AAH_Msk (0x7FFUL << LTDC_AWCR_AAH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active heigh */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active height */
|
||||
#define LTDC_AWCR_AAW_Pos (16U)
|
||||
#define LTDC_AWCR_AAW_Msk (0xFFFUL << LTDC_AWCR_AAW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_AWCR_AAW LTDC_AWCR_AAW_Msk /*!< Accumulated Active Width */
|
||||
|
@ -11578,7 +11706,7 @@ typedef struct
|
|||
|
||||
#define LTDC_TWCR_TOTALH_Pos (0U)
|
||||
#define LTDC_TWCR_TOTALH_Msk (0x7FFUL << LTDC_TWCR_TOTALH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total Heigh */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total height */
|
||||
#define LTDC_TWCR_TOTALW_Pos (16U)
|
||||
#define LTDC_TWCR_TOTALW_Msk (0xFFFUL << LTDC_TWCR_TOTALW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_TWCR_TOTALW LTDC_TWCR_TOTALW_Msk /*!< Total Width */
|
||||
|
@ -11897,7 +12025,7 @@ typedef struct
|
|||
#define MDMA_CISR_TCIF MDMA_CISR_TCIF_Msk /*!< Channel x buffer transfer complete interrupt flag */
|
||||
#define MDMA_CISR_CRQA_Pos (16U)
|
||||
#define MDMA_CISR_CRQA_Msk (0x1UL << MDMA_CISR_CRQA_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x ReQest Active flag */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x request Active flag */
|
||||
|
||||
/******************** Bit definition for MDMA_CxIFCR register ****************/
|
||||
#define MDMA_CIFCR_CTEIF_Pos (0U)
|
||||
|
@ -11962,13 +12090,13 @@ typedef struct
|
|||
#define MDMA_CCR_PL_1 (0x2UL << MDMA_CCR_PL_Pos) /*!< 0x00000080 */
|
||||
#define MDMA_CCR_BEX_Pos (12U)
|
||||
#define MDMA_CCR_BEX_Msk (0x1UL << MDMA_CCR_BEX_Pos) /*!< 0x00001000 */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianess eXchange */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianness eXchange */
|
||||
#define MDMA_CCR_HEX_Pos (13U)
|
||||
#define MDMA_CCR_HEX_Msk (0x1UL << MDMA_CCR_HEX_Pos) /*!< 0x00002000 */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianess eXchange */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianness eXchange */
|
||||
#define MDMA_CCR_WEX_Pos (14U)
|
||||
#define MDMA_CCR_WEX_Msk (0x1UL << MDMA_CCR_WEX_Pos) /*!< 0x00004000 */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianess eXchange */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianness eXchange */
|
||||
#define MDMA_CCR_SWRQ_Pos (16U)
|
||||
#define MDMA_CCR_SWRQ_Msk (0x1UL << MDMA_CCR_SWRQ_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CCR_SWRQ MDMA_CCR_SWRQ_Msk /*!< SW ReQuest */
|
||||
|
@ -12024,7 +12152,7 @@ typedef struct
|
|||
#define MDMA_CTCR_PKE MDMA_CTCR_PKE_Msk /*!< PacK Enable */
|
||||
#define MDMA_CTCR_PAM_Pos (26U)
|
||||
#define MDMA_CTCR_PAM_Msk (0x3UL << MDMA_CTCR_PAM_Pos) /*!< 0x0C000000 */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignement Mode */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignment Mode */
|
||||
#define MDMA_CTCR_PAM_0 (0x1UL << MDMA_CTCR_PAM_Pos) /*!< 0x4000000 */
|
||||
#define MDMA_CTCR_PAM_1 (0x2UL << MDMA_CTCR_PAM_Pos) /*!< 0x8000000 */
|
||||
#define MDMA_CTCR_TRGM_Pos (28U)
|
||||
|
@ -20139,7 +20267,7 @@ typedef struct
|
|||
/******************* Bit definition for SWPMI_RDR register ********************/
|
||||
#define SWPMI_RDR_RD_Pos (0U)
|
||||
#define SWPMI_RDR_RD_Msk (0xFFFFFFFFUL << SWPMI_RDR_RD_Pos) /*!< 0xFFFFFFFF */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Recive Data Register */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Receive Data Register */
|
||||
|
||||
|
||||
/******************* Bit definition for SWPMI_OR register ********************/
|
||||
|
@ -22167,14 +22295,16 @@ typedef struct
|
|||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/****************************** SMBUS Instances *******************************/
|
||||
#define IS_SMBUS_ALL_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \
|
||||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/******************************** I2S Instances *******************************/
|
||||
#define IS_I2S_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -22194,9 +22324,6 @@ typedef struct
|
|||
#define IS_SDMMC_ALL_INSTANCE(_INSTANCE_) (((_INSTANCE_) == SDMMC1) || \
|
||||
((_INSTANCE_) == SDMMC2))
|
||||
|
||||
/******************************** SMBUS Instances *****************************/
|
||||
#define IS_SMBUS_INSTANCE(INSTANCE) ((INSTANCE) == I2C1)
|
||||
|
||||
/******************************** SPI Instances *******************************/
|
||||
#define IS_SPI_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -22373,6 +22500,7 @@ typedef struct
|
|||
((INSTANCE) == TIM6) || \
|
||||
((INSTANCE) == TIM7) || \
|
||||
((INSTANCE) == TIM8) || \
|
||||
((INSTANCE) == TIM12) || \
|
||||
((INSTANCE) == TIM15))
|
||||
|
||||
/****** TIM Instances : Salve mode available (TIMx_SMCR.TS available )*********/
|
||||
|
|
|
@ -655,7 +655,7 @@ typedef struct
|
|||
__IO uint32_t CBRUR; /*!< MDMA channel x Block Repeat address Update register, Address offset: 0x60 */
|
||||
__IO uint32_t CLAR; /*!< MDMA channel x Link Address register, Address offset: 0x64 */
|
||||
__IO uint32_t CTBR; /*!< MDMA channel x Trigger and Bus selection Register, Address offset: 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x68 */
|
||||
uint32_t RESERVED0; /*!< Reserved, 0x6C */
|
||||
__IO uint32_t CMAR; /*!< MDMA channel x Mask address register, Address offset: 0x70 */
|
||||
__IO uint32_t CMDR; /*!< MDMA channel x Mask Data register, Address offset: 0x74 */
|
||||
}MDMA_Channel_TypeDef;
|
||||
|
@ -732,6 +732,15 @@ __IO uint32_t EMR3; /*!< EXTI Event mask register,
|
|||
__IO uint32_t PR3; /*!< EXTI Pending register, Address offset: 0xA8 */
|
||||
}EXTI_TypeDef;
|
||||
|
||||
/**
|
||||
* @brief This structure registers corresponds to EXTI_Typdef CPU1/CPU2 registers subset (IMRx, EMRx and PRx), allowing to define EXTI_D1/EXTI_D2
|
||||
* with rapid/common access to these IMRx, EMRx, PRx registers for CPU1 and CPU2.
|
||||
* Note that EXTI_D1 and EXTI_D2 bases addresses are calculated to point to CPUx first register:
|
||||
* IMR1 in case of EXTI_D1 that is addressing CPU1 (Coretx-M7)
|
||||
* C2IMR1 in case of EXTI_D2 that is addressing CPU2 (Coretx-M4)
|
||||
* Note: EXTI_D2 and corresponding C2IMRx, C2EMRx and C2PRx registers are available for Dual Core devices only
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
__IO uint32_t IMR1; /*!< EXTI Interrupt mask register, Address offset: 0x00 */
|
||||
|
@ -1931,6 +1940,117 @@ typedef struct
|
|||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Global Programmer View
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint32_t RESERVED0[2036]; /*!< Reserved, Address offset: 0x00-0x1FCC */
|
||||
__IO uint32_t AXI_PERIPH_ID_4; /*!< AXI interconnect - peripheral ID4 register, Address offset: 0x1FD0 */
|
||||
uint32_t AXI_PERIPH_ID_5; /*!< Reserved, Address offset: 0x1FD4 */
|
||||
uint32_t AXI_PERIPH_ID_6; /*!< Reserved, Address offset: 0x1FD8 */
|
||||
uint32_t AXI_PERIPH_ID_7; /*!< Reserved, Address offset: 0x1FDC */
|
||||
__IO uint32_t AXI_PERIPH_ID_0; /*!< AXI interconnect - peripheral ID0 register, Address offset: 0x1FE0 */
|
||||
__IO uint32_t AXI_PERIPH_ID_1; /*!< AXI interconnect - peripheral ID1 register, Address offset: 0x1FE4 */
|
||||
__IO uint32_t AXI_PERIPH_ID_2; /*!< AXI interconnect - peripheral ID2 register, Address offset: 0x1FE8 */
|
||||
__IO uint32_t AXI_PERIPH_ID_3; /*!< AXI interconnect - peripheral ID3 register, Address offset: 0x1FEC */
|
||||
__IO uint32_t AXI_COMP_ID_0; /*!< AXI interconnect - component ID0 register, Address offset: 0x1FF0 */
|
||||
__IO uint32_t AXI_COMP_ID_1; /*!< AXI interconnect - component ID1 register, Address offset: 0x1FF4 */
|
||||
__IO uint32_t AXI_COMP_ID_2; /*!< AXI interconnect - component ID2 register, Address offset: 0x1FF8 */
|
||||
__IO uint32_t AXI_COMP_ID_3; /*!< AXI interconnect - component ID3 register, Address offset: 0x1FFC */
|
||||
uint32_t RESERVED1[2]; /*!< Reserved, Address offset: 0x2000-0x2004 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 1 bus matrix issuing functionality register, Address offset: 0x2008 */
|
||||
uint32_t RESERVED2[6]; /*!< Reserved, Address offset: 0x200C-0x2020 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD2; /*!< AXI interconnect - TARG 1 bus matrix functionality 2 register, Address offset: 0x2024 */
|
||||
uint32_t RESERVED3; /*!< Reserved, Address offset: 0x2028 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD_LB; /*!< AXI interconnect - TARG 1 long burst functionality modification register, Address offset: 0x202C */
|
||||
uint32_t RESERVED4[54]; /*!< Reserved, Address offset: 0x2030-0x2104 */
|
||||
__IO uint32_t AXI_TARG1_FN_MOD; /*!< AXI interconnect - TARG 1 issuing functionality modification register, Address offset: 0x2108 */
|
||||
uint32_t RESERVED5[959]; /*!< Reserved, Address offset: 0x210C-0x3004 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 2 bus matrix issuing functionality register, Address offset: 0x3008 */
|
||||
uint32_t RESERVED6[6]; /*!< Reserved, Address offset: 0x300C-0x3020 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD2; /*!< AXI interconnect - TARG 2 bus matrix functionality 2 register, Address offset: 0x3024 */
|
||||
uint32_t RESERVED7; /*!< Reserved, Address offset: 0x3028 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD_LB; /*!< AXI interconnect - TARG 2 long burst functionality modification register, Address offset: 0x302C */
|
||||
uint32_t RESERVED8[54]; /*!< Reserved, Address offset: 0x3030-0x3104 */
|
||||
__IO uint32_t AXI_TARG2_FN_MOD; /*!< AXI interconnect - TARG 2 issuing functionality modification register, Address offset: 0x3108 */
|
||||
uint32_t RESERVED9[959]; /*!< Reserved, Address offset: 0x310C-0x4004 */
|
||||
__IO uint32_t AXI_TARG3_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 3 bus matrix issuing functionality register, Address offset: 0x4008 */
|
||||
uint32_t RESERVED10[1023]; /*!< Reserved, Address offset: 0x400C-0x5004 */
|
||||
__IO uint32_t AXI_TARG4_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 4 bus matrix issuing functionality register, Address offset: 0x5008 */
|
||||
uint32_t RESERVED11[1023]; /*!< Reserved, Address offset: 0x500C-0x6004 */
|
||||
__IO uint32_t AXI_TARG5_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 5 bus matrix issuing functionality register, Address offset: 0x6008 */
|
||||
uint32_t RESERVED12[1023]; /*!< Reserved, Address offset: 0x600C-0x7004 */
|
||||
__IO uint32_t AXI_TARG6_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 6 bus matrix issuing functionality register, Address offset: 0x7008 */
|
||||
uint32_t RESERVED13[1023]; /*!< Reserved, Address offset: 0x700C-0x8004 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 7 bus matrix issuing functionality register, Address offset: 0x8008 */
|
||||
uint32_t RESERVED14[6]; /*!< Reserved, Address offset: 0x800C-0x8020 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD2; /*!< AXI interconnect - TARG 7 bus matrix functionality 2 register, Address offset: 0x8024 */
|
||||
uint32_t RESERVED15; /*!< Reserved, Address offset: 0x8028 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD_LB; /*!< AXI interconnect - TARG 7 long burst functionality modification register, Address offset: 0x802C */
|
||||
uint32_t RESERVED16[54]; /*!< Reserved, Address offset: 0x8030-0x8104 */
|
||||
__IO uint32_t AXI_TARG7_FN_MOD; /*!< AXI interconnect - TARG 7 issuing functionality modification register, Address offset: 0x8108 */
|
||||
uint32_t RESERVED17[959]; /*!< Reserved, Address offset: 0x810C-0x9004 */
|
||||
__IO uint32_t AXI_TARG8_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 8 bus matrix issuing functionality register, Address offset: 0x9008 */
|
||||
uint32_t RESERVED117[6]; /*!< Reserved, Address offset: 0x900C-0x9020 */
|
||||
__IO uint32_t AXI_TARG8_FN_MOD2; /*!< AXI interconnect - TARG 8 bus matrix functionality 2 register, Address offset: 0x9024 */
|
||||
uint32_t RESERVED118[56]; /*!< Reserved, Address offset: 0x9028-0x9104 */
|
||||
__IO uint32_t AXI_TARG8_FN_MOD; /*!< AXI interconnect - TARG 8 issuing functionality modification register, Address offset: 0x9108 */
|
||||
uint32_t RESERVED119[959]; /*!< Reserved, Address offset: 0x910C-0xA004 */
|
||||
__IO uint32_t AXI_TARG9_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 9 bus matrix issuing functionality register, Address offset: 0xA008 */
|
||||
uint32_t RESERVED120[6]; /*!< Reserved, Address offset: 0xA00C-0xA020 */
|
||||
__IO uint32_t AXI_TARG9_FN_MOD2; /*!< AXI interconnect - TARG 9 bus matrix functionality 2 register, Address offset: 0xA024 */
|
||||
uint32_t RESERVED121[56]; /*!< Reserved, Address offset: 0xA028-0xA104 */
|
||||
__IO uint32_t AXI_TARG9_FN_MOD; /*!< AXI interconnect - TARG 9 issuing functionality modification register, Address offset: 0xA108 */
|
||||
uint32_t RESERVED122[959]; /*!< Reserved, Address offset: 0xA10C-0xB004 */
|
||||
__IO uint32_t AXI_TARG10_FN_MOD_ISS_BM; /*!< AXI interconnect - TARG 10 bus matrix issuing functionality register, Address offset: 0xB008 */
|
||||
uint32_t RESERVED123[6]; /*!< Reserved, Address offset: 0xB00C-0xB020 */
|
||||
__IO uint32_t AXI_TARG10_FN_MOD2; /*!< AXI interconnect - TARG 10 bus matrix functionality 2 register, Address offset: 0xB024 */
|
||||
uint32_t RESERVED124[56]; /*!< Reserved, Address offset: 0xB028-0xB104 */
|
||||
__IO uint32_t AXI_TARG10_FN_MOD; /*!< AXI interconnect - TARG 10 issuing functionality modification register, Address offset: 0xB108 */
|
||||
uint32_t RESERVED125[968]; /*!< Reserved, Address offset: 0xB10C-0xC028 */
|
||||
__IO uint32_t AXI_TARG10_FN_MOD_LB; /*!< AXI interconnect - TARG 10 long burst functionality modification register, Address offset: 0xC02C */
|
||||
uint32_t RESERVED126[55293]; /*!< Reserved, Address offset: 0xC030-0xC104 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD2; /*!< AXI interconnect - INI 1 functionality modification 2 register, Address offset: 0x42024 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD_AHB; /*!< AXI interconnect - INI 1 AHB functionality modification register, Address offset: 0x42028 */
|
||||
uint32_t RESERVED18[53]; /*!< Reserved, Address offset: 0x4202C-0x420FC */
|
||||
__IO uint32_t AXI_INI1_READ_QOS; /*!< AXI interconnect - INI 1 read QoS register, Address offset: 0x42100 */
|
||||
__IO uint32_t AXI_INI1_WRITE_QOS; /*!< AXI interconnect - INI 1 write QoS register, Address offset: 0x42104 */
|
||||
__IO uint32_t AXI_INI1_FN_MOD; /*!< AXI interconnect - INI 1 issuing functionality modification register, Address offset: 0x42108 */
|
||||
uint32_t RESERVED19[1021]; /*!< Reserved, Address offset: 0x4210C-0x430FC */
|
||||
__IO uint32_t AXI_INI2_READ_QOS; /*!< AXI interconnect - INI 2 read QoS register, Address offset: 0x43100 */
|
||||
__IO uint32_t AXI_INI2_WRITE_QOS; /*!< AXI interconnect - INI 2 write QoS register, Address offset: 0x43104 */
|
||||
__IO uint32_t AXI_INI2_FN_MOD; /*!< AXI interconnect - INI 2 issuing functionality modification register, Address offset: 0x43108 */
|
||||
uint32_t RESERVED20[966]; /*!< Reserved, Address offset: 0x4310C-0x44020 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD2; /*!< AXI interconnect - INI 3 functionality modification 2 register, Address offset: 0x44024 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD_AHB; /*!< AXI interconnect - INI 3 AHB functionality modification register, Address offset: 0x44028 */
|
||||
uint32_t RESERVED21[53]; /*!< Reserved, Address offset: 0x4402C-0x440FC */
|
||||
__IO uint32_t AXI_INI3_READ_QOS; /*!< AXI interconnect - INI 3 read QoS register, Address offset: 0x44100 */
|
||||
__IO uint32_t AXI_INI3_WRITE_QOS; /*!< AXI interconnect - INI 3 write QoS register, Address offset: 0x44104 */
|
||||
__IO uint32_t AXI_INI3_FN_MOD; /*!< AXI interconnect - INI 3 issuing functionality modification register, Address offset: 0x44108 */
|
||||
uint32_t RESERVED22[1021]; /*!< Reserved, Address offset: 0x4410C-0x450FC */
|
||||
__IO uint32_t AXI_INI4_READ_QOS; /*!< AXI interconnect - INI 4 read QoS register, Address offset: 0x45100 */
|
||||
__IO uint32_t AXI_INI4_WRITE_QOS; /*!< AXI interconnect - INI 4 write QoS register, Address offset: 0x45104 */
|
||||
__IO uint32_t AXI_INI4_FN_MOD; /*!< AXI interconnect - INI 4 issuing functionality modification register, Address offset: 0x45108 */
|
||||
uint32_t RESERVED23[1021]; /*!< Reserved, Address offset: 0x4510C-0x460FC */
|
||||
__IO uint32_t AXI_INI5_READ_QOS; /*!< AXI interconnect - INI 5 read QoS register, Address offset: 0x46100 */
|
||||
__IO uint32_t AXI_INI5_WRITE_QOS; /*!< AXI interconnect - INI 5 write QoS register, Address offset: 0x46104 */
|
||||
__IO uint32_t AXI_INI5_FN_MOD; /*!< AXI interconnect - INI 5 issuing functionality modification register, Address offset: 0x46108 */
|
||||
uint32_t RESERVED24[1021]; /*!< Reserved, Address offset: 0x4610C-0x470FC */
|
||||
__IO uint32_t AXI_INI6_READ_QOS; /*!< AXI interconnect - INI 6 read QoS register, Address offset: 0x47100 */
|
||||
__IO uint32_t AXI_INI6_WRITE_QOS; /*!< AXI interconnect - INI 6 write QoS register, Address offset: 0x47104 */
|
||||
__IO uint32_t AXI_INI6_FN_MOD; /*!< AXI interconnect - INI 6 issuing functionality modification register, Address offset: 0x47108 */
|
||||
uint32_t RESERVED25[966]; /*!< Reserved, Address offset: 0x4710C-0x48020 */
|
||||
__IO uint32_t AXI_INI7_FN_MOD2; /*!< AXI interconnect - INI 7 functionality modification 2 register, Address offset: 0x48024 */
|
||||
__IO uint32_t AXI_INI7_FN_MOD_AHB; /*!< AXI interconnect - INI 7 AHB functionality modification register, Address offset: 0x48028 */
|
||||
uint32_t RESERVED26[53]; /*!< Reserved, Address offset: 0x4802C-0x480FC */
|
||||
__IO uint32_t AXI_INI7_READ_QOS; /*!< AXI interconnect - INI 7 read QoS register, Address offset: 0x48100 */
|
||||
__IO uint32_t AXI_INI7_WRITE_QOS; /*!< AXI interconnect - INI 7 write QoS register, Address offset: 0x48104 */
|
||||
__IO uint32_t AXI_INI7_FN_MOD; /*!< AXI interconnect - INI 7 issuing functionality modification register, Address offset: 0x48108 */
|
||||
|
||||
} GPV_TypeDef;
|
||||
|
||||
/** @addtogroup Peripheral_memory_map
|
||||
* @{
|
||||
*/
|
||||
|
@ -2302,6 +2422,9 @@ typedef struct
|
|||
#define RAMECC_Monitor2_BASE (RAMECC_BASE + 0x40UL)
|
||||
#define RAMECC_Monitor3_BASE (RAMECC_BASE + 0x60UL)
|
||||
|
||||
|
||||
#define GPV_BASE (PERIPH_BASE + 0x11000000UL) /*!< GPV_BASE (PERIPH_BASE + 0x11000000UL) */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -2599,6 +2722,8 @@ typedef struct
|
|||
#define USB_OTG_HS USB1_OTG_HS
|
||||
#define USB_OTG_HS_PERIPH_BASE USB1_OTG_HS_PERIPH_BASE
|
||||
|
||||
#define GPV ((GPV_TypeDef *) GPV_BASE)
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -3071,7 +3196,7 @@ typedef struct
|
|||
/******************** Bit definition for ADC_SQR1 register ********************/
|
||||
#define ADC_SQR1_L_Pos (0U)
|
||||
#define ADC_SQR1_L_Msk (0xFUL << ADC_SQR1_L_Pos) /*!< 0x0000000F */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence lenght */
|
||||
#define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC regular channel sequence length */
|
||||
#define ADC_SQR1_L_0 (0x1UL << ADC_SQR1_L_Pos) /*!< 0x00000001 */
|
||||
#define ADC_SQR1_L_1 (0x2UL << ADC_SQR1_L_Pos) /*!< 0x00000002 */
|
||||
#define ADC_SQR1_L_2 (0x4UL << ADC_SQR1_L_Pos) /*!< 0x00000004 */
|
||||
|
@ -3951,7 +4076,7 @@ typedef struct
|
|||
/***************** Bit definition for FDCAN_ENDN register *******************/
|
||||
#define FDCAN_ENDN_ETV_Pos (0U)
|
||||
#define FDCAN_ENDN_ETV_Msk (0xFFFFFFFFUL << FDCAN_ENDN_ETV_Pos) /*!< 0xFFFFFFFF */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endiannes Test Value */
|
||||
#define FDCAN_ENDN_ETV FDCAN_ENDN_ETV_Msk /*!<Endianness Test Value */
|
||||
|
||||
/***************** Bit definition for FDCAN_DBTP register *******************/
|
||||
#define FDCAN_DBTP_DSJW_Pos (0U)
|
||||
|
@ -4078,7 +4203,7 @@ typedef struct
|
|||
|
||||
/***************** Bit definition for FDCAN_ECR register *********************/
|
||||
#define FDCAN_ECR_TEC_Pos (0U)
|
||||
#define FDCAN_ECR_TEC_Msk (0xFUL << FDCAN_ECR_TEC_Pos) /*!< 0x0000000F */
|
||||
#define FDCAN_ECR_TEC_Msk (0xFFUL << FDCAN_ECR_TEC_Pos) /*!< 0x000000FF */
|
||||
#define FDCAN_ECR_TEC FDCAN_ECR_TEC_Msk /*!<Transmit Error Counter */
|
||||
#define FDCAN_ECR_REC_Pos (8U)
|
||||
#define FDCAN_ECR_REC_Msk (0x7FUL << FDCAN_ECR_REC_Pos) /*!< 0x00007F00 */
|
||||
|
@ -8736,8 +8861,11 @@ typedef struct
|
|||
/*
|
||||
* @brief FLASH Global Defines
|
||||
*/
|
||||
#define FLASH_SIZE_DATA_REGISTER 0x08FFF80CU
|
||||
#define FLASH_SECTOR_TOTAL 128U /* 128 sectors */
|
||||
#define FLASH_SIZE 0x200000UL /* 2 MB */
|
||||
#define FLASH_SIZE ((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0xFFFFU)) ? 0x200000U : \
|
||||
((((*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) == 0x0000U)) ? 0x200000U : \
|
||||
(((uint32_t)(*((uint16_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0FFFU)) << 10U))) /* 2 MB */
|
||||
#define FLASH_BANK_SIZE (FLASH_SIZE >> 1) /* 1 MB */
|
||||
#define FLASH_SECTOR_SIZE 0x00002000UL /* 8 KB */
|
||||
#define FLASH_LATENCY_DEFAULT FLASH_ACR_LATENCY_3WS /* FLASH Three Latency cycles */
|
||||
|
@ -9091,7 +9219,7 @@ typedef struct
|
|||
/****************** Bit definition for FMC_BCR1 register *******************/
|
||||
#define FMC_BCR1_CCLKEN_Pos (20U)
|
||||
#define FMC_BCR1_CCLKEN_Msk (0x1UL << FMC_BCR1_CCLKEN_Pos) /*!< 0x00100000 */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continous clock enable */
|
||||
#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk /*!<Continuous clock enable */
|
||||
#define FMC_BCR1_WFDIS_Pos (21U)
|
||||
#define FMC_BCR1_WFDIS_Msk (0x1UL << FMC_BCR1_WFDIS_Pos) /*!< 0x00200000 */
|
||||
#define FMC_BCR1_WFDIS FMC_BCR1_WFDIS_Msk /*!<Write FIFO Disable */
|
||||
|
@ -9571,7 +9699,7 @@ typedef struct
|
|||
|
||||
#define FMC_SDRTR_REIE_Pos (14U)
|
||||
#define FMC_SDRTR_REIE_Msk (0x1UL << FMC_SDRTR_REIE_Pos) /*!< 0x00004000 */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interupt enable */
|
||||
#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk /*!<RES interrupt enable */
|
||||
|
||||
/****************** Bit definition for FMC_SDSR register ******************/
|
||||
#define FMC_SDSR_RE_Pos (0U)
|
||||
|
@ -9633,10 +9761,10 @@ typedef struct
|
|||
#define GFXMMU_CR_PD GFXMMU_CR_PD_Msk /*!< Prefetch Disable */
|
||||
#define GFXMMU_CR_OC_Pos (16U)
|
||||
#define GFXMMU_CR_OC_Msk (0x1UL << GFXMMU_CR_OC_Pos) /*!< 0x00002000 */
|
||||
#define GFXMMU_CR_OC GFXMMU_CR_OC_Msk /*!< Outter Cachability */
|
||||
#define GFXMMU_CR_OC GFXMMU_CR_OC_Msk /*!< Outer Cachability */
|
||||
#define GFXMMU_CR_OB_Pos (17U)
|
||||
#define GFXMMU_CR_OB_Msk (0x1UL << GFXMMU_CR_OB_Pos) /*!< 0x00002000 */
|
||||
#define GFXMMU_CR_OB GFXMMU_CR_OB_Msk /*!< Outter Bufferability */
|
||||
#define GFXMMU_CR_OB GFXMMU_CR_OB_Msk /*!< Outer Bufferability */
|
||||
|
||||
/****************** Bits definition for GFXMMU_SR register ********************/
|
||||
#define GFXMMU_SR_B0OF_Pos (0U)
|
||||
|
@ -11570,7 +11698,7 @@ typedef struct
|
|||
|
||||
#define LTDC_AWCR_AAH_Pos (0U)
|
||||
#define LTDC_AWCR_AAH_Msk (0x7FFUL << LTDC_AWCR_AAH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active heigh */
|
||||
#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk /*!< Accumulated Active height */
|
||||
#define LTDC_AWCR_AAW_Pos (16U)
|
||||
#define LTDC_AWCR_AAW_Msk (0xFFFUL << LTDC_AWCR_AAW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_AWCR_AAW LTDC_AWCR_AAW_Msk /*!< Accumulated Active Width */
|
||||
|
@ -11579,7 +11707,7 @@ typedef struct
|
|||
|
||||
#define LTDC_TWCR_TOTALH_Pos (0U)
|
||||
#define LTDC_TWCR_TOTALH_Msk (0x7FFUL << LTDC_TWCR_TOTALH_Pos) /*!< 0x000007FF */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total Heigh */
|
||||
#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk /*!< Total height */
|
||||
#define LTDC_TWCR_TOTALW_Pos (16U)
|
||||
#define LTDC_TWCR_TOTALW_Msk (0xFFFUL << LTDC_TWCR_TOTALW_Pos) /*!< 0x0FFF0000 */
|
||||
#define LTDC_TWCR_TOTALW LTDC_TWCR_TOTALW_Msk /*!< Total Width */
|
||||
|
@ -11898,7 +12026,7 @@ typedef struct
|
|||
#define MDMA_CISR_TCIF MDMA_CISR_TCIF_Msk /*!< Channel x buffer transfer complete interrupt flag */
|
||||
#define MDMA_CISR_CRQA_Pos (16U)
|
||||
#define MDMA_CISR_CRQA_Msk (0x1UL << MDMA_CISR_CRQA_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x ReQest Active flag */
|
||||
#define MDMA_CISR_CRQA MDMA_CISR_CRQA_Msk /*!< Channel x request Active flag */
|
||||
|
||||
/******************** Bit definition for MDMA_CxIFCR register ****************/
|
||||
#define MDMA_CIFCR_CTEIF_Pos (0U)
|
||||
|
@ -11963,13 +12091,13 @@ typedef struct
|
|||
#define MDMA_CCR_PL_1 (0x2UL << MDMA_CCR_PL_Pos) /*!< 0x00000080 */
|
||||
#define MDMA_CCR_BEX_Pos (12U)
|
||||
#define MDMA_CCR_BEX_Msk (0x1UL << MDMA_CCR_BEX_Pos) /*!< 0x00001000 */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianess eXchange */
|
||||
#define MDMA_CCR_BEX MDMA_CCR_BEX_Msk /*!< Byte Endianness eXchange */
|
||||
#define MDMA_CCR_HEX_Pos (13U)
|
||||
#define MDMA_CCR_HEX_Msk (0x1UL << MDMA_CCR_HEX_Pos) /*!< 0x00002000 */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianess eXchange */
|
||||
#define MDMA_CCR_HEX MDMA_CCR_HEX_Msk /*!< Half word Endianness eXchange */
|
||||
#define MDMA_CCR_WEX_Pos (14U)
|
||||
#define MDMA_CCR_WEX_Msk (0x1UL << MDMA_CCR_WEX_Pos) /*!< 0x00004000 */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianess eXchange */
|
||||
#define MDMA_CCR_WEX MDMA_CCR_WEX_Msk /*!< Word Endianness eXchange */
|
||||
#define MDMA_CCR_SWRQ_Pos (16U)
|
||||
#define MDMA_CCR_SWRQ_Msk (0x1UL << MDMA_CCR_SWRQ_Pos) /*!< 0x00010000 */
|
||||
#define MDMA_CCR_SWRQ MDMA_CCR_SWRQ_Msk /*!< SW ReQuest */
|
||||
|
@ -12025,7 +12153,7 @@ typedef struct
|
|||
#define MDMA_CTCR_PKE MDMA_CTCR_PKE_Msk /*!< PacK Enable */
|
||||
#define MDMA_CTCR_PAM_Pos (26U)
|
||||
#define MDMA_CTCR_PAM_Msk (0x3UL << MDMA_CTCR_PAM_Pos) /*!< 0x0C000000 */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignement Mode */
|
||||
#define MDMA_CTCR_PAM MDMA_CTCR_PAM_Msk /*!< Padding/Alignment Mode */
|
||||
#define MDMA_CTCR_PAM_0 (0x1UL << MDMA_CTCR_PAM_Pos) /*!< 0x4000000 */
|
||||
#define MDMA_CTCR_PAM_1 (0x2UL << MDMA_CTCR_PAM_Pos) /*!< 0x8000000 */
|
||||
#define MDMA_CTCR_TRGM_Pos (28U)
|
||||
|
@ -20151,7 +20279,7 @@ typedef struct
|
|||
/******************* Bit definition for SWPMI_RDR register ********************/
|
||||
#define SWPMI_RDR_RD_Pos (0U)
|
||||
#define SWPMI_RDR_RD_Msk (0xFFFFFFFFUL << SWPMI_RDR_RD_Pos) /*!< 0xFFFFFFFF */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Recive Data Register */
|
||||
#define SWPMI_RDR_RD SWPMI_RDR_RD_Msk /*!<Receive Data Register */
|
||||
|
||||
|
||||
/******************* Bit definition for SWPMI_OR register ********************/
|
||||
|
@ -22179,14 +22307,16 @@ typedef struct
|
|||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/****************************** SMBUS Instances *******************************/
|
||||
#define IS_SMBUS_ALL_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \
|
||||
((INSTANCE) == I2C2) || \
|
||||
((INSTANCE) == I2C3) || \
|
||||
((INSTANCE) == I2C4))
|
||||
|
||||
/************** I2C Instances : wakeup capability from stop modes *************/
|
||||
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE)
|
||||
|
||||
/******************************** I2S Instances *******************************/
|
||||
#define IS_I2S_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -22206,9 +22336,6 @@ typedef struct
|
|||
#define IS_SDMMC_ALL_INSTANCE(_INSTANCE_) (((_INSTANCE_) == SDMMC1) || \
|
||||
((_INSTANCE_) == SDMMC2))
|
||||
|
||||
/******************************** SMBUS Instances *****************************/
|
||||
#define IS_SMBUS_INSTANCE(INSTANCE) ((INSTANCE) == I2C1)
|
||||
|
||||
/******************************** SPI Instances *******************************/
|
||||
#define IS_SPI_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \
|
||||
((INSTANCE) == SPI2) || \
|
||||
|
@ -22385,6 +22512,7 @@ typedef struct
|
|||
((INSTANCE) == TIM6) || \
|
||||
((INSTANCE) == TIM7) || \
|
||||
((INSTANCE) == TIM8) || \
|
||||
((INSTANCE) == TIM12) || \
|
||||
((INSTANCE) == TIM15))
|
||||
|
||||
/****** TIM Instances : Salve mode available (TIMx_SMCR.TS available )*********/
|
||||
|
|
|
@ -60,7 +60,8 @@
|
|||
|
||||
#if !defined (STM32H743xx) && !defined (STM32H753xx) && !defined (STM32H750xx) && !defined (STM32H742xx) && \
|
||||
!defined (STM32H745xx) && !defined (STM32H755xx) && !defined (STM32H747xx) && !defined (STM32H757xx) && \
|
||||
!defined (STM32H7A3xx) && !defined (STM32H7A3xxQ) && !defined (STM32H7B3xx) && !defined (STM32H7B3xxQ) && !defined (STM32H7B0xx) && !defined (STM32H7B0xxQ)
|
||||
!defined (STM32H7A3xx) && !defined (STM32H7A3xxQ) && !defined (STM32H7B3xx) && !defined (STM32H7B3xxQ) && !defined (STM32H7B0xx) && !defined (STM32H7B0xxQ) && \
|
||||
!defined (STM32H735xx) && !defined (STM32H733xx) && !defined (STM32H730xx) && !defined (STM32H730xxQ) && !defined (STM32H725xx) && !defined (STM32H723xx)
|
||||
/* #define STM32H742xx */ /*!< STM32H742VI, STM32H742ZI, STM32H742AI, STM32H742II, STM32H742BI, STM32H742XI Devices */
|
||||
/* #define STM32H743xx */ /*!< STM32H743VI, STM32H743ZI, STM32H743AI, STM32H743II, STM32H743BI, STM32H743XI Devices */
|
||||
/* #define STM32H753xx */ /*!< STM32H753VI, STM32H753ZI, STM32H753AI, STM32H753II, STM32H753BI, STM32H753XI Devices */
|
||||
|
@ -74,6 +75,12 @@
|
|||
/* #define STM32H7A3xxQ */ /*!< STM32H7A3QIY6Q, STM32H7A3IIK6Q, STM32H7A3IIT6Q, STM32H7A3LIH6Q, STM32H7A3VIH6Q, STM32H7A3VIT6Q, STM32H7A3AII6Q, STM32H7A3ZIT6Q */
|
||||
/* #define STM32H7B3xx */ /*!< STM32H7B3IIK6, STM32H7B3IIT6, STM32H7B3NIH6, STM32H7B3RIT6, STM32H7B3VIH6, STM32H7B3VIT6, STM32H7B3ZIT6 */
|
||||
/* #define STM32H7B3xxQ */ /*!< STM32H7B3QIY6Q, STM32H7B3IIK6Q, STM32H7B3IIT6Q, STM32H7B3LIH6Q, STM32H7B3VIH6Q, STM32H7B3VIT6Q, STM32H7B3AII6Q, STM32H7B3ZIT6Q */
|
||||
/* #define STM32H735xx */ /*!< STM32H735AGI6, STM32H735IGK6, STM32H735RGV6, STM32H735VGT6, STM32H735VGY6, STM32H735ZGT6 Devices */
|
||||
/* #define STM32H733xx */ /*!< STM32H733VGH6, STM32H733VGT6, STM32H733ZGI6, STM32H733ZGT6, Devices */
|
||||
/* #define STM32H730xx */ /*!< STM32H730VBH6, STM32H730VBT6, STM32H730ZBT6, STM32H730ZBI6 Devices */
|
||||
/* #define STM32H730xxQ */ /*!< STM32H730IBT6Q, STM32H730ABI6Q, STM32H730IBK6Q Devices */
|
||||
/* #define STM32H725xx */ /*!< STM32H725AGI6, STM32H725IGK6, STM32H725IGT6, STM32H725RGV6, STM32H725VGT6, STM32H725VGY6, STM32H725ZGT6, STM32H725REV6, SM32H725VET6, STM32H725ZET6, STM32H725AEI6, STM32H725IET6, STM32H725IEK6 Devices */
|
||||
/* #define STM32H723xx */ /*!< STM32H723VGH6, STM32H723VGT6, STM32H723ZGI6, STM32H723ZGT6, STM32H723VET6, STM32H723VEH6, STM32H723ZET6, STM32H723ZEI6 Devices */
|
||||
#endif
|
||||
|
||||
/* Tip: To avoid modifying this file each time you need to switch between these
|
||||
|
@ -94,16 +101,16 @@
|
|||
#endif /* USE_HAL_DRIVER */
|
||||
|
||||
/**
|
||||
* @brief CMSIS Device version number V1.8.0
|
||||
* @brief CMSIS Device version number V1.10.0
|
||||
*/
|
||||
#define __STM32H7xx_CMSIS_DEVICE_VERSION_MAIN (0x01) /*!< [31:24] main version */
|
||||
#define __STM32H7xx_CMSIS_DEVICE_VERSION_SUB1 (0x08) /*!< [23:16] sub1 version */
|
||||
#define __STM32H7xx_CMSIS_DEVICE_VERSION_SUB1 (0x0A) /*!< [23:16] sub1 version */
|
||||
#define __STM32H7xx_CMSIS_DEVICE_VERSION_SUB2 (0x00) /*!< [15:8] sub2 version */
|
||||
#define __STM32H7xx_CMSIS_DEVICE_VERSION_RC (0x00) /*!< [7:0] release candidate */
|
||||
#define __STM32H7xx_CMSIS_DEVICE_VERSION ((__CMSIS_DEVICE_VERSION_MAIN << 24)\
|
||||
|(__CMSIS_DEVICE_HAL_VERSION_SUB1 << 16)\
|
||||
|(__CMSIS_DEVICE_HAL_VERSION_SUB2 << 8 )\
|
||||
|(__CMSIS_DEVICE_HAL_VERSION_RC))
|
||||
#define __STM32H7xx_CMSIS_DEVICE_VERSION ((__STM32H7xx_CMSIS_DEVICE_VERSION_MAIN << 24)\
|
||||
|(__STM32H7xx_CMSIS_DEVICE_VERSION_SUB1 << 16)\
|
||||
|(__STM32H7xx_CMSIS_DEVICE_VERSION_SUB2 << 8 )\
|
||||
|(__STM32H7xx_CMSIS_DEVICE_VERSION_RC))
|
||||
|
||||
/**
|
||||
* @}
|
||||
|
@ -141,6 +148,18 @@
|
|||
#include "stm32h7a3xxq.h"
|
||||
#elif defined(STM32H7B3xxQ)
|
||||
#include "stm32h7b3xxq.h"
|
||||
#elif defined(STM32H735xx)
|
||||
#include "stm32h735xx.h"
|
||||
#elif defined(STM32H733xx)
|
||||
#include "stm32h733xx.h"
|
||||
#elif defined(STM32H730xx)
|
||||
#include "stm32h730xx.h"
|
||||
#elif defined(STM32H730xxQ)
|
||||
#include "stm32h730xxq.h"
|
||||
#elif defined(STM32H725xx)
|
||||
#include "stm32h725xx.h"
|
||||
#elif defined(STM32H723xx)
|
||||
#include "stm32h723xx.h"
|
||||
#else
|
||||
#error "Please select first the target STM32H7xx device used in your application (in stm32h7xx.h file)"
|
||||
#endif
|
||||
|
|
|
@ -148,15 +148,30 @@ void SystemInit (void)
|
|||
SCB->CPACR |= ((3UL << (10*2))|(3UL << (11*2))); /* set CP10 and CP11 Full Access */
|
||||
#endif
|
||||
/* Reset the RCC clock configuration to the default reset state ------------*/
|
||||
|
||||
/* Increasing the CPU frequency */
|
||||
if(FLASH_LATENCY_DEFAULT > (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY)))
|
||||
{
|
||||
/* Program the new number of wait states to the LATENCY bits in the FLASH_ACR register */
|
||||
MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, (uint32_t)(FLASH_LATENCY_DEFAULT));
|
||||
}
|
||||
|
||||
/* Set HSION bit */
|
||||
RCC->CR |= RCC_CR_HSION;
|
||||
|
||||
/* Reset CFGR register */
|
||||
RCC->CFGR = 0x00000000;
|
||||
|
||||
/* Reset HSEON, CSSON , CSION,RC48ON, CSIKERON PLL1ON, PLL2ON and PLL3ON bits */
|
||||
/* Reset HSEON, HSECSSON, CSION, HSI48ON, CSIKERON, PLL1ON, PLL2ON and PLL3ON bits */
|
||||
RCC->CR &= 0xEAF6ED7FU;
|
||||
|
||||
/* Decreasing the number of wait states because of lower CPU frequency */
|
||||
if(FLASH_LATENCY_DEFAULT < (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY)))
|
||||
{
|
||||
/* Program the new number of wait states to the LATENCY bits in the FLASH_ACR register */
|
||||
MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, (uint32_t)(FLASH_LATENCY_DEFAULT));
|
||||
}
|
||||
|
||||
#if defined(D3_SRAM_BASE)
|
||||
/* Reset D1CFGR register */
|
||||
RCC->D1CFGR = 0x00000000;
|
||||
|
@ -177,23 +192,23 @@ void SystemInit (void)
|
|||
RCC->SRDCFGR = 0x00000000;
|
||||
#endif
|
||||
/* Reset PLLCKSELR register */
|
||||
RCC->PLLCKSELR = 0x00000000;
|
||||
RCC->PLLCKSELR = 0x02020200;
|
||||
|
||||
/* Reset PLLCFGR register */
|
||||
RCC->PLLCFGR = 0x00000000;
|
||||
RCC->PLLCFGR = 0x01FF0000;
|
||||
/* Reset PLL1DIVR register */
|
||||
RCC->PLL1DIVR = 0x00000000;
|
||||
RCC->PLL1DIVR = 0x01010280;
|
||||
/* Reset PLL1FRACR register */
|
||||
RCC->PLL1FRACR = 0x00000000;
|
||||
|
||||
/* Reset PLL2DIVR register */
|
||||
RCC->PLL2DIVR = 0x00000000;
|
||||
RCC->PLL2DIVR = 0x01010280;
|
||||
|
||||
/* Reset PLL2FRACR register */
|
||||
|
||||
RCC->PLL2FRACR = 0x00000000;
|
||||
/* Reset PLL3DIVR register */
|
||||
RCC->PLL3DIVR = 0x00000000;
|
||||
RCC->PLL3DIVR = 0x01010280;
|
||||
|
||||
/* Reset PLL3FRACR register */
|
||||
RCC->PLL3FRACR = 0x00000000;
|
||||
|
@ -231,13 +246,20 @@ void SystemInit (void)
|
|||
#if defined(DUAL_CORE) && defined(CORE_CM4)
|
||||
/* Configure the Vector Table location add offset address for cortex-M4 ------------------*/
|
||||
#ifdef VECT_TAB_SRAM
|
||||
SCB->VTOR = D2_AHBSRAM_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM */
|
||||
SCB->VTOR = D2_AXISRAM_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM */
|
||||
#else
|
||||
SCB->VTOR = FLASH_BANK2_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal FLASH */
|
||||
#endif /* VECT_TAB_SRAM */
|
||||
|
||||
#else
|
||||
|
||||
/*
|
||||
* Disable the FMC bank1 (enabled after reset).
|
||||
* This, prevents CPU speculation access on this bank which blocks the use of FMC during
|
||||
* 24us. During this time the others FMC master (such as LTDC) cannot use it!
|
||||
*/
|
||||
FMC_Bank1_R->BTCR[0] = 0x000030D2;
|
||||
|
||||
/* Configure the Vector Table location add offset address for cortex-M7 ------------------*/
|
||||
#ifdef VECT_TAB_SRAM
|
||||
SCB->VTOR = D1_AXISRAM_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal AXI-RAM */
|
||||
|
@ -339,7 +361,8 @@ void SystemCoreClockUpdate (void)
|
|||
break;
|
||||
|
||||
default:
|
||||
pllvco = ((float_t)CSI_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_N1) + (fracn1/(float_t)0x2000) +(float_t)1 );
|
||||
hsivalue = (HSI_VALUE >> ((RCC->CR & RCC_CR_HSIDIV)>> 3)) ;
|
||||
pllvco = ((float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_N1) + (fracn1/(float_t)0x2000) +(float_t)1 );
|
||||
break;
|
||||
}
|
||||
pllp = (((RCC->PLL1DIVR & RCC_PLL1DIVR_P1) >>9) + 1U ) ;
|
||||
|
@ -352,7 +375,7 @@ void SystemCoreClockUpdate (void)
|
|||
break;
|
||||
|
||||
default:
|
||||
common_system_clock = CSI_VALUE;
|
||||
common_system_clock = (uint32_t) (HSI_VALUE >> ((RCC->CR & RCC_CR_HSIDIV)>> 3));
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue