SAME54P20A Test Project
arch
arm
SAME54
SAME54A
mcu
src
system_same54.c
Go to the documentation of this file.
1
30
#include "
same54.h
"
31
36
#define __SYSTEM_CLOCK (48000000)
37
38
uint32_t
SystemCoreClock
=
__SYSTEM_CLOCK
;
46
void
SystemInit
(
void
)
47
{
48
// Keep the default device state after reset
49
SystemCoreClock
=
__SYSTEM_CLOCK
;
50
return
;
51
}
52
59
void
SystemCoreClockUpdate
(
void
)
60
{
61
// Not implemented
62
SystemCoreClock
=
__SYSTEM_CLOCK
;
63
return
;
64
}
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.
Generated by
1.8.20