Skip to content

Commit 3384cea

Browse files
committed
STM32H7 : add LSI
1 parent a415dfa commit 3384cea

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_hal_conf.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,15 @@
121121
#define HSI_VALUE ((uint32_t)64000000) /*!< Value of the Internal oscillator in Hz*/
122122
#endif /* HSI_VALUE */
123123

124+
/**
125+
* @brief Internal Low Speed oscillator (LSI) value.
126+
*/
127+
#if !defined (LSI_VALUE)
128+
#define LSI_VALUE 32000U /*!< LSI Typical Value in Hz*/
129+
#endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz
130+
The real value may vary depending on the variations
131+
in voltage and temperature. */
132+
124133
/**
125134
* @brief External Low Speed oscillator (LSE) value.
126135
* This value is used by the UART, RTC HAL module to compute the system frequency

0 commit comments

Comments
 (0)