Piotr Esden-Tempski
e599e34073
Updated all rcc_clock_setups to use the new lookup tables.
...
The old "one function per config" system is depricated for quite a while
now...
2021-06-19 02:19:47 -07:00
Karl Palsson
c03b580722
stm32: morse timer: remove WFI where not critical
...
__WFI is not standardized, though often provided. As it's not a core
part of this example, drop it.
2016-12-17 00:24:36 +00:00
Karl Palsson
9af2b8c7fb
stm32: morse timer: standardize example
...
Simplify, clarify and synchronize the two morse LED blinker examples.
Prepare for one day extracting the core as common morse example code.
2016-12-17 00:23:10 +00:00
Valentin Ochs
da04ccdf71
stm32: timer: Clarify some misleading comments.
...
Start clearing up misleading/redundant commentary.
2016-12-16 22:35:22 +00:00
Karl Palsson
1260b16772
timer_reset -> rcc_periph_reset_pulse() replace
...
timer_reset wasn't fully implemented for all timers on all series, and
was simply a wrapper of the RST bits in the RCC registers anyway.
First part of https://github.com/libopencm3/libopencm3/issues/709
2016-12-16 21:32:36 +00:00
Frantisek Burian
5bb4d47aae
Examples updated to use new rcc_periph_clock_enable function
2014-02-13 19:14:59 +01:00
Karl Palsson
92624b7d01
[stm32x] Use modern header include paths.
...
Replace includes of stm32/YY/xxxx.h with stm32/xxxx.h
Replace stm32/YY/nvic.h with cm3/nvic.h.
In some cases, the include list was resorted alphabetically when it was
complicated and I was reviewing them manually, but most of this was
automatically done.
2013-12-13 14:13:47 +00:00
Piotr Esden-Tempski
f5b0aa5638
Updated to the new locm3 changed to stdint types.
2013-06-16 19:07:22 -07:00
Piotr Esden-Tempski
9d5526f773
Initial commit.
2013-04-19 17:19:32 -07:00