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

Header file of BUS LL module. More...

#include "stm32f1xx.h"

Go to the source code of this file.

Defines

#define LL_AHB1_GRP1_PERIPH_ALL   (uint32_t)0xFFFFFFFFU
#define LL_AHB1_GRP1_PERIPH_CRC   RCC_AHBENR_CRCEN
#define LL_AHB1_GRP1_PERIPH_DMA1   RCC_AHBENR_DMA1EN
#define LL_AHB1_GRP1_PERIPH_FLASH   RCC_AHBENR_FLITFEN
#define LL_AHB1_GRP1_PERIPH_SRAM   RCC_AHBENR_SRAMEN
#define LL_APB1_GRP1_PERIPH_ALL   (uint32_t)0xFFFFFFFFU
#define LL_APB1_GRP1_PERIPH_BKP   RCC_APB1ENR_BKPEN
#define LL_APB1_GRP1_PERIPH_CAN1   RCC_APB1ENR_CAN1EN
#define LL_APB1_GRP1_PERIPH_I2C1   RCC_APB1ENR_I2C1EN
#define LL_APB1_GRP1_PERIPH_I2C2   RCC_APB1ENR_I2C2EN
#define LL_APB1_GRP1_PERIPH_PWR   RCC_APB1ENR_PWREN
#define LL_APB1_GRP1_PERIPH_SPI2   RCC_APB1ENR_SPI2EN
#define LL_APB1_GRP1_PERIPH_TIM2   RCC_APB1ENR_TIM2EN
#define LL_APB1_GRP1_PERIPH_TIM3   RCC_APB1ENR_TIM3EN
#define LL_APB1_GRP1_PERIPH_TIM4   RCC_APB1ENR_TIM4EN
#define LL_APB1_GRP1_PERIPH_USART2   RCC_APB1ENR_USART2EN
#define LL_APB1_GRP1_PERIPH_USART3   RCC_APB1ENR_USART3EN
#define LL_APB1_GRP1_PERIPH_USB   RCC_APB1ENR_USBEN
#define LL_APB1_GRP1_PERIPH_WWDG   RCC_APB1ENR_WWDGEN
#define LL_APB2_GRP1_PERIPH_ALL   (uint32_t)0xFFFFFFFFU
#define LL_APB2_GRP1_PERIPH_ADC1   RCC_APB2ENR_ADC1EN
#define LL_APB2_GRP1_PERIPH_ADC2   RCC_APB2ENR_ADC2EN
#define LL_APB2_GRP1_PERIPH_AFIO   RCC_APB2ENR_AFIOEN
#define LL_APB2_GRP1_PERIPH_GPIOA   RCC_APB2ENR_IOPAEN
#define LL_APB2_GRP1_PERIPH_GPIOB   RCC_APB2ENR_IOPBEN
#define LL_APB2_GRP1_PERIPH_GPIOC   RCC_APB2ENR_IOPCEN
#define LL_APB2_GRP1_PERIPH_GPIOD   RCC_APB2ENR_IOPDEN
#define LL_APB2_GRP1_PERIPH_GPIOE   RCC_APB2ENR_IOPEEN
#define LL_APB2_GRP1_PERIPH_SPI1   RCC_APB2ENR_SPI1EN
#define LL_APB2_GRP1_PERIPH_TIM1   RCC_APB2ENR_TIM1EN
#define LL_APB2_GRP1_PERIPH_USART1   RCC_APB2ENR_USART1EN

Functions

__STATIC_INLINE void LL_AHB1_GRP1_EnableClock (uint32_t Periphs)
 Enable AHB1 peripherals clock.
__STATIC_INLINE uint32_t LL_AHB1_GRP1_IsEnabledClock (uint32_t Periphs)
 Check if AHB1 peripheral clock is enabled or not.
__STATIC_INLINE void LL_AHB1_GRP1_DisableClock (uint32_t Periphs)
 Disable AHB1 peripherals clock.
__STATIC_INLINE void LL_APB1_GRP1_EnableClock (uint32_t Periphs)
 Enable APB1 peripherals clock.
__STATIC_INLINE uint32_t LL_APB1_GRP1_IsEnabledClock (uint32_t Periphs)
 Check if APB1 peripheral clock is enabled or not.
__STATIC_INLINE void LL_APB1_GRP1_DisableClock (uint32_t Periphs)
 Disable APB1 peripherals clock.
__STATIC_INLINE void LL_APB1_GRP1_ForceReset (uint32_t Periphs)
 Force APB1 peripherals reset.
__STATIC_INLINE void LL_APB1_GRP1_ReleaseReset (uint32_t Periphs)
 Release APB1 peripherals reset.
__STATIC_INLINE void LL_APB2_GRP1_EnableClock (uint32_t Periphs)
 Enable APB2 peripherals clock.
__STATIC_INLINE uint32_t LL_APB2_GRP1_IsEnabledClock (uint32_t Periphs)
 Check if APB2 peripheral clock is enabled or not.
__STATIC_INLINE void LL_APB2_GRP1_DisableClock (uint32_t Periphs)
 Disable APB2 peripherals clock.
__STATIC_INLINE void LL_APB2_GRP1_ForceReset (uint32_t Periphs)
 Force APB2 peripherals reset.
__STATIC_INLINE void LL_APB2_GRP1_ReleaseReset (uint32_t Periphs)
 Release APB2 peripherals reset.

Detailed Description

Header file of BUS LL module.

Author:
MCD Application Team
                      ##### RCC Limitations #####
  ==============================================================================
    [..]
      A delay between an RCC peripheral clock enable and the effective peripheral
      enabling should be taken into account in order to manage the peripheral read/write
      from/to registers.
      (+) This delay depends on the peripheral mapping.
        (++) AHB & APB peripherals, 1 dummy read is necessary

    [..]
      Workarounds:
      (#) For AHB & APB peripherals, a dummy read to the peripheral register has been
          inserted in each LL_{BUS}_GRP{x}_EnableClock() function.

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