SAM3X/Arduino Due: Fix typo in sam3x_periphclks.h; add SCLK definitions to board.h header file. From Fabien Comte
This commit is contained in:
parent
e57d2e5460
commit
f24072a91b
@ -60,14 +60,14 @@
|
|||||||
* definitions will configure clocking with MCK = 120MHz, PLLA = 240, and CPU=120MHz.
|
* definitions will configure clocking with MCK = 120MHz, PLLA = 240, and CPU=120MHz.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Main oscillator register settings */
|
|
||||||
|
|
||||||
#define BOARD_CKGR_MOR_MOSCXTST (63 << PMC_CKGR_MOR_MOSCXTST_SHIFT) /* Start-up Time */
|
|
||||||
|
|
||||||
#define BOARD_32KOSC_FREQUENCY (32768)
|
#define BOARD_32KOSC_FREQUENCY (32768)
|
||||||
#define BOARD_SCLK_FREQUENCY (BOARD_32KOSC_FREQUENCY)
|
#define BOARD_SCLK_FREQUENCY (BOARD_32KOSC_FREQUENCY)
|
||||||
#define BOARD_MAINOSC_FREQUENCY (12000000)
|
#define BOARD_MAINOSC_FREQUENCY (12000000)
|
||||||
|
|
||||||
|
/* Main oscillator register settings */
|
||||||
|
|
||||||
|
#define BOARD_CKGR_MOR_MOSCXTST (63 << PMC_CKGR_MOR_MOSCXTST_SHIFT) /* Start-up Time */
|
||||||
|
|
||||||
#ifdef CONFIG_SAM34_UDP
|
#ifdef CONFIG_SAM34_UDP
|
||||||
/* PLLA configuration:
|
/* PLLA configuration:
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user