cancel
Showing results for 
Search instead for 
Did you mean: 

How can be possible to read Alarm registers in RTC module?

Denis Makarov
Associate
Posted on July 12, 2018 at 20:00

Hello!

The question is about reading values from Alarm registers (RTC_ALRL and RTC_ALRH) of the RTC module in STM32F1xx family devices. To be m

ore precisely, the question how to be ensure about correct values

. These two registers are both allow only write access as it specified in reference manual RM0008 (DocID13902 Rev 17) on page 491. But in HAL library module stm32f1xx_hal_rtc.c there is a function that intend to use read access from those registers. Are the values to be read reliable? If it is, these access methods have to be specified in documentation.

Sincerely yours,

Denis M.

#stm32f1 #rtc #hal #alarm
0 REPLIES 0