STM32 core 3.0.1-dev
Arduino core for STM32 based boards: API reference
← STM32duino documentation
Loading...
Searching...
No Matches
system_stm32mp1xx.c File Reference

CMSIS Cortex Device Peripheral Access Layer System Source File. More...

#include "stm32mp1xx.h"

Macros

#define VECT_TAB_OFFSET   0x00
 

Functions

void SystemInit (void)
 Setup the microcontroller system Initialize the FPU setting, vector table location and External memory configuration.
 
void SystemCoreClockUpdate (void)
 Update SystemCoreClock variable according to Clock Register Values.
 

Variables

uint32_t SystemCoreClock = HSI_VALUE
 

Detailed Description

CMSIS Cortex Device Peripheral Access Layer System Source File.

Author
MCD Application Team

This file provides two functions and one global variable to be called from user application:

  • SystemInit(): This function is called at startup just after reset and before branch to main program. This call is made inside the "startup_stm32mp1xx.s" file.
  • SystemCoreClock variable: Contains the core clock frequency, it can be used by the user application to setup the SysTick timer or configure other parameters.
  • SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must be called whenever the core clock is changed during program execution.
Attention

Copyright (c) 2019 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.