2021-06-09 02:13 AM
why sTimeStampDate->Year = 0U; variable is cleared when time stamp is read?
2021-06-09 06:53 AM
Which STM32?
RTC_TSDR does not have a field for Year, whereas the structure used as type for sTimeStampDate is a common structure for all RTC dates, i.e. it does contain year, so this is a way to initialize it to some definite value.
JW
2021-06-17 12:58 AM
stm32f411re, it looks like there is no year for the timestamp register, checked with ds and rm