STM32F103xB HAL User Manual
Defines | Functions
stm32f1xx_ll_system.h File Reference

Header file of SYSTEM LL module. More...

#include "stm32f1xx.h"

Go to the source code of this file.

Defines

#define LL_DBGMCU_TRACE_NONE   0x00000000U
#define LL_DBGMCU_TRACE_ASYNCH   DBGMCU_CR_TRACE_IOEN
#define LL_DBGMCU_TRACE_SYNCH_SIZE1   (DBGMCU_CR_TRACE_IOEN | DBGMCU_CR_TRACE_MODE_0)
#define LL_DBGMCU_TRACE_SYNCH_SIZE2   (DBGMCU_CR_TRACE_IOEN | DBGMCU_CR_TRACE_MODE_1)
#define LL_DBGMCU_TRACE_SYNCH_SIZE4   (DBGMCU_CR_TRACE_IOEN | DBGMCU_CR_TRACE_MODE)
#define LL_DBGMCU_APB1_GRP1_TIM2_STOP   DBGMCU_CR_DBG_TIM2_STOP
#define LL_DBGMCU_APB1_GRP1_TIM3_STOP   DBGMCU_CR_DBG_TIM3_STOP
#define LL_DBGMCU_APB1_GRP1_TIM4_STOP   DBGMCU_CR_DBG_TIM4_STOP
#define LL_DBGMCU_APB1_GRP1_WWDG_STOP   DBGMCU_CR_DBG_WWDG_STOP
#define LL_DBGMCU_APB1_GRP1_IWDG_STOP   DBGMCU_CR_DBG_IWDG_STOP
#define LL_DBGMCU_APB1_GRP1_I2C1_STOP   DBGMCU_CR_DBG_I2C1_SMBUS_TIMEOUT
#define LL_DBGMCU_APB1_GRP1_I2C2_STOP   DBGMCU_CR_DBG_I2C2_SMBUS_TIMEOUT
#define LL_DBGMCU_APB1_GRP1_CAN1_STOP   DBGMCU_CR_DBG_CAN1_STOP
#define LL_DBGMCU_APB2_GRP1_TIM1_STOP   DBGMCU_CR_DBG_TIM1_STOP
#define LL_FLASH_LATENCY_0   0x00000000U
#define LL_FLASH_LATENCY_1   FLASH_ACR_LATENCY_0
#define LL_FLASH_LATENCY_2   FLASH_ACR_LATENCY_1

Functions

__STATIC_INLINE uint32_t LL_DBGMCU_GetDeviceID (void)
 Return the device identifier.
__STATIC_INLINE uint32_t LL_DBGMCU_GetRevisionID (void)
 Return the device revision identifier.
__STATIC_INLINE void LL_DBGMCU_EnableDBGSleepMode (void)
 Enable the Debug Module during SLEEP mode.
__STATIC_INLINE void LL_DBGMCU_DisableDBGSleepMode (void)
 Disable the Debug Module during SLEEP mode.
__STATIC_INLINE void LL_DBGMCU_EnableDBGStopMode (void)
 Enable the Debug Module during STOP mode.
__STATIC_INLINE void LL_DBGMCU_DisableDBGStopMode (void)
 Disable the Debug Module during STOP mode.
__STATIC_INLINE void LL_DBGMCU_EnableDBGStandbyMode (void)
 Enable the Debug Module during STANDBY mode.
__STATIC_INLINE void LL_DBGMCU_DisableDBGStandbyMode (void)
 Disable the Debug Module during STANDBY mode.
__STATIC_INLINE void LL_DBGMCU_SetTracePinAssignment (uint32_t PinAssignment)
 Set Trace pin assignment control.
__STATIC_INLINE uint32_t LL_DBGMCU_GetTracePinAssignment (void)
 Get Trace pin assignment control.
__STATIC_INLINE void LL_DBGMCU_APB1_GRP1_FreezePeriph (uint32_t Periphs)
 Freeze APB1 peripherals (group1 peripherals)
__STATIC_INLINE void LL_DBGMCU_APB1_GRP1_UnFreezePeriph (uint32_t Periphs)
 Unfreeze APB1 peripherals (group1 peripherals)
__STATIC_INLINE void LL_DBGMCU_APB2_GRP1_FreezePeriph (uint32_t Periphs)
 Freeze APB2 peripherals.
__STATIC_INLINE void LL_DBGMCU_APB2_GRP1_UnFreezePeriph (uint32_t Periphs)
 Unfreeze APB2 peripherals.
__STATIC_INLINE void LL_FLASH_SetLatency (uint32_t Latency)
 Set FLASH Latency.
__STATIC_INLINE uint32_t LL_FLASH_GetLatency (void)
 Get FLASH Latency.
__STATIC_INLINE void LL_FLASH_EnablePrefetch (void)
 Enable Prefetch.
__STATIC_INLINE void LL_FLASH_DisablePrefetch (void)
 Disable Prefetch.
__STATIC_INLINE uint32_t LL_FLASH_IsPrefetchEnabled (void)
 Check if Prefetch buffer is enabled.
__STATIC_INLINE void LL_FLASH_EnableHalfCycleAccess (void)
 Enable Flash Half Cycle Access.
__STATIC_INLINE void LL_FLASH_DisableHalfCycleAccess (void)
 Disable Flash Half Cycle Access.
__STATIC_INLINE uint32_t LL_FLASH_IsHalfCycleAccessEnabled (void)
 Check if Flash Half Cycle Access is enabled or not.

Detailed Description

Header file of SYSTEM LL module.

Author:
MCD Application Team
  ==============================================================================
                     ##### How to use this driver #####
  ==============================================================================
    [..]
    The LL SYSTEM driver contains a set of generic APIs that can be
    used by user:
      (+) Some of the FLASH features need to be handled in the SYSTEM file.
      (+) Access to DBGCMU registers
      (+) Access to SYSCFG registers

  
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_system.h.