Skip to content

Commit

Permalink
clocks: Provide a 12MHz clock for the DAC
Browse files Browse the repository at this point in the history
  • Loading branch information
jepler committed Sep 15, 2019
1 parent 22de38d commit 7c1c7e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions samd/samd51/clocks.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ void clock_init(void) {
enable_clock_generator_sync(1, GCLK_GENCTRL_SRC_DFLL_Val, 1, false);
enable_clock_generator_sync(4, GCLK_GENCTRL_SRC_DPLL0_Val, 1, false);
enable_clock_generator_sync(5, GCLK_GENCTRL_SRC_DFLL_Val, 24, false);
enable_clock_generator_sync(6, GCLK_GENCTRL_SRC_DFLL_Val, 4, false);

init_clock_source_dpll0();

Expand Down

0 comments on commit 7c1c7e3

Please sign in to comment.