We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6603903 commit daec5a9Copy full SHA for daec5a9
1 file changed
bsp/stm32/libraries/HAL_Drivers/drivers/drv_rtc.c
@@ -46,12 +46,20 @@ static RTC_AlarmTypeDef Alarm_InitStruct = { 0 };
46
static struct rtc_device_object rtc_device;
47
static RTC_HandleTypeDef RTC_Handler;
48
49
+#ifdef SOC_SERIES_STM32H7
50
+rt_weak uint32_t HAL_RTCEx_BKUPRead(const RTC_HandleTypeDef *hrtc, uint32_t BackupRegister)
51
+#else
52
rt_weak uint32_t HAL_RTCEx_BKUPRead(RTC_HandleTypeDef *hrtc, uint32_t BackupRegister)
53
+#endif
54
{
55
return (~BKUP_REG_DATA);
56
}
57
58
59
+rt_weak void HAL_RTCEx_BKUPWrite(const RTC_HandleTypeDef *hrtc, uint32_t BackupRegister, uint32_t Data)
60
61
rt_weak void HAL_RTCEx_BKUPWrite(RTC_HandleTypeDef *hrtc, uint32_t BackupRegister, uint32_t Data)
62
63
64
return;
65
0 commit comments