Advertisement
Guest User

system_stm32f10x.h

a guest
Jan 6th, 2018
624
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 2.35 KB | None | 0 0
  1. /**
  2.   ******************************************************************************
  3.   * @file    system_stm32f10x.h
  4.   * @author  MCD Application Team
  5.   * @version V3.1.2
  6.   * @date    09/28/2009
  7.   * @brief   CMSIS Cortex-M3 Device Peripheral Access Layer System Header File.
  8.   ******************************************************************************  
  9.   *
  10.   * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
  11.   * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
  12.   * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
  13.   * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
  14.   * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
  15.   * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
  16.   *
  17.   * <h2><center>&copy; COPYRIGHT 2009 STMicroelectronics</center></h2>
  18.   ******************************************************************************
  19.   */
  20.  
  21. /** @addtogroup CMSIS
  22.   * @{
  23.   */
  24.  
  25. /** @addtogroup stm32f10x_system
  26.   * @{
  27.   */  
  28.  
  29. /**
  30.   * @brief Define to prevent recursive inclusion
  31.   */
  32. #ifndef __SYSTEM_STM32F10X_H
  33. #define __SYSTEM_STM32F10X_H
  34.  
  35. #ifdef __cplusplus
  36.  extern "C" {
  37. #endif
  38.  
  39. /** @addtogroup STM32F10x_System_Includes
  40.   * @{
  41.   */
  42.  
  43. /**
  44.   * @}
  45.   */
  46.  
  47.  
  48. /** @addtogroup STM32F10x_System_Exported_types
  49.   * @{
  50.   */
  51.  
  52. extern const uint32_t SystemFrequency;          /*!< System Clock Frequency (Core Clock) */
  53. extern const uint32_t SystemFrequency_SysClk;   /*!< System clock                        */
  54. extern const uint32_t SystemFrequency_AHBClk;   /*!< AHB System bus speed                */
  55. extern const uint32_t SystemFrequency_APB1Clk;  /*!< APB Peripheral Bus 1 (low)  speed   */
  56. extern const uint32_t SystemFrequency_APB2Clk;  /*!< APB Peripheral Bus 2 (high) speed   */
  57.  
  58. /**
  59.   * @}
  60.   */
  61.  
  62. /** @addtogroup STM32F10x_System_Exported_Constants
  63.   * @{
  64.   */
  65.  
  66. /**
  67.   * @}
  68.   */
  69.  
  70. /** @addtogroup STM32F10x_System_Exported_Macros
  71.   * @{
  72.   */
  73.  
  74. /**
  75.   * @}
  76.   */
  77.  
  78. /** @addtogroup STM32F10x_System_Exported_Functions
  79.   * @{
  80.   */
  81.  
  82. extern void SystemInit(void);
  83. /**
  84.   * @}
  85.   */
  86.  
  87. #ifdef __cplusplus
  88. }
  89. #endif
  90.  
  91. #endif /*__SYSTEM_STM32F10X_H */
  92.  
  93. /**
  94.   * @}
  95.   */
  96.  
  97. /**
  98.   * @}
  99.   */  
  100. /******************* (C) COPYRIGHT 2009 STMicroelectronics *****END OF FILE****/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement