Re: [libopenstm32-devel] Complete RTC functions
Status: Inactive
Brought to you by:
uh1763
From: Uwe H. <uw...@he...> - 2010-05-09 22:46:19
|
Hi, On Sun, May 09, 2010 at 06:58:21AM -0700, Lord James wrote: > Attached are updated rtc.c, rtc.h, rcc.h, rcc.c files and a real time clock example. > > I think the RTC library is pretty complete now, and I added one function to the rcc library. Even though it only relates to the real time clock module, it only changes an RCC register. > > The example simply prints the contents of the counter register in binary over the USART1, using the seconds interrupt for timing. Thanks, I merged your changes with some cosmetic changes and simplifications. Please let me know if the example (which I also committed as examples/other/rtc/*) still works, didn't yet have the time to test or fully review the code yet. Maybe some changes will follow (consistency renames or the like). I also added your copyright line to the rtc.c and example file. Thanks, Uwe. -- http://hermann-uwe.de | http://sigrok.org http://randomprojects.org | http://unmaintained-free-software.org |