Quantcast
Channel: Renesas Synergy Platform
Viewing all articles
Browse latest Browse all 23645

Forum Post: RE: RTC month question SSP v1.2.0 vs v1.1.3

$
0
0
Thank you Gary and Karol for your responses. So it sounds like in order to use the RTC calendar functions correctly via the Synergy RTC driver, we need to do the following: 1) rtc_time_t.tm_mon uses the C standard of 0 to 11 but we need to make the changes to r_rtc.c per Gary's instructions until the next revision of SSP. 2) rtc_time_t.tm_year does not use the C standard of years since 1900 but instead uses years since 2000 and should be in the range of 0 to 99. Is this correct? If so, is this documented somewhere, especially the tm_year range since Synergy is not using the C time_t standard? I don't see it in the SSP User Manual nor in any of the code. Thanks, Jeff

Viewing all articles
Browse latest Browse all 23645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>