File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ extern "C" {
119
119
* (when HSE is used as system clock source, directly or through the PLL).
120
120
*/
121
121
#if !defined (HSE_VALUE )
122
- #define HSE_VALUE (48000000U ) /*!< Value of the External oscillator in Hz */
122
+ #define HSE_VALUE (24000000U ) /*!< Value of the External oscillator in Hz */
123
123
#endif /* HSE_VALUE */
124
124
125
125
#if !defined (HSE_STARTUP_TIMEOUT )
@@ -135,6 +135,18 @@ extern "C" {
135
135
#define HSI_VALUE (48000000U) /*!< Value of the Internal oscillator in Hz*/
136
136
#endif /* HSI_VALUE */
137
137
138
+ /**
139
+ * @brief Internal High Speed oscillator (HSI48) value for USB FS, SDMMC and RNG.
140
+ * This internal oscillator is mainly dedicated to provide a high precision clock to
141
+ * the USB peripheral by means of a special Clock Recovery System (CRS) circuitry.
142
+ * When the CRS is not used, the HSI48 RC oscillator runs on it default frequency
143
+ * which is subject to manufacturing process variations.
144
+ */
145
+ #if !defined (HSI48_VALUE )
146
+ #define HSI48_VALUE 48000000U /*!< Value of the Internal High Speed oscillator for USB FS/SDMMC/RNG in Hz.
147
+ The real value my vary depending on manufacturing process variations.*/
148
+ #endif /* HSI48_VALUE */
149
+
138
150
/**
139
151
* @brief Internal Low Speed oscillator (LSI) value.
140
152
*/
You can’t perform that action at this time.
0 commit comments