Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
fwatch
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
8
Issues
8
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
fwatch
Commits
a4957b48
Commit
a4957b48
authored
Aug 10, 2014
by
Matthieu Cattin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw: fix bug in backup rtc example, was using LFRCO instead of LFXO.
parent
06fee8aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
main.c
sw/burtc_test/main.c
+1
-1
No files found.
sw/burtc_test/main.c
View file @
a4957b48
...
...
@@ -95,7 +95,7 @@ void setupBurtc(void)
burtcInit
.
enable
=
true
;
/* Enable BURTC after initialization */
burtcInit
.
mode
=
burtcModeEM3
;
/* BURTC is enabled in EM0-EM3 */
burtcInit
.
debugRun
=
false
;
/* Counter shall keep running during debug halt. */
burtcInit
.
clkSel
=
burtcClkSelLF
RCO
;
/* Select LFRC
O as clock source */
burtcInit
.
clkSel
=
burtcClkSelLF
XO
;
/* Select LFX
O as clock source */
burtcInit
.
clkDiv
=
burtcClkDiv_1
;
/* Clock prescaler */
burtcInit
.
lowPowerComp
=
0
;
/* Number of least significantt clock bits to ignore in low power mode */
burtcInit
.
timeStamp
=
true
;
/* Enable time stamp on entering backup power domain */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment