system_same54.c
Go to the documentation of this file.
#include "same54.h"
#define __SYSTEM_CLOCK (48000000)
uint32_t SystemCoreClock = __SYSTEM_CLOCK;
void SystemInit(void)
{
// Keep the default device state after reset
SystemCoreClock = __SYSTEM_CLOCK;
return;
}
void SystemCoreClockUpdate(void)
{
// Not implemented
SystemCoreClock = __SYSTEM_CLOCK;
return;
}
SystemCoreClock
uint32_t SystemCoreClock
Definition: system_same54.c:38
__SYSTEM_CLOCK
#define __SYSTEM_CLOCK
Definition: system_same54.c:36
SystemCoreClockUpdate
void SystemCoreClockUpdate(void)
Updates the SystemCoreClock with current core Clock retrieved from cpu registers.
Definition: system_same54.c:59
SystemInit
void SystemInit(void)
Setup the microcontroller system. Initialize the System and update the SystemCoreClock variable.
Definition: system_same54.c:46
same54.h
Top header file for SAME54.