|
TM STM32F4xx Libraries
v1.0.0
Libraries for STM32F4xx devices from Tilen Majerle
|
RTC Library for STM32F4xx devices - http://stm32f4-discovery.com/2014/07/library-19-use-internal-rtc-on-stm32f4xx-devices/. More...
Modules | |
| TM_RTC_Macros | |
| Library defines. | |
| TM_RTC_Typedefs | |
| Library Typedefs. | |
| TM_RTC_Functions | |
| Library Functions. | |
RTC Library for STM32F4xx devices - http://stm32f4-discovery.com/2014/07/library-19-use-internal-rtc-on-stm32f4xx-devices/.
- Support Internal or external clock source - PC14 and PC15 pins are used for external crystal oscillator - STM32F4/429 Discovery does not have RTC crystal onboard. Check board's manual on how to set it up - Support wakeup interrupt - Support to set 2 internal alarms to trigger interrupts - They can also wake up STM32F4 from any low power mode - Get seconds from 01.01.1970 00:00:00 - Get readable time from seconds from 01.01.1970 00:00:00 - Support to save/get data in binary or BCD format - Support for read/write data to/from RTC backup registers - Support for subsecond - Support to write data in string format - Date and time are checked before saved for valid input data - Get days in month and year
STM32F4XX Oscillator Description
PC14 OSC1 Oscillator terminal 1
PC15 OSC2 Oscillator terminal 2
Version 1.7.1
- March 25, 2015
- Fixed issue with RTC wakeup interrupts
Version 1.7
- March 15, 2015
- Added support for read/write data to/from RTC backup registers
Version 1.6
- February 17, 2015
- Created typedef TM_RTC_t from TM_RTC_Time_t
Version 1.5
- December 21, 2014
- Added 2 new functions:
TM_RTC_GetDaysInMonth: returns number of days in specific month and year
TM_RTC_GetDaysInYear: returns number of days in specific year
Version 1.4
- December 21, 2014
- TM_RTC_SetDateTime now checks for valid input data before save
- Added function TM_RTC_SetDateTimeString which allows you to set your
date and time using string format
Version 1.3
- December 03, 2014
- Fixed bug when reading month in december was set to 0
Version 1.2
- October 27, 2014
- Added support to read subseconds from time
- This can be used for stopwatch
Version 1.1
- October 20, 2014
- Added support for Alarm set
Version 1.0.2
- September 24, 2014
- TM_RTC_RequestHandler function has now "__weak" attribute to prevent errors,
if function is not implemented by user
Version 1.0.1
- September 01, 2014
- Date to unix convert bug fix
Version 1.0
- First release
- STM32F4xx - STM32F4xx RCC - STM32F4xx RTC - STM32F4xx PWR - STM32F4xx EXTI - MISC - defines.h - attributes.h