[stm32] Support the "new" BCD style RTC peripheral

Add the register definitions and some of the most basic helper functions
for the new style BCD RTC module found on the F2, F4, L1, F3 and F0.

This tries to keep as close to HACKING_COMMON_DOC as possible, while
maintaining sane names.
This commit is contained in:
Karl Palsson
2013-01-22 23:37:54 +00:00
parent b6ee57a5b9
commit e5b3250382
13 changed files with 619 additions and 2 deletions
+5
View File
@@ -17,6 +17,11 @@
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* The F1 RTC is a straight timestamp, a completely different peripheral to
* that found in the F2, F3, F4, L1 and F0.
*/
#ifndef LIBOPENCM3_RTC_H
#define LIBOPENCM3_RTC_H