STM32L486xx HAL User Manual
Data Structures | Defines | Functions
stm32l4xx_ll_utils.h File Reference

Header file of UTILS LL module. More...

#include "stm32l4xx.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...

Defines

#define LL_MAX_DELAY   0xFFFFFFFFU
#define UID_BASE_ADDRESS   UID_BASE
 Unique device ID register base address.
#define FLASHSIZE_BASE_ADDRESS   FLASHSIZE_BASE
 Flash size data register base address.
#define PACKAGE_BASE_ADDRESS   PACKAGE_BASE
 Package data register base address.
#define LL_UTILS_HSEBYPASS_OFF   0x00000000U
#define LL_UTILS_HSEBYPASS_ON   0x00000001U
#define LL_UTILS_PACKAGETYPE_LQFP64   0x00000000U
#define LL_UTILS_PACKAGETYPE_WLCSP64   0x00000001U
#define LL_UTILS_PACKAGETYPE_LQFP100   0x00000002U
#define LL_UTILS_PACKAGETYPE_BGA132   0x00000003U
#define LL_UTILS_PACKAGETYPE_LQFP144_CSP72   0x00000004U
#define LL_UTILS_PACKAGETYPE_UFQFPN32   0x00000008U
#define LL_UTILS_PACKAGETYPE_UFQFPN48   0x0000000AU
#define LL_UTILS_PACKAGETYPE_LQFP48   0x0000000BU
#define LL_UTILS_PACKAGETYPE_WLCSP49   0x0000000CU
#define LL_UTILS_PACKAGETYPE_UFBGA64   0x0000000DU
#define LL_UTILS_PACKAGETYPE_UFBGA100   0x0000000EU
#define LL_UTILS_PACKAGETYPE_UFBGA169   0x00000010U
#define LL_UTILS_PACKAGETYPE_LQFP100_DSI   0x00000012U
#define LL_UTILS_PACKAGETYPE_WLCSP144_DSI   0x00000013U
#define LL_UTILS_PACKAGETYPE_UFBGA144_DSI   0x00000013U
#define LL_UTILS_PACKAGETYPE_UFBGA169_DSI   0x00000014U
#define LL_UTILS_PACKAGETYPE_LQFP144_DSI   0x00000015U

Functions

__STATIC_INLINE uint32_t LL_GetUID_Word0 (void)
 Get Word0 of the unique device identifier (UID based on 96 bits)
__STATIC_INLINE uint32_t LL_GetUID_Word1 (void)
 Get Word1 of the unique device identifier (UID based on 96 bits)
__STATIC_INLINE uint32_t LL_GetUID_Word2 (void)
 Get Word2 of the unique device identifier (UID based on 96 bits)
__STATIC_INLINE uint32_t LL_GetFlashSize (void)
 Get Flash memory size.
__STATIC_INLINE uint32_t LL_GetPackageType (void)
 Get Package type.
__STATIC_INLINE void LL_InitTick (uint32_t HCLKFrequency, uint32_t Ticks)
 This function configures the Cortex-M SysTick source of the time base.
void LL_Init1msTick (uint32_t HCLKFrequency)
 This function configures the Cortex-M SysTick source to have 1ms time base.
void LL_mDelay (uint32_t Delay)
 This function provides accurate delay (in milliseconds) based on SysTick counter flag.
void LL_SetSystemCoreClock (uint32_t HCLKFrequency)
 This function sets directly SystemCoreClock CMSIS variable.
ErrorStatus LL_PLL_ConfigSystemClock_MSI (LL_UTILS_PLLInitTypeDef *UTILS_PLLInitStruct, LL_UTILS_ClkInitTypeDef *UTILS_ClkInitStruct)
 This function configures system clock with MSI as clock source of the PLL.
ErrorStatus LL_PLL_ConfigSystemClock_HSI (LL_UTILS_PLLInitTypeDef *UTILS_PLLInitStruct, LL_UTILS_ClkInitTypeDef *UTILS_ClkInitStruct)
 This function configures system clock at maximum frequency with HSI as clock source of the PLL.
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.

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) 2017 STMicroelectronics

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file stm32l4xx_ll_utils.h.