Guillaume Revaillot
f99e711873
stm32g0: lptim: add additional cr bits and cfgr2 reg.
2019-07-05 11:43:11 +02:00
Guillaume Revaillot
811aebf096
stm32: lptimer: enable lptimer.h usage on f4,f7,l4 and g0 chips.
2019-07-05 10:48:55 +02:00
Guillaume Revaillot
2975c3151a
stm32: extract l0 lptimer stuff from timer.h to common lptimer.h
...
lptimer peripheral is present on f4,f7,l0,l4,g0,g4 and prob others. Extract
content from stm32l0 timer.h and make it usable by other chips.
2019-07-05 10:48:26 +02:00
Guillaume Revaillot
689e326f5f
stm32f4: lptim1 sits at 0x40002400 on stm32f410, update memorymap
2019-07-02 18:27:43 +02:00
Karl Palsson
38d88c6113
doc: stm32f0: rcc: add missing groups for pll factors and sources
2019-06-27 14:53:09 +00:00
Karl Palsson
8744df10a6
doc: gd32: make groups match what's used.
...
Fixes the missing top level groupings here.
2019-06-25 21:15:35 +00:00
Karl Palsson
0cd06bcc97
doc: gd32/f1x0: fix missing tags, drop wrong tags
...
Drop incorrect/redundant type information from doxygen parameters
Adds groupings that are referred to.
2019-06-25 21:15:35 +00:00
Karl Palsson
1964fd72f2
doc: stm32f3: adc: register base addresses had landed outside a group
2019-06-25 21:15:35 +00:00
Karl Palsson
1b10a0871c
doc: cm3: mpu: fix typo
2019-06-25 21:15:19 +00:00
Karl Palsson
60991ac306
doc: cm3: nvic: convert existing docs to doxygen
...
Make it visible
2019-06-25 21:15:19 +00:00
Karl Palsson
69ce9f876f
doc: core cm3: standard titles
...
easier on the eyes reading the list of docs
2019-06-25 21:15:19 +00:00
Karl Palsson
f63145db07
doc: stm32f7: rcc: add missing top level groups
2019-06-25 21:15:19 +00:00
Karl Palsson
1f359e0cb8
doc: efm32: tag USB files for doxygen generation
2019-06-25 21:15:19 +00:00
Karl Palsson
2d1277e1fa
doc: efm32: uart/usart provide common doxygen
...
Fix some direct includes, tag properly, include a stub file to pull in
shared header documentation and re-arrange some existing documentation
to make it present nicely.
2019-06-25 21:15:19 +00:00
Karl Palsson
56265ad93f
doc: efm32: rtc: tag and include in generated output
...
Includes the sutb file ncessary to find shared headers without any apis
2019-06-25 21:15:19 +00:00
Karl Palsson
6df301accc
doc: efm32: timer: properly tag the shared header as well
2019-06-25 21:15:19 +00:00
Karl Palsson
531aa7e6b7
doc: efm32: rmu: include in doxygen generation
...
Include a stub .c file for shared code generation
2019-06-25 21:15:19 +00:00
Karl Palsson
75f6cbfd9d
doc: efm32: msc: tag for doxygen inclusion
...
Includes a stub .c file to trigger common code generation
2019-06-25 21:15:19 +00:00
Karl Palsson
c92f3dc0ad
doc: efm32: letimer: include tags for doxygen
...
Include a stub .c file to document the shared headers.
2019-06-25 21:15:19 +00:00
Karl Palsson
25dc3a9b4b
doc: efm32: i2c: tag for doxygen
...
Includes a stub .c file until there are some APIs
2019-06-25 21:15:19 +00:00
Karl Palsson
4c01e47aed
doc: efm32: emu: tag for doxygen properly
...
Requires a stub .c file to make the common files be included until we
build some APIs.
2019-06-25 21:15:19 +00:00
Karl Palsson
764fbed9c8
doc: efm32: dac: fix up mising tags on common file
2019-06-25 21:15:19 +00:00
Karl Palsson
790d624230
doc: efm32: burtc: tag properly for doxyen
...
includes a stub .c file until there are APIs defined.
2019-06-25 21:15:19 +00:00
Karl Palsson
aa99aba7d3
doc: efm32: prs: properly tag for doxygen
2019-06-25 21:15:19 +00:00
Karl Palsson
46514e75c0
doc: efm32: dma: tag headers properly
2019-06-25 21:15:19 +00:00
Karl Palsson
7e2cd050aa
doc: efm32: acmp: document, and include via peripheral_apis
...
Requires a stub .c file as it has common includes with out any common
code (yet)
2019-06-22 01:38:20 +00:00
Karl Palsson
0626f6f75d
doc: efm32: adc: enable peripheral_apis style
2019-06-22 01:38:20 +00:00
Karl Palsson
ae777bb920
doc: efm32: timer: enable peripheral_apis style
2019-06-22 01:38:20 +00:00
Karl Palsson
c8b8285446
doc: efm32: dac: enable peripheral_apis documentation
2019-06-22 01:38:20 +00:00
Karl Palsson
35657bdb61
doc: efm32: wdog: enable documentation via peripheral_apis
2019-06-22 01:38:20 +00:00
Karl Palsson
093edfb881
doc: efm32: cmu: move to peripheral_apis
...
Was completely undocumented before. Just needed different tagging so it
could be picked up.
No attempt at this stage of sharing more code between the cmu modules.
2019-06-22 01:38:20 +00:00
Karl Palsson
9bc432474b
doc: efm32: include gpio_common
...
gpio_common was built, but wasn't picked up by any documentation.
Use the peripheral_apis style from stm32, but try out the #pragma once
style. Downside is you don't get warnings if you include an sub layer
.h file. Upsides are
* no ifdef/endif blocks
* no /**@cond*/ /**@endcond*/ blocks
* that's enough win!
2019-06-22 01:38:20 +00:00
Karl Palsson
6d74262bf4
doc: efm32: define peripheral_apis groups
...
Nothing is _in_ these groups yet, but define them so we can start
filling them out. Follows the stm32 family style.
2019-06-22 01:38:20 +00:00
Karl Palsson
92b4b5a12f
doc: efm32: fix typos in family/group names
2019-06-22 01:38:14 +00:00
Karl Palsson
2d0d29d946
doc: stm32l1: timer: fix params, missing groupings
2019-06-17 22:33:32 +00:00
Guillaume Revaillot
7d344b187d
stm32: dma: add dma_set_channel_request to ease dma cselr usage.
2019-06-17 11:44:44 +00:00
Guillaume Revaillot
eb0bc099f4
stm32l0: dma: include dma_cselr, present on l0x1-2-3.
2019-06-17 11:44:44 +00:00
Guillaume Revaillot
e06898d9a4
stm32: dma: cselr: factorize register definition.
...
F09x and L4 share the same cselr register, as well as some L0s, factorize
definitions in a new shared header and add helpers.
fyi, that register allows to redefine dma channel peripheral mapping - see
device datasheet for mapping tables.
2019-06-17 11:44:44 +00:00
Karl Palsson
19f1160ad1
doc: stm32: timer: remove redundant groupings and consistent names
2019-06-16 18:17:06 +00:00
Karl Palsson
0b0a4de7c2
doc: stm32l0: fix doxygen groupings.
...
Makes some @ingroup directives redundant.
2019-06-16 18:02:41 +00:00
Guillaume Revaillot
594c354068
stm32: l0: timer/lptimer: doc+
...
better doc for l0 lptimer registers, add mask.
2019-06-16 09:48:34 +02:00
Guillaume Revaillot
ab1b0c1a5e
stm32g0: exti doc fixup
2019-06-13 12:04:58 +02:00
Guillaume Revaillot
8173fb7249
stm32g0: add timer.
...
Only tim2/3/7/14 have been really tested yet - but the others should
work as well.
2019-06-13 12:04:58 +02:00
Guillaume Revaillot
74526f00cc
stm32g0: add crc.
...
Regular crc-v2 peripheral, except that CRC_IDR is now 32bit wide - but
not used.
2019-06-13 12:04:58 +02:00
Guillaume Revaillot
38006c3c82
stm32g0: add rng.
...
Regular rng peripheral, with one additional bit : clock error detection
apparently available on l4 chips). Curiously, Clock error detection is
_disabled_ when bit is set, but bit is cleared by default, so peripheral
/ clock error detection behaves like all other chips..
NB: RNG need proper rcc_ccicr_rngsel bits set to work, no clock is set by
default. Note also that on that chip fRNGCLK must be higher than fHCLK/32
2019-06-13 12:04:58 +02:00
Guillaume Revaillot
5a349d3ab6
stm32g0: add i2c.
...
Regular i2c peripheral.
Partially tested as i had no i2c slave on hand, but i can see i2c on my scope..
2019-06-13 12:04:58 +02:00
Guillaume Revaillot
ba3b50a4ad
stm32g0: add spi.
...
classic "common" spi + frf bit spi peripheral.
As for i2c, i could only check signals on scope, no spi slave to check, but looks ok.
2019-06-13 11:56:20 +02:00
Guillaume Revaillot
a51ecb4719
stm32g0: add usart.
2019-06-13 11:56:20 +02:00
Guillaume Revaillot
bb98d0755c
stm32g0: add iwdg.
...
regular v2 iwdg.
2019-06-13 11:07:53 +02:00
Eric Van Albert
3d422a930f
stm32l4: add common DAC support
...
Replace the DAC1_BASE style, only used on l4 with the standard DAC_BASE
used on all other targets.
Reviewed-by: Karl Palsson <karlp@tweak.net.au>
2019-06-12 23:25:22 +00:00