system_stm32f1xx.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /**
  2. ******************************************************************************
  3. * @file system_stm32f1xx.h
  4. * @author MCD Application Team
  5. * @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Header File.
  6. ******************************************************************************
  7. * @attention
  8. *
  9. * Copyright (c) 2017-2021 STMicroelectronics.
  10. * All rights reserved.
  11. *
  12. * This software is licensed under terms that can be found in the LICENSE file
  13. * in the root directory of this software component.
  14. * If no LICENSE file comes with this software, it is provided AS-IS.
  15. *
  16. ******************************************************************************
  17. */
  18. /** @addtogroup CMSIS
  19. * @{
  20. */
  21. /** @addtogroup stm32f10x_system
  22. * @{
  23. */
  24. /**
  25. * @brief Define to prevent recursive inclusion
  26. */
  27. #ifndef __SYSTEM_STM32F10X_H
  28. #define __SYSTEM_STM32F10X_H
  29. #ifdef __cplusplus
  30. extern "C" {
  31. #endif
  32. /** @addtogroup STM32F10x_System_Includes
  33. * @{
  34. */
  35. /**
  36. * @}
  37. */
  38. /** @addtogroup STM32F10x_System_Exported_types
  39. * @{
  40. */
  41. extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
  42. extern const uint8_t AHBPrescTable[16U]; /*!< AHB prescalers table values */
  43. extern const uint8_t APBPrescTable[8U]; /*!< APB prescalers table values */
  44. /**
  45. * @}
  46. */
  47. /** @addtogroup STM32F10x_System_Exported_Constants
  48. * @{
  49. */
  50. /**
  51. * @}
  52. */
  53. /** @addtogroup STM32F10x_System_Exported_Macros
  54. * @{
  55. */
  56. /**
  57. * @}
  58. */
  59. /** @addtogroup STM32F10x_System_Exported_Functions
  60. * @{
  61. */
  62. extern void SystemInit(void);
  63. extern void SystemCoreClockUpdate(void);
  64. /**
  65. * @}
  66. */
  67. #ifdef __cplusplus
  68. }
  69. #endif
  70. #endif /*__SYSTEM_STM32F10X_H */
  71. /**
  72. * @}
  73. */
  74. /**
  75. * @}
  76. */