Benjamin Valentin db2fa33660 sam0_common: rtc: use GCLK4 on SAMD21
The RTC expects to be clocked from a 1kHz source.
Previously it would re-configure GCLK2 from 32kHz to 1kHz when used.

Since GCLK2 is also used by EIC, this would break external interrupts
in strange and unexpected ways.

Dedicate a 1kHz clock to it to avoid the damage.
2019-11-12 11:30:02 +01:00
..
2019-11-06 23:25:53 +01:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-10-21 15:30:22 +02:00
2017-01-20 13:36:26 +01:00