8000 atmel-samd/samd21: Enable OSC32K · godlygeek/circuitpython@f21c249 · GitHub
[go: up one dir, main page]

Skip to content

Commit f21c249

Browse files
committed
atmel-samd/samd21: Enable OSC32K
Enable OSC32K which is used by the RTC. For some reason the RTC worked without enabling it.
1 parent 4a2a553 commit f21c249

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ports/atmel-samd/asf4_conf/samd21/hpl_sysctrl_config.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,15 @@
109109
// <i> Indicates whether configuration for OSC32K is enabled or not
110110
// <id> enable_osc32k
111111
#ifndef CONF_OSC32K_CONFIG
112-
#define CONF_OSC32K_CONFIG 0
112+
#define CONF_OSC32K_CONFIG 1< A6FD /div>
113113
#endif
114114

115115
// <h> 32kHz Internal Oscillator (OSC32K) Control
116116
// <q> Internal 32K Oscillator Enable
117117
// <i> Indicates whether Internal 32K Oscillator is enabled or not
118118
// <id> osc32k_arch_enable
119119
#ifndef CONF_OSC32K_ENABLE
120-
#define CONF_OSC32K_ENABLE 0
120+
#define CONF_OSC32K_ENABLE 1
121121
#endif
122122

123123
// <q> On Demand Control
@@ -142,7 +142,7 @@
142142
// <i> Enable 32 Khz Output
143143
// <id> osc32k_arch_en32k
144144
#ifndef CONF_OSC32K_EN32K
145-
#define CONF_OSC32K_EN32K 0
145+
#define CONF_OSC32K_EN32K 1
146146
#endif
147147

148148
// <q> Enable 1K

0 commit comments

Comments
 (0)
0