File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
external/asf4-drivers/Config Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 387387// <i> Indicates whether generic clock 5 configuration is enabled or not
388388// <id> enable_gclk_gen_5
389389#ifndef CONF_GCLK_GENERATOR_5_CONFIG
390- #define CONF_GCLK_GENERATOR_5_CONFIG 0
390+ #define CONF_GCLK_GENERATOR_5_CONFIG 1
391391#endif
392392
393393// <h> Generic Clock Generator Control
404404// <i> This defines the clock source for generic clock generator 5
405405// <id> gclk_gen_5_oscillator
406406#ifndef CONF_GCLK_GEN_5_SOURCE
407- #define CONF_GCLK_GEN_5_SOURCE GCLK_GENCTRL_SRC_GCLKGEN1
407+ #define CONF_GCLK_GEN_5_SOURCE GCLK_GENCTRL_SRC_DFLL
408408#endif
409409
410410// <q> Run in Standby
446446// <i> Indicates whether Generic Clock Generator Enable is enabled or not
447447// <id> gclk_arch_gen_5_enable
448448#ifndef CONF_GCLK_GEN_5_GENEN
449- #define CONF_GCLK_GEN_5_GENEN 0
449+ #define CONF_GCLK_GEN_5_GENEN 1
450450#endif
451451// </h>
452452
453453//<h> Generic Clock Generator Division
454454//<o> Generic clock generator 5 division <0x0000-0xFFFF>
455455// <id> gclk_gen_5_div
456456#ifndef CONF_GCLK_GEN_5_DIV
457- #define CONF_GCLK_GEN_5_DIV 62
457+ #define CONF_GCLK_GEN_5_DIV 6
458458#endif
459459// </h>
460460// </e>
Original file line number Diff line number Diff line change 3333
3434// <i> Select the clock source for ADC.
3535#ifndef CONF_GCLK_ADC0_SRC
36- #define CONF_GCLK_ADC0_SRC GCLK_PCHCTRL_GEN_GCLK2_Val
36+ #define CONF_GCLK_ADC0_SRC GCLK_PCHCTRL_GEN_GCLK5_Val
3737#endif
3838
3939/**
4040 * \def CONF_GCLK_ADC0_FREQUENCY
4141 * \brief ADC0's Clock frequency
4242 */
4343#ifndef CONF_GCLK_ADC0_FREQUENCY
44- #define CONF_GCLK_ADC0_FREQUENCY 12000000
44+ #define CONF_GCLK_ADC0_FREQUENCY 8000000
4545#endif
4646
4747/**
You can’t perform that action at this time.
0 commit comments