File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 103103#endif /* HSE_VALUE */
104104
105105#if !defined (HSE_STARTUP_TIMEOUT )
106- #define HSE_STARTUP_TIMEOUT ((uint32_t)5000 ) /*!< Time out for HSE start up, in ms */
106+ #define HSE_STARTUP_TIMEOUT ((uint32_t)100U ) /*!< Time out for HSE start up, in ms */
107107#endif /* HSE_STARTUP_TIMEOUT */
108108
109109/**
130130 #define LSE_VALUE ((uint32_t)32768) /*!< Value of the External Low Speed oscillator in Hz */
131131#endif /* LSE_VALUE */
132132
133+ #if !defined (LSE_STARTUP_TIMEOUT )
134+ #define LSE_STARTUP_TIMEOUT ((uint32_t)5000U) /*!< Time out for LSE start up, in ms */
135+ #endif /* LSE_STARTUP_TIMEOUT */
136+
133137/**
134138 * @brief External clock source for I2S peripheral
135139 * This value is used by the I2S HAL module to compute the I2S clock source
Original file line number Diff line number Diff line change 103103#endif /* HSE_VALUE */
104104
105105#if !defined (HSE_STARTUP_TIMEOUT )
106- #define HSE_STARTUP_TIMEOUT ((uint32_t)5000 ) /*!< Time out for HSE start up, in ms */
106+ #define HSE_STARTUP_TIMEOUT ((uint32_t)100U ) /*!< Time out for HSE start up, in ms */
107107#endif /* HSE_STARTUP_TIMEOUT */
108108
109109/**
130130 #define LSE_VALUE ((uint32_t)32768) /*!< Value of the External Low Speed oscillator in Hz */
131131#endif /* LSE_VALUE */
132132
133+ #if !defined (LSE_STARTUP_TIMEOUT )
134+ #define LSE_STARTUP_TIMEOUT ((uint32_t)5000U) /*!< Time out for LSE start up, in ms */
135+ #endif /* LSE_STARTUP_TIMEOUT */
136+
133137/**
134138 * @brief External clock source for I2S peripheral
135139 * This value is used by the I2S HAL module to compute the I2S clock source
Original file line number Diff line number Diff line change 103103#endif /* HSE_VALUE */
104104
105105#if !defined (HSE_STARTUP_TIMEOUT )
106- #define HSE_STARTUP_TIMEOUT ((uint32_t)5000 ) /*!< Time out for HSE start up, in ms */
106+ #define HSE_STARTUP_TIMEOUT ((uint32_t)100U ) /*!< Time out for HSE start up, in ms */
107107#endif /* HSE_STARTUP_TIMEOUT */
108108
109109/**
130130 #define LSE_VALUE ((uint32_t)32768) /*!< Value of the External Low Speed oscillator in Hz */
131131#endif /* LSE_VALUE */
132132
133+ #if !defined (LSE_STARTUP_TIMEOUT )
134+ #define LSE_STARTUP_TIMEOUT ((uint32_t)5000U) /*!< Time out for LSE start up, in ms */
135+ #endif /* LSE_STARTUP_TIMEOUT */
136+
133137/**
134138 * @brief External clock source for I2S peripheral
135139 * This value is used by the I2S HAL module to compute the I2S clock source
Original file line number Diff line number Diff line change 103103#endif /* HSE_VALUE */
104104
105105#if !defined (HSE_STARTUP_TIMEOUT )
106- #define HSE_STARTUP_TIMEOUT ((uint32_t)5000 ) /*!< Time out for HSE start up, in ms */
106+ #define HSE_STARTUP_TIMEOUT ((uint32_t)100U ) /*!< Time out for HSE start up, in ms */
107107#endif /* HSE_STARTUP_TIMEOUT */
108108
109109/**
130130 #define LSE_VALUE ((uint32_t)32768) /*!< Value of the External Low Speed oscillator in Hz */
131131#endif /* LSE_VALUE */
132132
133+ #if !defined (LSE_STARTUP_TIMEOUT )
134+ #define LSE_STARTUP_TIMEOUT ((uint32_t)5000U) /*!< Time out for LSE start up, in ms */
135+ #endif /* LSE_STARTUP_TIMEOUT */
136+
133137/**
134138 * @brief External clock source for I2S peripheral
135139 * This value is used by the I2S HAL module to compute the I2S clock source
Original file line number Diff line number Diff line change 105105#endif /* HSE_VALUE */
106106
107107#if !defined (HSE_STARTUP_TIMEOUT )
108- #define HSE_STARTUP_TIMEOUT ((uint32_t)5000 ) /*!< Time out for HSE start up, in ms */
108+ #define HSE_STARTUP_TIMEOUT ((uint32_t)100U ) /*!< Time out for HSE start up, in ms */
109109#endif /* HSE_STARTUP_TIMEOUT */
110110
111111/**
132132 #define LSE_VALUE ((uint32_t)32768) /*!< Value of the External Low Speed oscillator in Hz */
133133#endif /* LSE_VALUE */
134134
135+ #if !defined (LSE_STARTUP_TIMEOUT )
136+ #define LSE_STARTUP_TIMEOUT ((uint32_t)5000U) /*!< Time out for LSE start up, in ms */
137+ #endif /* LSE_STARTUP_TIMEOUT */
138+
135139/**
136140 * @brief External clock source for I2S peripheral
137141 * This value is used by the I2S HAL module to compute the I2S clock source
Original file line number Diff line number Diff line change 105105#endif /* HSE_VALUE */
106106
107107#if !defined (HSE_STARTUP_TIMEOUT )
108- #define HSE_STARTUP_TIMEOUT ((uint32_t)5000 ) /*!< Time out for HSE start up, in ms */
108+ #define HSE_STARTUP_TIMEOUT ((uint32_t)100U ) /*!< Time out for HSE start up, in ms */
109109#endif /* HSE_STARTUP_TIMEOUT */
110110
111111/**
132132 #define LSE_VALUE ((uint32_t)32768) /*!< Value of the External Low Speed oscillator in Hz */
133133#endif /* LSE_VALUE */
134134
135+ #if !defined (LSE_STARTUP_TIMEOUT )
136+ #define LSE_STARTUP_TIMEOUT ((uint32_t)5000U) /*!< Time out for LSE start up, in ms */
137+ #endif /* LSE_STARTUP_TIMEOUT */
138+
135139/**
136140 * @brief External clock source for I2S peripheral
137141 * This value is used by the I2S HAL module to compute the I2S clock source
Original file line number Diff line number Diff line change 103103#endif /* HSE_VALUE */
104104
105105#if !defined (HSE_STARTUP_TIMEOUT )
106- #define HSE_STARTUP_TIMEOUT ((uint32_t)0x0500 ) /*!< Time out for HSE start up, in ms */
106+ #define HSE_STARTUP_TIMEOUT ((uint32_t)100U ) /*!< Time out for HSE start up, in ms */
107107#endif /* HSE_STARTUP_TIMEOUT */
108108
109109/**
130130 #define LSE_VALUE ((uint32_t)32768) /*!< Value of the External Low Speed oscillator in Hz */
131131#endif /* LSE_VALUE */
132132
133+ #if !defined (LSE_STARTUP_TIMEOUT )
134+ #define LSE_STARTUP_TIMEOUT ((uint32_t)5000U) /*!< Time out for LSE start up, in ms */
135+ #endif /* LSE_STARTUP_TIMEOUT */
136+
133137/**
134138 * @brief External clock source for I2S peripheral
135139 * This value is used by the I2S HAL module to compute the I2S clock source
Original file line number Diff line number Diff line change 103103#endif /* HSE_VALUE */
104104
105105#if !defined (HSE_STARTUP_TIMEOUT )
106- #define HSE_STARTUP_TIMEOUT ((uint32_t)5000 ) /*!< Time out for HSE start up, in ms */
106+ #define HSE_STARTUP_TIMEOUT ((uint32_t)100U ) /*!< Time out for HSE start up, in ms */
107107#endif /* HSE_STARTUP_TIMEOUT */
108108
109109/**
130130 #define LSE_VALUE ((uint32_t)32768) /*!< Value of the External Low Speed oscillator in Hz */
131131#endif /* LSE_VALUE */
132132
133+ #if !defined (LSE_STARTUP_TIMEOUT )
134+ #define LSE_STARTUP_TIMEOUT ((uint32_t)5000U) /*!< Time out for LSE start up, in ms */
135+ #endif /* LSE_STARTUP_TIMEOUT */
136+
133137/**
134138 * @brief External clock source for I2S peripheral
135139 * This value is used by the I2S HAL module to compute the I2S clock source
Original file line number Diff line number Diff line change 103103#endif /* HSE_VALUE */
104104
105105#if !defined (HSE_STARTUP_TIMEOUT )
106- #define HSE_STARTUP_TIMEOUT ((uint32_t)5000 ) /*!< Time out for HSE start up, in ms */
106+ #define HSE_STARTUP_TIMEOUT ((uint32_t)100U ) /*!< Time out for HSE start up, in ms */
107107#endif /* HSE_STARTUP_TIMEOUT */
108108
109109/**
130130 #define LSE_VALUE ((uint32_t)32768) /*!< Value of the External Low Speed oscillator in Hz */
131131#endif /* LSE_VALUE */
132132
133+ #if !defined (LSE_STARTUP_TIMEOUT )
134+ #define LSE_STARTUP_TIMEOUT ((uint32_t)5000U) /*!< Time out for LSE start up, in ms */
135+ #endif /* LSE_STARTUP_TIMEOUT */
136+
133137/**
134138 * @brief External clock source for I2S peripheral
135139 * This value is used by the I2S HAL module to compute the I2S clock source
Original file line number Diff line number Diff line change 103103#endif /* HSE_VALUE */
104104
105105#if !defined (HSE_STARTUP_TIMEOUT )
106- #define HSE_STARTUP_TIMEOUT ((uint32_t)5000 ) /*!< Time out for HSE start up, in ms */
106+ #define HSE_STARTUP_TIMEOUT ((uint32_t)100U ) /*!< Time out for HSE start up, in ms */
107107#endif /* HSE_STARTUP_TIMEOUT */
108108
109109/**
130130 #define LSE_VALUE ((uint32_t)32768) /*!< Value of the External Low Speed oscillator in Hz */
131131#endif /* LSE_VALUE */
132132
133+ #if !defined (LSE_STARTUP_TIMEOUT )
134+ #define LSE_STARTUP_TIMEOUT ((uint32_t)5000U) /*!< Time out for LSE start up, in ms */
135+ #endif /* LSE_STARTUP_TIMEOUT */
136+
133137/**
134138 * @brief External clock source for I2S peripheral
135139 * This value is used by the I2S HAL module to compute the I2S clock source
You can’t perform that action at this time.
0 commit comments