[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

View File

@@ -35,7 +35,8 @@ OBJS = rcc.o gpio.o flash.o exti2.o pwr.o timer.o \
pwr_common_all.o \
gpio_common_all.o gpio_common_f24.o dma_common_f24.o spi_common_all.o \
dac_common_all.o usart_common_all.o iwdg_common_all.o i2c_common_all.o \
crc_common_all.o
crc_common_all.o \
rtc_common_bcd.o
VPATH += ../../usb:../:../../cm3:../common