Skip to content

Commit 5cfee65

Browse files
committed
STM32H7: LSI clock selection when LSE is not available
1 parent 1afece7 commit 5cfee65

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_hal_rcc.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,9 @@ typedef struct
430430
/** @defgroup RCC_RTC_Clock_Source RCC RTC Clock Source
431431
* @{
432432
*/
433+
/* MBED */
434+
#define RCC_RTCCLKSOURCE_NO_CLK (0x00000000U)
435+
/* MBED */
433436
#define RCC_RTCCLKSOURCE_LSE (0x00000100U)
434437
#define RCC_RTCCLKSOURCE_LSI (0x00000200U)
435438
#define RCC_RTCCLKSOURCE_HSE_DIV2 (0x00002300U)

0 commit comments

Comments
 (0)