1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/boards/common/sodaq/include
Benjamin Valentin 1496149bba cpu/sam0: don't hard-code peripheral clocks
Instead of hard-coding the peripheral clocks to CLOCK_CORECLOCK
introduce helper functions to return the frequency of the individual
GCLKs and use those for baud-rate calculations.

This requires the GCLK to be part of the peripheral's config struct.
While this is already the case for most peripherals, this also adds
it for those where it wasn't used before.

As it defaults to 0 (CLOCK_CORECLOCK) no change is to be expected.
2020-02-04 21:06:21 +01:00
..
board_common.h boards: add common sodaq module 2019-10-21 08:33:11 +02:00
cfg_clock_default.h boards: add common sodaq module 2019-10-21 08:33:11 +02:00
cfg_rtc_default.h boards: remove RTT_NUMOF/RTC_NUMOF 2019-11-08 14:20:33 +01:00
cfg_rtt_default.h boards: remove RTT_NUMOF/RTC_NUMOF 2019-11-08 14:20:33 +01:00
cfg_spi_default.h cpu/sam0: use GCLK ID instead of bitmask 2020-02-04 21:06:21 +01:00
cfg_timer_default.h cpu/sam0: use GCLK ID instead of bitmask 2020-02-04 21:06:21 +01:00
cfg_usbdev_default.h cpu/sam0: don't hard-code peripheral clocks 2020-02-04 21:06:21 +01:00