Robobo
|
Provides the low-level initialization functions that called on chip startup. More...
#include "sam3xa.h"
Macros | |
#define | SYS_BOARD_OSCOUNT (CKGR_MOR_MOSCXTST(0x8)) |
#define | SYS_BOARD_PLLAR |
#define | SYS_BOARD_MCKR (PMC_MCKR_PRES_CLK_2 | PMC_MCKR_CSS_PLLA_CLK) |
#define | SYS_UTMIPLL (480000000UL) /* UTMI PLL frequency */ |
#define | SYS_CKGR_MOR_KEY_VALUE CKGR_MOR_KEY(0x37) /* Key to unlock MOR register */ |
Functions | |
void | SystemInit (void) |
Setup the microcontroller system. Initialize the System and update the SystemFrequency variable. More... | |
void | SystemCoreClockUpdate (void) |
Updates the SystemCoreClock with current core Clock retrieved from cpu registers. More... | |
void | system_init_flash (uint32_t dw_clk) |
Variables | |
uint32_t | SystemCoreClock = CHIP_FREQ_MAINCK_RC_4MHZ |
Provides the low-level initialization functions that called on chip startup.
$asf_license$
This file provides basic support for Cortex-M processor based microcontrollers.
#define SYS_BOARD_PLLAR |
void system_init_flash | ( | uint32_t | dw_clk | ) |
Initialize flash.
void SystemCoreClockUpdate | ( | void | ) |
Updates the SystemCoreClock with current core Clock retrieved from cpu registers.
Update SystemCoreClock variable
none |
void SystemInit | ( | void | ) |
Setup the microcontroller system. Initialize the System and update the SystemFrequency variable.
Setup the microcontroller system. Initialize the System and update the SystemCoreClock variable.
uint32_t SystemCoreClock = CHIP_FREQ_MAINCK_RC_4MHZ |
System Clock Frequency (Core Clock)