Template 1.0
Basic Project based STM32L031
Loading...
Searching...
No Matches
system_stm32l0xx.c File Reference
#include "stm32l0xx.h"

Macros

#define HSE_VALUE   ((uint32_t)8000000U)
 
#define MSI_VALUE   ((uint32_t)2097152U)
 
#define HSI_VALUE   ((uint32_t)16000000U)
 

Functions

void SystemInit (void)
 
void SystemCoreClockUpdate (void)
 

Variables

uint32_t SystemCoreClock = 2097152U
 
const uint8_t AHBPrescTable [16] = { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 1U, 2U, 3U, 4U, 6U, 7U, 8U, 9U }
 
const uint8_t APBPrescTable [8] = { 0U, 0U, 0U, 0U, 1U, 2U, 3U, 4U }
 
const uint8_t PLLMulTable [9] = { 3U, 4U, 6U, 8U, 12U, 16U, 24U, 32U, 48U }
 

Detailed Description

Author
STMicroelectronics
Date
Oct-03-2024
Version
1.0

Macro Definition Documentation

◆ HSE_VALUE

#define HSE_VALUE   ((uint32_t)8000000U)

Copyright (c) 2016 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. Value of the External oscillator in Hz

◆ HSI_VALUE

#define HSI_VALUE   ((uint32_t)16000000U)

Value of the Internal oscillator in Hz

◆ MSI_VALUE

#define MSI_VALUE   ((uint32_t)2097152U)

Value of the Internal oscillator in Hz

Function Documentation

◆ SystemCoreClockUpdate()

void SystemCoreClockUpdate ( void )

◆ SystemInit()

void SystemInit ( void )

Variable Documentation

◆ AHBPrescTable

const uint8_t AHBPrescTable[16] = { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 1U, 2U, 3U, 4U, 6U, 7U, 8U, 9U }

◆ APBPrescTable

const uint8_t APBPrescTable[8] = { 0U, 0U, 0U, 0U, 1U, 2U, 3U, 4U }

◆ PLLMulTable

const uint8_t PLLMulTable[9] = { 3U, 4U, 6U, 8U, 12U, 16U, 24U, 32U, 48U }

◆ SystemCoreClock

uint32_t SystemCoreClock = 2097152U