atmel-samd/samd21: Enable OSC32K

Enable OSC32K which is used by the RTC.
For some reason the RTC worked without enabling it.
This commit is contained in:
Noralf Trønnes 2018-04-28 13:57:51 +02:00
parent 4a2a553647
commit f21c2494cb
1 changed files with 3 additions and 3 deletions

View File

@ -109,7 +109,7 @@
// <i> Indicates whether configuration for OSC32K is enabled or not
// <id> enable_osc32k
#ifndef CONF_OSC32K_CONFIG
#define CONF_OSC32K_CONFIG 0
#define CONF_OSC32K_CONFIG 1
#endif
// <h> 32kHz Internal Oscillator (OSC32K) Control
@ -117,7 +117,7 @@
// <i> Indicates whether Internal 32K Oscillator is enabled or not
// <id> osc32k_arch_enable
#ifndef CONF_OSC32K_ENABLE
#define CONF_OSC32K_ENABLE 0
#define CONF_OSC32K_ENABLE 1
#endif
// <q> On Demand Control
@ -142,7 +142,7 @@
// <i> Enable 32 Khz Output
// <id> osc32k_arch_en32k
#ifndef CONF_OSC32K_EN32K
#define CONF_OSC32K_EN32K 0
#define CONF_OSC32K_EN32K 1
#endif
// <q> Enable 1K