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" {
119119 * (when HSE is used as system clock source, directly or through the PLL).
120120 */
121121#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 */
123123#endif /* HSE_VALUE */
124124
125125#if !defined (HSE_STARTUP_TIMEOUT )
@@ -135,6 +135,18 @@ extern "C" {
135135#define HSI_VALUE (48000000U) /*!< Value of the Internal oscillator in Hz*/
136136#endif /* HSI_VALUE */
137137
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+
138150/**
139151 * @brief Internal Low Speed oscillator (LSI) value.
140152 */
You can’t perform that action at this time.
0 commit comments