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 387
387
// <i> Indicates whether generic clock 5 configuration is enabled or not
388
388
// <id> enable_gclk_gen_5
389
389
#ifndef CONF_GCLK_GENERATOR_5_CONFIG
390
- #define CONF_GCLK_GENERATOR_5_CONFIG 0
390
+ #define CONF_GCLK_GENERATOR_5_CONFIG 1
391
391
#endif
392
392
393
393
// <h> Generic Clock Generator Control
404
404
// <i> This defines the clock source for generic clock generator 5
405
405
// <id> gclk_gen_5_oscillator
406
406
#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
408
408
#endif
409
409
410
410
// <q> Run in Standby
446
446
// <i> Indicates whether Generic Clock Generator Enable is enabled or not
447
447
// <id> gclk_arch_gen_5_enable
448
448
#ifndef CONF_GCLK_GEN_5_GENEN
449
- #define CONF_GCLK_GEN_5_GENEN 0
449
+ #define CONF_GCLK_GEN_5_GENEN 1
450
450
#endif
451
451
// </h>
452
452
453
453
//<h> Generic Clock Generator Division
454
454
//<o> Generic clock generator 5 division <0x0000-0xFFFF>
455
455
// <id> gclk_gen_5_div
456
456
#ifndef CONF_GCLK_GEN_5_DIV
457
- #define CONF_GCLK_GEN_5_DIV 62
457
+ #define CONF_GCLK_GEN_5_DIV 6
458
458
#endif
459
459
// </h>
460
460
// </e>
Original file line number Diff line number Diff line change 33
33
34
34
// <i> Select the clock source for ADC.
35
35
#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
37
37
#endif
38
38
39
39
/**
40
40
* \def CONF_GCLK_ADC0_FREQUENCY
41
41
* \brief ADC0's Clock frequency
42
42
*/
43
43
#ifndef CONF_GCLK_ADC0_FREQUENCY
44
- #define CONF_GCLK_ADC0_FREQUENCY 12000000
44
+ #define CONF_GCLK_ADC0_FREQUENCY 8000000
45
45
#endif
46
46
47
47
/**
You can’t perform that action at this time.
0 commit comments