Skip to content

Commit

Permalink
Merge pull request #26 from jepler/dac-clock
Browse files Browse the repository at this point in the history
clocks: Provide a 12MHz clock for the DAC
  • Loading branch information
tannewt committed Sep 16, 2019
2 parents 22de38d + 7c1c7e3 commit 2ba5b20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions samd/samd51/clocks.c
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 2ba5b20

Please sign in to comment.