RTC on STM32 ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2013-12-26 9:07 PM
Posted on December 27, 2013 at 06:07
Guys,
Does anyone know on how to initialize RTC on STM32 and display the content of the register to LCD ? Any links or reference will be appreciated, Thank you #think!
This discussion is locked. Please start a new topic to ask your question.
10 REPLIES 10
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-01-07 10:49 PM
Posted on January 08, 2014 at 07:49
I got it guys,
/* Load the Counter value */ Tmp = RTC_GetCounter(); /* Compute hours */ THH = ( Tmp / 3600 ) % 24; /* Compute minutes */ TMM = ( Tmp / 60 ) % 60; /* Compute seconds */ TSS = Tmp % 60;
- « Previous
-
- 1
- 2
- Next »