aboutsummaryrefslogtreecommitdiff
path: root/lib/stm32/l1/rcc.c
AgeCommit message (Collapse)Author
2013-02-18Adjusted code for l1 to the new api introduced by karlp in pr #84Piotr Esden-Tempski
2013-02-18Merge pull request #84 "Pr flash reg rename"Piotr Esden-Tempski
Merge remote-tracking branch 'karlp/pr_flash-reg-rename' Conflicts: include/libopencm3/stm32/l1/flash.h
2013-01-23[flash] l1: use "proper" bit definition naming.Karl Palsson
Part 1 of 4: updated l1 to use flash_<reg>_bit instead of just flash_bit
2013-01-23Add examples making use of the RTCKarl Palsson
Add an example using the RTC to help with a lower power design. This is a sister example to the existing "button-irq-printf", which is functionally identical, but uses far less power. There's more tricks that can be done to lower the power even further, but this shows a few of the early steps that can be done, using the RTC wakeup instead of a timer.
2013-01-22[l1] rcc: support MSI clockingKarl Palsson
Some new definitions and helpers. Main change really that the list of preconfigured clock configs is no longer restricted to HSI/PLL
2013-01-22[l1] PWR: fix style for common codeKarl Palsson
Code added for L1 to support the PWR Control block didn't properly follow the HACKING_COMMON_DOC guidelines. The naming was wrong, and some headers were missing. This commit has no functional changes, it only addresses the style and structure problems.
2013-01-22[l1] fix whitespace and missing license infoKarl Palsson
Earlier additions to the L1 support were not correctly using linux coding guidelines as specified in /HACKING. Some examples were also missing license information.
2012-11-14[l1] Add rcc clock setup helper routinesKarl Palsson
Despite the L1 being a low power device, my initial focus is on making it basically compatible with existing devices. To that end, provide clock setup helper routines that configure it for maximum performance, allowing some similar clock speeds to F1 devices to help with testing. This requires adding the power chipset routines to set the voltage range. Clock setup style is similar to the F4 code, which seems nicer than the overflow of different routines used on the F1 code. NOTE: Both the F4 existing pwr code, and this code don't actually include the f1 core power code, even though it should be compatible
2012-11-07Add most of the rcc functions.Karl Palsson
(Add the forgotten gpio.c file from before)