Joshua DeWeese
6c91865916
cpu/stm32: add missing include of cpu_common.c's header
...
Following best practice, this patch adds the module's header as its
first include. Resulting compiler errors are also fixed by adding the
header's missing include of cpu_conf.h.
2024-05-23 22:27:01 -04:00
Joshua DeWeese
c05b119fa9
cpu/stm32: de-duplicate ifdefs
...
This patch consolidates mutliple conditional compile blocks. This is
done to simplify adding new STM32 CPU's and ease maintenance of existing
ports.
2024-05-23 22:27:01 -04:00
Jason Parker
b5d72d8242
cpu/stm32: add CPU_FAM_STM32C0 support
2024-01-29 14:44:10 -05:00
Joshua DeWeese
094977d9e0
cpu/stm32: make bus arg consistent
...
Some periph clock functions took the bus arg as a `uin8_t`, others took
it as a `bus_t`. This patch makes them all take it as a `bus_t`.
2023-05-19 10:44:24 -04:00
Joshua DeWeese
99337cda9c
cpu/stm32: fix incorrect doc
...
The doxygen doc for `periph_lpclk_dis()` and `periph_clk_dis()` we
flip-flopped. This patch corrects this.
2023-05-19 10:44:24 -04:00
4d75c6ddde
cpu/stm32: group periph definitions by periph type
2022-01-02 20:07:51 +01:00