Benjamin Valentin 9d482c4448 cpu/sam0_common: RTC: only write TAMPCTRL when tamper is enabled
If we configure TAMPCTRL early, GPIO events will set bits in the
TAMPCTRL register.
That means that after a wake-up, we can't tell if the bit was set
because it was the wake-up source or if it was already set by a
run-time GPIO event.
2021-04-13 10:45:16 +02:00
..
2021-02-18 10:46:08 +01:00
2021-02-14 00:29:47 +01:00
2021-02-18 10:46:08 +01:00
2020-07-16 17:01:10 +02:00