Karl Palsson
08aac020ad
stm32: rcc: provide async routines for osc checks
...
Start providing async routines for all blocking routines, to make it
easier to use libopencm3 in some RTOS environments. This is not in
anyway intended to be complete, this just covers a single blocking
routine, rcc_wait_for_osc_ready. Documentation added to the top level,
and provided for all stm32 families.
2016-08-18 23:41:04 +00:00
Karl Palsson
4eb51ecaea
stm32: rcc: rcc_wait_for_osc_ready is always available
...
Move the prototype to the common_all header and include documentation.
2016-08-18 23:41:04 +00:00
Karl Palsson
c5b00c3dda
stm32l4: rcc: MSI range handling
2016-03-30 16:59:57 +00:00
Karl Palsson
97d644c4d3
stm32l4: rcc: Add core functions
...
Based on STM32L1, and rather a lot of duplication unfortunately.
2016-03-30 16:59:57 +00:00
Karl Palsson
b69916837e
stm32l4: rcc: missing pllp definitions
...
These are important for implementing the PLL helper functions.
2016-03-30 16:59:57 +00:00
Karl Palsson
9047b8c5f4
stm32l4: rcc: correct register name
...
Use the same name as the reference manual and the same name as other parts.
2016-03-30 16:59:57 +00:00
Karl Palsson
697c975dde
stm32l4: adc: Initial support for the adc-v2 periph
...
Now that there's an adc-v2 peripheral layer, we can just use it straight away
for L4.
2016-03-30 16:59:56 +00:00
Karl Palsson
20e1ee174d
stm32l4: rcc: fix typo in RCC_CR_CSSON bit define
...
Reported by @benjaminlevine
2016-03-06 23:26:05 +00:00
Piotr Esden-Tempski
b1049f9a6f
[Style] Stylefix sweep over the whole codebase.
2015-12-14 22:57:15 +01:00
Karl Palsson
8afc983f3e
stm32l4: Add RCC definitions
...
Bring in the core common code, and now that it's used, pull in the common
memorymap
2015-11-13 01:15:17 +00:00