DIY Logging Volt/Ampmeter
stm32f1xx_ll_utils.h File Reference

Header file of UTILS LL module. More...

#include "stm32f1xx.h"

Go to the source code of this file.

Data Structures

struct  LL_UTILS_PLLInitTypeDef
 UTILS PLL structure definition. More...
 
struct  LL_UTILS_ClkInitTypeDef
 UTILS System, AHB and APB buses clock configuration structure definition. More...
 

Macros

#define LL_MAX_DELAY   0xFFFFFFFFU
 
#define UID_BASE_ADDRESS   UID_BASE
 Unique device ID register base address. More...
 
#define FLASHSIZE_BASE_ADDRESS   FLASHSIZE_BASE
 Flash size data register base address. More...
 
#define LL_UTILS_HSEBYPASS_OFF   0x00000000U
 
#define LL_UTILS_HSEBYPASS_ON   0x00000001U
 

Functions

__STATIC_INLINE uint32_t LL_GetUID_Word0 (void)
 Get Word0 of the unique device identifier (UID based on 96 bits) More...
 
__STATIC_INLINE uint32_t LL_GetUID_Word1 (void)
 Get Word1 of the unique device identifier (UID based on 96 bits) More...
 
__STATIC_INLINE uint32_t LL_GetUID_Word2 (void)
 Get Word2 of the unique device identifier (UID based on 96 bits) More...
 
__STATIC_INLINE uint32_t LL_GetFlashSize (void)
 Get Flash memory size. More...
 
__STATIC_INLINE void LL_InitTick (uint32_t HCLKFrequency, uint32_t Ticks)
 This function configures the Cortex-M SysTick source of the time base. More...
 
void LL_Init1msTick (uint32_t HCLKFrequency)
 This function configures the Cortex-M SysTick source to have 1ms time base. More...
 
void LL_mDelay (uint32_t Delay)
 This function provides accurate delay (in milliseconds) based on SysTick counter flag. More...
 
void LL_SetSystemCoreClock (uint32_t HCLKFrequency)
 This function sets directly SystemCoreClock CMSIS variable. More...
 
ErrorStatus LL_PLL_ConfigSystemClock_HSI (LL_UTILS_PLLInitTypeDef *UTILS_PLLInitStruct, LL_UTILS_ClkInitTypeDef *UTILS_ClkInitStruct)
 Update number of Flash wait states in line with new frequency and current voltage range. More...
 
ErrorStatus LL_PLL_ConfigSystemClock_HSE (uint32_t HSEFrequency, uint32_t HSEBypass, LL_UTILS_PLLInitTypeDef *UTILS_PLLInitStruct, LL_UTILS_ClkInitTypeDef *UTILS_ClkInitStruct)
 This function configures system clock with HSE as clock source of the PLL. More...
 

Detailed Description

Header file of UTILS LL module.

Author
MCD Application Team
==============================================================================
                   ##### How to use this driver #####
==============================================================================
  [..]
  The LL UTILS driver contains a set of generic APIs that can be
  used by user:
    (+) Device electronic signature
    (+) Timing functions
    (+) PLL configuration functions
Attention

© Copyright (c) 2016 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32f1xx_ll_utils.h.