mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 06:39:01 +08:00
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:
@@ -60,14 +60,14 @@
|
||||
* 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_SCLK_FREQUENCY (BOARD_32KOSC_FREQUENCY)
|
||||
#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
|
||||
/* PLLA configuration:
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user