![]() |
S32 SDK
|
Macros | |
#define | SYSTEM_S32K148_H_ |
#define | DISABLE_WDOG 1 |
#define | CPU_XTAL_CLK_HZ 8000000u |
#define | CPU_INT_FAST_CLK_HZ 48000000u |
#define | DEFAULT_SYSTEM_CLOCK 48000000u |
Functions | |
void | SystemInit (void) |
Setup the microcontroller system. More... | |
void | SystemCoreClockUpdate (void) |
Updates the SystemCoreClock variable. More... | |
void | SystemSoftwareReset (void) |
Software Resets the microcontroller system. More... | |
Variables | |
uint32_t | SystemCoreClock |
System clock frequency (core clock) More... | |
#define CPU_INT_FAST_CLK_HZ 48000000u |
Definition at line 66 of file system_S32K148.h.
#define CPU_XTAL_CLK_HZ 8000000u |
Definition at line 61 of file system_S32K148.h.
#define DEFAULT_SYSTEM_CLOCK 48000000u |
Definition at line 71 of file system_S32K148.h.
#define DISABLE_WDOG 1 |
Definition at line 56 of file system_S32K148.h.
#define SYSTEM_S32K148_H_ |
Symbol preventing repeated inclusion
Definition at line 42 of file system_S32K148.h.
void SystemCoreClockUpdate | ( | void | ) |
Updates the SystemCoreClock variable.
It must be called whenever the core clock is changed during program execution. SystemCoreClockUpdate() evaluates the clock register settings and calculates the current core clock. This function must be called when user does not want to use clock manager component. If clock manager is used, the CLOCK_SYS_GetFreq function must be used with CORE_CLOCK parameter.
Definition at line 138 of file system_S32K148.c.
void SystemInit | ( | void | ) |
Setup the microcontroller system.
Typically this function configures the oscillator that is part of the microcontroller device. For systems with variable clock speed it also updates the variable SystemCoreClock. SystemInit is called from startup_device file.
Definition at line 82 of file system_S32K148.c.
void SystemSoftwareReset | ( | void | ) |
Software Resets the microcontroller system.
This function is used to software reset the microcontroller
Definition at line 193 of file system_S32K148.c.
uint32_t SystemCoreClock |
System clock frequency (core clock)
The system clock frequency supplied to the SysTick timer and the processor core clock. This variable can be used by the user application to setup the SysTick timer or configure other parameters. It may also be used by debugger to query the frequency of the debug timer or configure the trace clock speed SystemCoreClock is initialized with a correct predefined value.
Definition at line 71 of file system_S32K148.c.