7
7
* This file contains:
8
8
* - Data structures and the address mapping for all peripherals
9
9
* - peripherals registers declarations and bits definition
10
- * - Macros to access peripheral’ s registers hardware
10
+ * - Macros to access peripheral' s registers hardware
11
11
*
12
12
******************************************************************************
13
13
* @attention
34
34
#define __STM32F405xx_H
35
35
36
36
#ifdef __cplusplus
37
- extern "C" {
37
+ extern "C" {
38
38
#endif /* __cplusplus */
39
39
40
40
/** @addtogroup Configuration_section_for_CMSIS
64
64
*/
65
65
typedef enum
66
66
{
67
- /****** Cortex-M4 Processor Exceptions Numbers ****************************************************************/
67
+ /****** Cortex-M4 Processor Exceptions Numbers ****************************************************************/
68
68
NonMaskableInt_IRQn = -14, /*!< 2 Non Maskable Interrupt */
69
69
MemoryManagement_IRQn = -12, /*!< 4 Cortex-M4 Memory Management Interrupt */
70
70
BusFault_IRQn = -11, /*!< 5 Cortex-M4 Bus Fault Interrupt */
@@ -73,7 +73,7 @@ typedef enum
73
73
DebugMonitor_IRQn = -4, /*!< 12 Cortex-M4 Debug Monitor Interrupt */
74
74
PendSV_IRQn = -2, /*!< 14 Cortex-M4 Pend SV Interrupt */
75
75
SysTick_IRQn = -1, /*!< 15 Cortex-M4 System Tick Interrupt */
76
- /****** STM32 specific Interrupt Numbers **********************************************************************/
76
+ /****** STM32 specific Interrupt Numbers **********************************************************************/
77
77
WWDG_IRQn = 0, /*!< Window WatchDog Interrupt */
78
78
PVD_IRQn = 1, /*!< PVD through EXTI Line detection Interrupt */
79
79
TAMP_STAMP_IRQn = 2, /*!< Tamper and TimeStamp interrupts through the EXTI line */
@@ -314,7 +314,7 @@ typedef struct
314
314
__IO uint32_t CR; /*!< Debug MCU configuration register, Address offset: 0x04 */
315
315
__IO uint32_t APB1FZ; /*!< Debug MCU APB1 freeze register, Address offset: 0x08 */
316
316
__IO uint32_t APB2FZ; /*!< Debug MCU APB2 freeze register, Address offset: 0x0C */
317
- }DBGMCU_TypeDef;
317
+ } DBGMCU_TypeDef;
318
318
319
319
320
320
/**
@@ -1052,9 +1052,9 @@ typedef struct
1052
1052
* @}
1053
1053
*/
1054
1054
1055
- /** @addtogroup Peripheral_Registers_Bits_Definition
1056
- * @{
1057
- */
1055
+ /** @addtogroup Peripheral_Registers_Bits_Definition
1056
+ * @{
1057
+ */
1058
1058
1059
1059
/******************************************************************************/
1060
1060
/* Peripheral Registers_Bits_Definition */
@@ -1066,7 +1066,7 @@ typedef struct
1066
1066
/* */
1067
1067
/******************************************************************************/
1068
1068
/*
1069
- * @brief Specific device feature definitions (not present on all devices in the STM32F4 serie )
1069
+ * @brief Specific device feature definitions (not present on all devices in the STM32F4 series )
1070
1070
*/
1071
1071
#define ADC_MULTIMODE_SUPPORT /*!<ADC Multimode feature available on specific devices */
1072
1072
@@ -5327,7 +5327,7 @@ typedef struct
5327
5327
5328
5328
/******************* Bit definition for CRC_IDR register ********************/
5329
5329
#define CRC_IDR_IDR_Pos (0U)
5330
- #define CRC_IDR_IDR_Msk (0xFFUL << CRC_IDR_IDR_Pos) /*!< 0x000000FF */
5330
+ #define CRC_IDR_IDR_Msk (0xFFUL << CRC_IDR_IDR_Pos) /*!< 0x000000FF */
5331
5331
#define CRC_IDR_IDR CRC_IDR_IDR_Msk /*!< General-purpose 8-bit data register bits */
5332
5332
5333
5333
@@ -5342,7 +5342,7 @@ typedef struct
5342
5342
/* */
5343
5343
/******************************************************************************/
5344
5344
/*
5345
- * @brief Specific device feature definitions (not present on all devices in the STM32F4 serie )
5345
+ * @brief Specific device feature definitions (not present on all devices in the STM32F4 series )
5346
5346
*/
5347
5347
#define DAC_CHANNEL2_SUPPORT /*!< DAC feature available only on specific devices: availability of DAC channel 2 */
5348
5348
/******************** Bit definition for DAC_CR register ********************/
@@ -9181,7 +9181,7 @@ typedef struct
9181
9181
#define RCC_CR_PLLRDY_Msk (0x1UL << RCC_CR_PLLRDY_Pos) /*!< 0x02000000 */
9182
9182
#define RCC_CR_PLLRDY RCC_CR_PLLRDY_Msk
9183
9183
/*
9184
- * @brief Specific device feature definitions (not present on all devices in the STM32F4 serie )
9184
+ * @brief Specific device feature definitions (not present on all devices in the STM32F4 series )
9185
9185
*/
9186
9186
#define RCC_PLLI2S_SUPPORT /*!< Support PLLI2S oscillator */
9187
9187
@@ -9629,7 +9629,7 @@ typedef struct
9629
9629
#define RCC_AHB1ENR_OTGHSULPIEN RCC_AHB1ENR_OTGHSULPIEN_Msk
9630
9630
/******************** Bit definition for RCC_AHB2ENR register ***************/
9631
9631
/*
9632
- * @brief Specific device feature definitions (not present on all devices in the STM32F4 serie )
9632
+ * @brief Specific device feature definitions (not present on all devices in the STM32F4 series )
9633
9633
*/
9634
9634
#define RCC_AHB2_SUPPORT /*!< AHB2 Bus is supported */
9635
9635
@@ -9642,7 +9642,7 @@ typedef struct
9642
9642
9643
9643
/******************** Bit definition for RCC_AHB3ENR register ***************/
9644
9644
/*
9645
- * @brief Specific device feature definitions (not present on all devices in the STM32F4 serie )
9645
+ * @brief Specific device feature definitions (not present on all devices in the STM32F4 series )
9646
9646
*/
9647
9647
#define RCC_AHB3_SUPPORT /*!< AHB3 Bus is supported */
9648
9648
@@ -10075,7 +10075,7 @@ typedef struct
10075
10075
/* */
10076
10076
/******************************************************************************/
10077
10077
/*
10078
- * @brief Specific device feature definitions (not present on all devices in the STM32F4 serie )
10078
+ * @brief Specific device feature definitions (not present on all devices in the STM32F4 series )
10079
10079
*/
10080
10080
#define RTC_TAMPER2_SUPPORT /*!< TAMPER 2 feature support */
10081
10081
#define RTC_AF2_SUPPORT /*!< RTC Alternate Function 2 mapping support */
@@ -14272,7 +14272,7 @@ typedef struct
14272
14272
#define FLASH_SCALE2_LATENCY1_FREQ 30000000U /*!< HCLK frequency to set FLASH latency 1 in power scale 2 */
14273
14273
#define FLASH_SCALE2_LATENCY2_FREQ 60000000U /*!< HCLK frequency to set FLASH latency 2 in power scale 2 */
14274
14274
#define FLASH_SCALE2_LATENCY3_FREQ 90000000U /*!< HCLK frequency to set FLASH latency 3 in power scale 2 */
14275
- #define FLASH_SCALE2_LATENCY4_FREQ 12000000U /*!< HCLK frequency to set FLASH latency 4 in power scale 2 */
14275
+ #define FLASH_SCALE2_LATENCY4_FREQ 120000000U /*!< HCLK frequency to set FLASH latency 4 in power scale 2 */
14276
14276
14277
14277
#define USB_OTG_HS_HOST_MAX_CHANNEL_NBR 12U
14278
14278
#define USB_OTG_HS_MAX_IN_ENDPOINTS 6U /* Including EP0 */
0 commit comments