Uwe Hermann
47b31246ca
rcc: Cosmetics and coding style fixes.
2010-06-29 22:29:57 +02:00
Thomas Otto
141a291e8d
Changed rcc.c to use the new definitions.
2010-05-11 14:26:46 +02:00
Uwe Hermann
93fe67908a
Add more RTC functions and an RTC example.
...
Thanks Lord James <lordjames@y7mail.com> for the patch!
2010-05-10 00:40:42 +02:00
Thomas Otto
4f272b4ad4
Added rcc clock setup function for 16mhz crystal.
2010-05-02 20:20:04 +02:00
Uwe Hermann
e6c72d5cfc
Fix bug: PLLMUL_PLL_CLK_MUL9 is correct.
2010-03-06 15:07:21 +01:00
Uwe Hermann
4390abfd95
Cosmetic and coding style changes.
2010-03-06 14:49:59 +01:00
Uwe Hermann
e7cadf0822
Use direct #includes instead of libopenstm32.h.
2010-03-04 21:25:25 +01:00
Piotr Esden-Tempski
d7489ebfbd
Added standard clock setup routines.
...
Thanks to Thomas Otto for pointing out problems with the clock code in
examples and his clock routine implementations. Based on that the most
common clock combination routines were added to the library and all
routines in examples setting up the clock replaced with calls to that
functions.
2010-03-04 20:37:04 +01:00
Uwe Hermann
3e29876d98
rcc: Add a few functions to set prescalers.
...
Thanks Thomas Otto <tommi@viadmin.org> for the patch!
2010-01-19 19:57:38 +01:00
Uwe Hermann
312db1a301
Fix logic bugs in rcc_wait_for_osc_ready().
...
Thanks Thomas Otto <tommi@viadmin.org> for the patch!
2010-01-14 19:34:30 +01:00
Uwe Hermann
25a003b076
Add rcc_peripheral_{reset,clear_reset} functions.
...
Also, rename two other functions for consistency.
2009-08-31 14:47:07 +02:00
Uwe Hermann
9fd3064cb2
Add more RCC related API functions and their prototypes.
...
This includes:
- rcc_set_sysclk_source()
- rcc_set_pll_multiplication_factor()
- rcc_set_pll_source()
- rcc_set_pllxtpre()
2009-07-22 03:25:14 +02:00
Uwe Hermann
a5a9648144
Add rcc_enable_peripheral_clock() et al, and respective prototypes.
2009-07-22 02:56:04 +02:00
Uwe Hermann
97440d8406
Turn rcc_osc_ready() into rcc_wait_for_osc_ready(), more useful.
2009-07-22 02:38:31 +02:00
Piotr Esden-Tempski
446de38728
Changed all includes to use <foo.h> notation.
2009-07-20 17:54:33 +02:00
Uwe Hermann
4f43d8c622
Fix some compiler warnings.
2009-07-20 15:32:28 +02:00
Uwe Hermann
50b1b50676
Add slightly modified rcc.c file, contributed by Federico Ruiz-Ugalde.
2009-07-20 15:29:43 +02:00