Rev 3 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3 | Rev 4 | ||
---|---|---|---|
Line 111... | Line 111... | ||
111 | 111 | ||
112 | /** |
112 | /** |
113 | * @brief Internal High Speed oscillator for USB (HSI48) value. |
113 | * @brief Internal High Speed oscillator for USB (HSI48) value. |
114 | */ |
114 | */ |
115 | #if !defined (HSI48_VALUE) |
115 | #if !defined (HSI48_VALUE) |
116 | #define HSI48_VALUE ((uint32_t)48000000) /*!< Value of the Internal High Speed oscillator for USB in Hz. |
116 | #define HSI48_VALUE ((uint32_t)48000000) /*!< Value of the Internal High Speed oscillator for USB in Hz. |
117 | The real value may vary depending on the variations |
117 | The real value may vary depending on the variations |
118 | in voltage and temperature. */ |
118 | in voltage and temperature. */ |
119 | #endif /* HSI48_VALUE */ |
119 | #endif /* HSI48_VALUE */ |
120 | 120 | ||
121 | /** |
121 | /** |
122 | * @brief Internal Low Speed oscillator (LSI) value. |
122 | * @brief Internal Low Speed oscillator (LSI) value. |
123 | */ |
123 | */ |
124 | #if !defined (LSI_VALUE) |
124 | #if !defined (LSI_VALUE) |
125 | #define LSI_VALUE ((uint32_t)40000) |
125 | #define LSI_VALUE ((uint32_t)40000) |
126 | #endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz |
126 | #endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz |
127 | The real value may vary depending on the variations |
127 | The real value may vary depending on the variations |
128 | in voltage and temperature. */ |
128 | in voltage and temperature. */ |
129 | /** |
129 | /** |
130 | * @brief External Low Speed oscillator (LSI) value. |
130 | * @brief External Low Speed oscillator (LSI) value. |
131 | */ |
131 | */ |
132 | #if !defined (LSE_VALUE) |
132 | #if !defined (LSE_VALUE) |
133 | #define LSE_VALUE ((uint32_t)32768) /*!< Value of the External Low Speed oscillator in Hz */ |
133 | #define LSE_VALUE ((uint32_t)32768) /*!< Value of the External Low Speed oscillator in Hz */ |
134 | #endif /* LSE_VALUE */ |
134 | #endif /* LSE_VALUE */ |
135 | 135 | ||
- | 136 | /** |
|
- | 137 | * @brief Time out for LSE start up value in ms. |
|
- | 138 | */ |
|
136 | #if !defined (LSE_STARTUP_TIMEOUT) |
139 | #if !defined (LSE_STARTUP_TIMEOUT) |
137 | #define LSE_STARTUP_TIMEOUT ((uint32_t)5000) /*!< Time out for LSE start up, in ms */ |
140 | #define LSE_STARTUP_TIMEOUT ((uint32_t)5000) /*!< Time out for LSE start up, in ms */ |
138 | #endif /* LSE_STARTUP_TIMEOUT */ |
141 | #endif /* LSE_STARTUP_TIMEOUT */ |
139 | 142 | ||
140 | /* Tip: To avoid modifying this file each time you need to use different HSE, |
143 | /* Tip: To avoid modifying this file each time you need to use different HSE, |